Agents.md
This page provides a condensed, easily copyable reference of our API endpoints for AI agents and LLMs. Copy all the text below and paste it directly into your AI assistant or agent framework to give it full context of the CuteMarkets API!
Global Context
- Base URL:
https://api.cutemarkets.com/v1/ - Authentication: Pass the API key in the generic Authorization header.
- Example:
Authorization: Bearer YOUR_API_KEY
- Example:
- Response Format: JSON
- OpenAPI:
https://cutemarkets.com/openapi.json
Endpoints
1. Options Market Data
Our core options data allows you to pull entire chains or query specific contracts.
-
Option Chain (
GET https://api.cutemarkets.com/v1/options/chain/{ticker}/)- Purpose: Get the full options chain for a given underlying asset.
- Example:
GET https://api.cutemarkets.com/v1/options/chain/NFLX/?limit=10 - Read More
-
Contract Snapshot (
GET https://api.cutemarkets.com/v1/options/snapshot/{contract_symbol}/)- Purpose: Real-time snapshot of an options contract (prices, greeks, implied volatility).
- Read More
-
Contracts List (
GET https://api.cutemarkets.com/v1/options/contracts/)- Purpose: Search and filter active options contracts. Use query params like
underlying_ticker. - Read More
- Purpose: Search and filter active options contracts. Use query params like
-
Trades (
GET https://api.cutemarkets.com/v1/options/trades/{contract_symbol}/)- Purpose: Fetch historical or real-time trades.
- Read More
-
Quotes (
GET https://api.cutemarkets.com/v1/options/quotes/{contract_symbol}/)- Purpose: Fetch historical or real-time NBBO quotes.
- Read More
-
Aggregates (OHLC) (
GET https://api.cutemarkets.com/v1/options/aggs/{ticker}/)- Purpose: Get minute, hour, or daily bars for options or the underlying ticker.
- Read More
2. Technical Indicators
Fetch calculated technical indicators for any underlying asset.
- SMA:
GET https://api.cutemarkets.com/v1/indicators/sma/{ticker}/ - EMA:
GET https://api.cutemarkets.com/v1/indicators/ema/{ticker}/ - MACD:
GET https://api.cutemarkets.com/v1/indicators/macd/{ticker}/ - RSI:
GET https://api.cutemarkets.com/v1/indicators/rsi/{ticker}/
3. Reference Data
Helper endpoints for lookup tasks.
- Ticker Search (
GET https://api.cutemarkets.com/v1/reference/tickers/)- Purpose: General ticker lookup for equities and indices.
- Read More
- Expirations (
GET https://api.cutemarkets.com/v1/reference/expirations/{ticker}/)- Purpose: Available expiration dates for an underlying ticker.
- Read More
General Agent Tip: When paginating through requests, always look out for a
nextURL in the JSON response payload. See Error Handling for information on 4XX errors.