Get historical OHLCV prices
Fetches historical OHLCV price bars for a ticker over [start_date, end_date], sourced from Monid’s DefiLlama /equities/v1/ohlcv endpoint (daily bars) and aggregated locally into week/month/year bars when requested. Prices are returned in ascending time order; time is each bar’s end date in UTC.
Deviation from the FD JSON Schema: start_date and end_date are both functionally required here (400 bad_request “start_date and end_date are required” if either is missing) — this server does not compute the FD schema’s documented defaults (“1 year before end_date” / “today”). interval supports day/week/month/year only; the FD schema’s second/minute intervals are not implemented and answer 400. interval_multiplier must be 1 (multi-bar intervals are not implemented).
Authorizations
The caller's own Monid API key (get one at https://monid.ai?fpr=dhruv-15136b). Passed straight through to Monid on every call, so usage bills the caller's own wallet — this is never a shared server-side credential, and the server never logs or stores it. Missing, empty, or malformed values answer 401 unauthorized before any paid call is attempted.
Query Parameters
Uppercase-normalized ticker symbol (1-20 letters/digits/dots/hyphens).
Bar interval. The FD schema also lists second/minute; both answer 400 bad_request here.
day, week, month, year Must be 1 (default). Any other value answers 400 bad_request: multi-bar intervals are not implemented.
1 Start date (YYYY-MM-DD), inclusive. Functionally required (see description).
End date (YYYY-MM-DD), inclusive. Functionally required (see description).
Opaque base64url pagination cursor from a previous response's next_page_url. Omit for the first page.
Response
Real AAPL daily bars captured from our own live API (docs/our-live-samples/prices.json).
Wrapped prices envelope: {"ticker": "...", "prices": [...], "next_page_url": "..."}. Page size is 100 records.