# Intraday chart bars for a ticker

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

API: Flowseeker. Credits: 3.

Returns time-bucketed bars aggregating options activity for the
underlying (call/put volume + premium, P/C ratio, bid/ask
execution split) plus the underlying stock price at each
boundary. The same data that powers the chart modal in the
Skylit UI.

## 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`). |
| `interval` | query | string | yes | Trailing window covered by the bars (e.g. `1D`, `7D`, `30D`). |
| `bucket` | query | string | yes | Bucket size. (one of `1min`, `5min`, `10min`, `15min`, `30min`, `1d`, `1w`) |

## Example request

```bash
curl "https://flow-api.skylit.ai/v1/underlying/SPY/chart?interval=1D&bucket=<bucket>" \
  -H "Authorization: Bearer $SKYLIT_API_KEY"
```

## Responses

### 200

Intraday chart bars.

Shape (placeholder values):

```json
{
  "data": [
    {
      "timestamp": "1745418600",
      "timestampEnd": "1745418900",
      "callVolume": 0,
      "putVolume": 0,
      "candleVolume": 0,
      "callPremium": 0,
      "putPremium": 0,
      "candlePremium": 0,
      "stockPrice": 0,
      "pcRatio": 0,
      "avgVolume": 0,
      "avgPremium": 0,
      "chainBidPct": 0,
      "chainAskPct": 0
    }
  ],
  "meta": {
    "timestamp": "string",
    "requestId": "d7574836"
  }
}
```

### 400

Request validation failed.

invalidParam:

```json
{
  "error": {
    "code": "BAD_REQUEST",
    "message": "Invalid parameter 'timeframe': must be one of [1m, 5m, 15m, 1h, 4h, 1d, 1w, 1M]"
  }
}
```

### 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."
  }
}
```
