Releases endpoint
Latest releases
One call returns the newest print of every indicator for a currency, so a dashboard refresh is a single request.
No API key required.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.fxmacrodata.com/v1/announcements/usd/latest"
import os
import requests
response = requests.get(
"https://api.fxmacrodata.com/v1/announcements/usd/latest",
headers={"X-API-Key": os.environ["FXMACRODATA_API_KEY"]},
timeout=30,
)
response.raise_for_status()
print(response.json())
const response = await fetch("https://api.fxmacrodata.com/v1/announcements/usd/latest", {
headers: { "X-API-Key": process.env.FXMACRODATA_API_KEY },
});
const payload = await response.json();
console.log(payload);
What it can do
1 route in this endpoint
Reference
Parameters and response fields
GET /v1/announcements/{currency}/latest Get latest values for all indicators in a currency
No API key required.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
| currencyRequired | path | string | Allowed: 62 currencies. |
| api_key | query | string | Deprecated: legacy query-string API key. Still accepted so existing integrations keep working, but new integrations must send the key in the X-API-Key header (or Authorization: Bearer). A key is required for non-USD, paid-only, or full-history requests. Responses to requests authenticated this way carry a Deprecation header. |
| lang | query | string | Optional language for names and labels, for example es or pt-BR. A regional tag falls back to its base language, and a language that is not yet available returns English with Content-Language: en. Translated fields keep the English text in <field>_original and add a <field>_localized flag. Slugs, field names, codes, dates and values never change. Omit it for English. |
Response fields
| Field | Type | Details |
|---|---|---|
| currency | string | |
| source | string | |
| provenance | object | |
| provenance.publisher | string | |
| provenance.storage | string | |
| provenance.served_by | string | |
| provenance.timestamp_field | string | |
| provenance.value_field | string | |
| as_of | string | |
| count | integer | |
| data[] | object[] | |
| data[].source_attribution | string | |
| data[].source_license | string | |
| data[].source_license_url | string | |
| data[].source_terms_url | string | |
| data[].source_changes | string | |
| data[].source_transformation | string | |
| data[].source_modification_notice | string | |
| data[].source_access_date | string | |
| data[].source_derivative_offer_url | string | |
| data[].license | string | |
| data[].license_url | string | |
| data[].terms | string | |
| data[].source_dataset_metadata_sha256 | string | |
| data[].source_variant_metadata_sha256 | string | |
| data[].source | string | |
| data[].source_revision_code | string | |
| data[].source_revision_status | string | |
| data[].source_vintage | string | |
| data[].source_vintage_kind | string | |
| data[].source_series_name | string | |
| data[].source_vintage_date | string | |
| data[].source_data_updated_at | string | |
| data[].source_modality | string | |
| data[].source_validity_start | string | |
| data[].source_validity_end | string |
Works well with
Endpoints people use alongside Latest releases
The whole API
All 24 endpoint guides
Rates and markets