Timing endpoint
Macro factors
Ready-made growth, inflation and policy factors per economy, built from the releases you already pull.
USD is publicly accessible within the freemium window, on a 15-minute release delay, up to 100 no-key requests per day. Real-time releases, other currencies, deeper history, or higher-volume use require an Individual API key.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.fxmacrodata.com/v1/factors/usd/growth"
import os
import requests
response = requests.get(
"https://api.fxmacrodata.com/v1/factors/usd/growth",
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/factors/usd/growth", {
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/factors/{currency}/{factor} Get a precomputed FX factor for one currency
USD is publicly accessible within the freemium window, on a 15-minute release delay, up to 100 no-key requests per day. Real-time releases, other currencies, deeper history, or higher-volume use require an Individual API key.
Returns a factor series for one explicit currency and one explicit factor. Factor values are precomputed snapshots; component macro indicators are not recalculated per request.
Use /v1/data_catalogue/{currency}?include_capabilities=true for factor discovery metadata.
Authentication: USD factor data is public without an API key. Anonymous requests are subject to a 100 requests/day per-IP fair-use limit. Other currencies require an Individual or Business API key sent in the X-API-Key header.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
| currencyRequired | path | string | Allowed: 34 currencies. |
| factorRequired | path | string | Factor slug, for example monetary_stance. Allowed: monetary_stance. |
| start_date | query | string | Inclusive start date YYYY-MM-DD. With no dates, returns latest only. |
| end_date | query | string | Inclusive end date YYYY-MM-DD. Defaults to today when start_date is supplied. |
| include_components | query | boolean | Include component scores and source observations. Default: false. |
| include_sources | query | boolean | Include FXMacroData source endpoint URLs. Default: false. |
| limit | query | integer | Maximum rows to return. Defaults to 20. Maximum 100. Default: 20. |
| offset | query | integer | Number of rows to skip after most-recent-first ordering. Default: 0. |
| 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 |
|---|---|---|
| methodology_version | string | |
| policy_score_status | string | |
| currency | string | |
| factor | string | |
| methodology | string | |
| as_of | string | |
| score | number | |
| level_score | number | |
| impulse_score | number | |
| rate_repricing_score | number | |
| macro_pressure_score | number | |
| label | string | |
| stance_context | string | |
| latest_available_date | string | |
| last_updated | string | |
| start_date | string | |
| end_date | string | |
| data_quality | object | |
| data_quality.source_freshness | string | |
| data_quality.source_monitoring_complete | boolean | |
| data_quality.known_source_gap | boolean | |
| data_quality.source_checked_at | integer | |
| data_quality.source_check_expires_at | integer | |
| data_quality.latest_published_period | string | |
| data_quality.source_permission_status | string | |
| data_quality.commodity_coverage | object | |
| data_quality.commodity_coverage.scope | string | |
| data_quality.commodity_coverage.requested_start | string | |
| data_quality.commodity_coverage.requested_end | string | |
| data_quality.commodity_coverage.available_start | string | |
| data_quality.commodity_coverage.available_end | string | |
| data_quality.commodity_coverage.input_row_count | integer | |
| data_quality.commodity_coverage.row_count | integer | |
| data_quality.commodity_coverage.distinct_date_count | integer | |
| data_quality.commodity_coverage.duplicate_date_row_count | integer | |
| data_quality.commodity_coverage.excluded_weekend_row_count | integer |
Works well with
Endpoints people use alongside Macro factors
The whole API
All 24 endpoint guides
Rates and markets