Gold vs DXY correlation
Rebased gold price and US Dollar Index (DXY) series over the requested window, for visualising their (typically inverse) correlation.
Authorizations
Your HayInsights API key (prefixed apk_). Create and manage keys in the
HayInsights dashboard (Account → API keys).
Send it in the X-API-Key header on every request to /openapi/v1/*.
Which data domains you may access and your request quota are both governed by
the subscription plan attached to the key — see the Plans & features and
Rate limits guides.
Query Parameters
Look-back window.
| Value | Description |
|---|---|
1m | Last 1 month |
3m | Last 3 months |
ytd | Year-to-date |
1m, 3m, ytd Response
Rebased gold and DXY series.
Standard success envelope shared by every endpoint. Each operation's response
wrapper extends this (via allOf) and adds a typed data property.
Always true for a successful response.
true
Mirrors the HTTP status code.
200
Rebased gold and US Dollar Index (DXY) series for correlation analysis.
Response metadata. Always present; timestamp is the server time the response was generated.