# List traded expirations for a ticker

`GET https://flow-api.skylit.ai/v1/underlying/{ticker}/expirations`

API: Flowseeker. Credits: 1.

Returns each expiration that traded on `date`, with per-expiration
call/put volume + premium and the unique-contract count.

## Authentication

Send your Skylit API key as a bearer token: `Authorization: Bearer <key>`. No other header is accepted.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ticker` | path | string | yes | Underlying ticker symbol (uppercase, e.g. `SPY`, `AAPL`). |
| `date` | query | string (date) | no | Trading date the request targets, in `YYYY-MM-DD`. Defaults to the current trading date (the most recent session that has settled enough data to be queryable). |

## Example request

```bash
curl "https://flow-api.skylit.ai/v1/underlying/SPY/expirations" \
  -H "Authorization: Bearer $SKYLIT_API_KEY"
```

## Responses

### 200

Expirations with per-expiry totals.

Shape (placeholder values):

```json
{
  "data": [
    {
      "expiration": "string",
      "dte": 0,
      "callVolume": 0,
      "putVolume": 0,
      "callPremium": 0,
      "putPremium": 0,
      "contractCount": 0
    }
  ],
  "meta": {
    "timestamp": "string",
    "requestId": "d7574836"
  }
}
```

### 401

Missing or invalid API key.

missingKey:

```json
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Authentication required"
  }
}
```

### 402

The account's shared Skylit credit balance is lower than this route's cost. Top up to continue. Carries `X-Credits-Remaining: 0`.

Headers: `X-Credits-Remaining`.

outOfCredits:

```json
{
  "error": {
    "code": "insufficient_credits",
    "message": "Out of credits. Top up to continue making requests."
  }
}
```

### 429

Per-minute rate limit exceeded.

Headers: `Retry-After`.

tooFast:

```json
{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Rate limit of 100 req/min exceeded. Retry after 18s."
  }
}
```
