economics
Latest indicators
https://docs.economicsapi.com/endpoints/getlatest
gethttps://api.economicsapi.com/v1/latest
Use country=mexico&indicator=inflation or indicator=unemployment. Common names resolve to one canonical measure, shared with MCP. With no indicator or group, returns common indicators only. Use /v1/indicators?country=mexico to discover available choices.
curl -X GET "https://api.economicsapi.com/v1/latest?country=mexico&indicator=inflation" \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx"Authorization
AuthorizationstringheaderrequiredBearer token. API key from your economicsapi dashboard Format: `Bearer sk_live_xxxxxxxxxxxxxxxxxxxx`.
Query parameters
countrystring | nullCountry name, ISO2/ISO3, slug or group; comma-listable
Example: "mexico"
indicatorstring | nullCommon name (inflation, unemployment), slug, or KPI ID; comma-listable
Example: "inflation"
groupstring | nullindicator group filter, e.g. prices
Response
200Successful Response
application/jsondataLatestCard[]requiredretrieved_atstring<date-time>requiredreproduction_urlstringrequired401Missing or invalid API key
application/jsonerrorstringmessagestringrequest_idstring422Validation Error
application/jsondetailValidationError[]429Rate limit exceeded
application/jsonerrorstringmessagestringrequest_idstring