Endpoints / get-benchmarks
Benchmark OHLCV
GET
/api/v1/benchmarksdeveloperreadDaily OHLCV for benchmarks (SPY / XLI / ITA today).
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| ticker | string | yes | Benchmark ticker |
| from | date | no | Lower bound |
| to | date | no | Upper bound |
Examples
curl -H "x-api-key: $INTELLIGENCE_API_KEY" \
"https://intelligence-beryl.vercel.app/api/v1/benchmarks?ticker=SPY"Responses
200OHLCV array