Releases endpoint
Change feed
Ask only for what changed since your last pull, instead of re-downloading whole series to spot new prints and revisions.
USD release events are available without a key. Non-USD event streams require an Individual API key.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.fxmacrodata.com/v1/announcements/changes"
import os
import requests
response = requests.get(
"https://api.fxmacrodata.com/v1/announcements/changes",
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/changes", {
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/changes Poll recent live announcement release changes
USD release events are available without a key. Non-USD event streams require an Individual API key.
Returns recent live announcement release events from the same durable fanout used by the real-time SSE stream. Use next_cursor as the since value on the next poll. This endpoint is intended for serverless clients that cannot hold a persistent SSE connection.
Authentication: USD events are available without an API key. Non-USD currencies require a paid API key supplied via api_key or X-API-Key.
Free access is delayed. Without an API key this feed is held back by 15 minutes: an event is delivered once it is 15 minutes old, and next_cursor stops at the delay cutoff so nothing is skipped. The response carries a freemium_delay object naming the cutoff, how many events are being withheld, and when the next one becomes available. An Individual or Business API key removes the delay; /v1/stream/events pushes the same events in real time.
Retention: Events are retained for the configured fanout window, currently exposed in retention_seconds. If a client is offline longer than that window, reconcile its stored history from a fresh history export before continuing. Use strict_cursor=true to reject expired cursors with HTTP 410 and future cursors with HTTP 400. This live release feed is not a complete backfill or deletion journal; periodic full-history reconciliation is required for a maintained replica.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
| currencies | query | string | Comma-separated currency codes, g10, or all. Without a paid API key the result is restricted to USD. |
| indicators | query | string | Optional comma-separated announcement indicator slugs. |
| since | query | string | Cursor returned as next_cursor by the previous response. ISO 8601 timestamps and Unix epoch seconds are also accepted. |
| limit | query | integer | Maximum number of matching change events to return. Default: 100. |
| payload | query | string | Use compact for trigger payloads or full for row fields. Default: compact. |
| strict_cursor | query | boolean | Reject an expired cursor (410, snapshot_required) or a future cursor (400). Default: false. |
| 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 |
|---|---|---|
| data[] | object[] | |
| data[].event_id | string | |
| data[].currency | string | |
| data[].indicator | string | |
| data[].records_written | integer | |
| data[].timestamp | integer | |
| data[].release_timestamp | integer | |
| data[].latest_announcement | object | The announcement row carried by a release event. Additional fields may appear as the announcement data model grows; clients should ignore fields they do not recognise. |
| data[].latest_announcement.source_attribution | string | |
| data[].latest_announcement.source_license | string | |
| data[].latest_announcement.source_license_url | string | |
| data[].latest_announcement.source_terms_url | string | |
| data[].latest_announcement.source_changes | string | |
| data[].latest_announcement.source_transformation | string | |
| data[].latest_announcement.source_modification_notice | string | |
| data[].latest_announcement.source_access_date | string | |
| data[].latest_announcement.source_derivative_offer_url | string | |
| data[].latest_announcement.license | string | |
| data[].latest_announcement.license_url | string | |
| data[].latest_announcement.terms | string | |
| data[].latest_announcement.source_dataset_metadata_sha256 | string | |
| data[].latest_announcement.source_variant_metadata_sha256 | string | |
| data[].latest_announcement.source | string | |
| data[].latest_announcement.source_revision_code | string | |
| data[].latest_announcement.source_revision_status | string | |
| data[].latest_announcement.source_vintage | string | |
| data[].latest_announcement.source_vintage_kind | string | |
| data[].latest_announcement.source_series_name | string | |
| data[].latest_announcement.source_vintage_date | string | |
| data[].latest_announcement.source_data_updated_at | string | |
| data[].latest_announcement.source_modality | string | |
| data[].latest_announcement.source_validity_start | string | |
| data[].latest_announcement.source_validity_end | string | |
| data[].latest_announcement.source_resolution_id | string | |
| data[].latest_announcement.source_resolution_date | string | |
| data[].latest_announcement.source_interval_overlaps_next_certificate | boolean |
Works well with
Endpoints people use alongside Change feed
The whole API
All 24 endpoint guides
Rates and markets