Skip to main content
GET
/
openapi
/
v1
/
fx
/
summary
FX summary
curl --request GET \
  --url https://api.hayinsights.com/openapi/v1/fx/summary \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "statusCode": 200,
  "data": {
    "dxy": {
      "value": 100.76,
      "changePct": 0.14,
      "asOf": "2026-06-19",
      "source": "https://github.com/finhay/hayinsights/blob/master/docs/methodologies/fx.md"
    },
    "usdJpy": {
      "value": 161.35,
      "changePct": 0.03,
      "asOf": "2026-06-19",
      "source": "https://github.com/finhay/hayinsights/blob/master/docs/methodologies/fx.md"
    },
    "emStress": {
      "level": "PANIC",
      "score": 4,
      "panicCount": 0,
      "warningCount": 4
    }
  },
  "meta": {
    "timestamp": "2026-06-19T08:50:42.282Z"
  }
}

Authorizations

X-API-Key
string
header
required

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.

Response

FX summary snapshot.

Standard success envelope shared by every endpoint. Each operation's response wrapper extends this (via allOf) and adds a typed data property.

success
boolean
required

Always true for a successful response.

Example:

true

statusCode
integer
required

Mirrors the HTTP status code.

Example:

200

data
object
required

FX dashboard summary — the US Dollar Index (DXY), the USD/JPY rate and a headline emerging-market stress reading.

meta
object

Response metadata. Always present; timestamp is the server time the response was generated.