# Get options chain (v1)

Returns the calls and puts for one expiration, with bid, ask, volume, open interest and implied volatility, plus every listed expiration date. `data` is null for an unknown ticker.

- Platform: Yahoo Finance
- Request: `GET https://api.toolzerhub.com/v1/yahoo-finance/options`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/yahoo-finance/options/get-yahoo-finance-options

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `symbol` | query | yes | string | A Yahoo Finance ticker such as AAPL, BRK-B, RELIANCE.NS, ^GSPC, BTC-USD or EURUSD=X, or its finance.yahoo.com quote link. Find a ticker by company name with Search. |
| `expiration` | query | no | string | Expiration date (YYYY-MM-DD) from expiration_dates in an earlier answer. Omit for the nearest expiration. A date with no contracts returns empty calls and puts. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/yahoo-finance/options?symbol=<symbol>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
