# OpenAPI

The CuteMarkets options API has a published OpenAPI 3.1 specification:

- [OpenAPI JSON](https://cutemarkets.com/openapi.json)

Use it with API clients, code generators, docs tools, or agent frameworks that can ingest OpenAPI.

## Authentication

The spec uses a bearer security scheme for API keys:

```http
Authorization: Bearer YOUR_API_KEY
```

## Scope

The specification covers the documented options data surface:

- option chains and contract snapshots
- contract reference lookups
- historical trades and latest trade
- historical quotes
- aggregate bars, previous-day bars, and open-close snapshots
- SMA, EMA, MACD, and RSI indicators
- ticker search and expiration lookup

## Base URLs

Production:

```text
https://api.cutemarkets.com
```

Local development:

```text
http://localhost:8000
```

## Related docs

- [Overview](/docs)
- [Authentication](/docs/authentication)
- [Error Handling](/docs/errors)
- [Agents.md](/docs/agents)
