> For the complete documentation index, see [llms.txt](https://docs.sealsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealsecurity.io/legacy-documentation/apis.md).

# APIs

### Welcome to the API Documentation

This API provides a simple and direct way to query the Seal platform for existing vulnerable and sealed packages.

Our goal is to make this process as straightforward as possible for developers.

#### How it Works

The API is a **RESTful** service that accepts and returns **JSON** data.

#### Authentication

To use the Seal API, you will need to authenticate your requests. You will need a [token](/legacy-documentation/artifact-server/generating-a-token.md) to the Seal server - the same token used to download artifacts. Requests are authenticated using a Bearer Token in the `Authorization` header.

#### Making Your First Request

Here's a quick example of how to use our API:

**Example Request (using cURL):**

Bash

```
curl --location 'https://external.sealsecurity.io/authenticated/api/v1/packages/vulnerable?limit=2' \
--header 'Authorization: Bearer $TOKEN'
```

In the command above, replace `$TOKEN` with your access token to the Seal server.
