[DEPRECATED — use /v1/bars] Aggregated close history for a symbol — interval ∈ {1d, 1h}.
Changed onDispatch to the per-interval handler. The handler is the Module Interface; per-interval helpers are Deep Modules hiding the interval-specific policy + storage shape.
DEPRECATED in favour of /v1/bars (C4). This endpoint retains the legacy close-only series[] wire shape for backward compatibility. Deprecation + Sunset + Link headers are injected on every 200 response (and on 403 plan_gated, where the caller may need to upgrade before migrating). The sunset DATE is founder-controlled (see config prices_history_sunset_date) — NOT hardcoded here.
Request
- Base URLhttps://api.goldprice.dev
- URLhttps://api.goldprice.dev/v1/prices/history
- Auth
- none
- or HTTP bearer
- or API key in header X-API-Key
Query parameters
Response
Success. See Deprecation + Sunset + Link headers.
Changes
- warning
removed the optional property
from the response with the status - info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
the endpoint scheme security
BearerAuthwas added to the API - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning