Context endpoint
Organisations
Look up any publisher or central bank and the series it produces, with citation links.
No API key required.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.fxmacrodata.com/v1/organisations"
import os
import requests
response = requests.get(
"https://api.fxmacrodata.com/v1/organisations",
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/organisations", {
headers: { "X-API-Key": process.env.FXMACRODATA_API_KEY },
});
const payload = await response.json();
console.log(payload);
What it can do
3 routes in this endpoint
Search Organisations
Find up to ten public organisation references by name or service, with optional category filtering and canonical citation URLs.
GET/v1/organisations/{slug}Organisation Profile
Read one published organisation summary with services, identity type, original sources and an FXMacroData citation URL.
GET/v1/source_metadata/{currency}/{sha256}Get the original source definition for a series
Return one original source definition, including the publisher's complete footnotes and field types, addressed by the SHA256 shown in the data catalogue. The SHA256 verifies the metadata object serialized as compact UTF-8 JSON with sorted keys.
Reference
Parameters and response fields
GET /v1/organisations Search Organisations
No API key required.
Find up to ten public organisation references by name or service, with optional category filtering and canonical citation URLs.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
| qRequired | query | string | |
| category | query | string | |
| limit | query | integer | Default: 10. |
GET /v1/organisations/{slug} Organisation Profile
No API key required.
Read one published organisation summary with services, identity type, original sources and an FXMacroData citation URL.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
| slugRequired | path | string |
GET /v1/source_metadata/{currency}/{sha256} Get the original source definition for a series
No API key required.
Return one original source definition, including the publisher's complete footnotes and field types, addressed by the SHA256 shown in the data catalogue. The SHA256 verifies the metadata object serialized as compact UTF-8 JSON with sorted keys.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
| currencyRequired | path | string | Three-letter currency code of the catalogue entry, for example USD. Allowed: 62 currencies. |
| sha256Required | path | string | Lowercase 64-character SHA256 from a data catalogue row. |
| 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. |
Response fields
| Field | Type | Details |
|---|---|---|
| schema_version | string | |
| currency | string | |
| kind | string | |
| sha256 | string | |
| table | string | |
| metadata | object |
Works well with
Endpoints people use alongside Organisations
The whole API
All 24 endpoint guides
Rates and markets