List predictions for one indicator of a currency
Returns every available prediction for the requested currency/indicator pair. Each row is stamped with its original generated_at and full source provenance (real archived vintage vs FXMacroData's own live-generated forecast, never reconstructed with later data). Per-source archive start dates and market-consensus coverage vary by indicator: see https://fxmacrodata.com/documentation/point-in-time-backtesting for the exact earliest date per source and indicator before assuming multi-year depth exists for every series.
Authentication: this endpoint requires an API key on every currency, including USD. Anonymous callers receive 401 api_key_required. A 14-day free trial at https://fxmacrodata.com/subscribe opens the full history on every supported currency.
Request
- Base URL: https://api.fxmacrodata.com
- URL: https://api.fxmacrodata.com/v1/predictions/{currency}/{indicator}
- Auth: one of:
- none
- API key in header X-API-Key
- HTTP bearer
Path parameters
Required path parameter. Allowed values: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD.
Indicator slug
Required path parameter. Indicator slug Allowed values: afe_dollar_index, average_hourly_earnings, average_hourly_earnings_mom, balance_on_goods, balance_on_services, bgcr, breakeven_inflation_rate, broad_dollar_index, broad_money, building_approvals, building_permits, business_confidence, capital_account_balance, cb_assets, commodity_price_energy, commodity_price_ex_energy, commodity_price_index, commodity_prices, consumer_confidence, core_inflation, core_inflation_median, core_inflation_mom, core_inflation_trim, core_pce, core_pce_mom, credit_growth, crude_oil_inventories, current_account_balance, dairy_exports, deposit_rates, durable_goods_orders, effr, eme_dollar_index, employment, exports, financial_account_balance, foreign_reserves, full_time_employment, fx_reserves, gdp, gdp_growth_q4_yoy, gold_reserves, gov_bond_10y, gov_bond_15y, gov_bond_1_5m, gov_bond_1m, gov_bond_1y, gov_bond_20y, gov_bond_25y, gov_bond_2m, gov_bond_2y, gov_bond_30y, gov_bond_3m, gov_bond_3y, gov_bond_40y, gov_bond_4m, gov_bond_4y, gov_bond_5y, gov_bond_6m, gov_bond_6y, gov_bond_7y, gov_bond_8y, gov_bond_9y, government_debt, house_price_index, house_prices, household_credit, household_spending, housing_starts, import_prices, imports, industrial_production, inflation, inflation_linked_bond, inflation_mom, initial_jobless_claims, international_assets, international_liabilities, job_openings, m1, m2, m3, nairu, natural_gas_storage, net_foreign_asset_position, non_farm_payrolls, non_farm_payrolls_change, obfr, part_time_employment, participation_rate, pce, pce_mom, policy_rate, policy_rate_midpoint, policy_rate_mlf, policy_rate_mro, policy_rate_target_lower, ppi, primary_income_balance, productivity, real_yield_20y, real_yield_30y, real_yield_5y, real_yield_7y, retail_sales, retail_sales_control_group, retail_sales_ex_autos, retail_sales_ex_autos_and_gas, risk_free_rate, secondary_income_balance, sight_deposits, snb_balance_sheet, sofr_average_180d, sofr_average_30d, sofr_average_90d, sofr_index, terms_of_trade, tgcr, trade_balance, trade_weighted_index, trimmed_mean_inflation, unemployment, wage_price_index, wages.
Query parameters
Filter by how the forecast was produced. Prefer this over prediction_type: one class can span several legacy types, which is how forecaster_survey returns both the ECB and Philadelphia Fed Surveys of Professional Forecasters.
Optional query parameter. Filter by how the forecast was produced. Prefer this over prediction_type: one class can span several legacy types, which is how forecaster_survey returns both the ECB and Philadelphia Fed Surveys of Professional Forecasters.
Optional legacy prediction-type filter, retained unchanged for existing clients. Superseded by prediction_class.
Optional query parameter. Optional legacy prediction-type filter, retained unchanged for existing clients. Superseded by prediction_class.
Optional source identifier filter.
Optional query parameter. Optional source identifier filter.
Maximum rows in official_forecasts (native-period official forecasts and surveys). 0 omits them.
Optional query parameter. Maximum rows in official_forecasts (native-period official forecasts and surveys). 0 omits them.
Return only forecasts with generated_at strictly before the linked announcement_datetime (default: true). FXMacroData only publishes forecasts generated before the announcement, so this flag is informational: setting it to false does not return additional rows.
Optional query parameter. Return only forecasts with generated_at strictly before the linked announcement_datetime (default: true). FXMacroData only publishes forecasts generated before the announcement, so this flag is informational: setting it to false does not return additional rows.
Optional seasonal adjustment selector, matching /v1/announcements.
Optional query parameter. Optional seasonal adjustment selector, matching /v1/announcements. Allowed values: sa, nsa.
Optional returned change basis selector, matching /v1/announcements.
Optional query parameter. Optional returned change basis selector, matching /v1/announcements. Allowed values: level, yoy, qoq, mom.
Optional annualization selector, matching /v1/announcements.
Optional query parameter. Optional annualization selector, matching /v1/announcements. Allowed values: not_annualized, saar.
Optional period aggregation selector, matching /v1/announcements.
Optional query parameter. Optional period aggregation selector, matching /v1/announcements. Allowed values: monthly, quarterly_average.
Optional real/nominal selector, matching /v1/announcements.
Optional query parameter. Optional real/nominal selector, matching /v1/announcements. Allowed values: real, nominal.
Start date YYYY-MM-DD (period date). Defaults to 180 days before today when omitted.
Optional query parameter. Start date YYYY-MM-DD (period date). Defaults to 180 days before today when omitted.
End date YYYY-MM-DD (period date). Defaults to 90 days ahead when omitted.
Optional query parameter. End date YYYY-MM-DD (period date). Defaults to 90 days ahead when omitted.
Maximum number of prediction groups to return in data[]. Use with offset to page through long histories. Defaults to 20. Maximum 100.
Optional query parameter. Maximum number of prediction groups to return in data[]. Use with offset to page through long histories. Defaults to 20. Maximum 100.
Number of prediction groups to skip from the start of data[]. Use with limit for pagination. Defaults to 0.
Optional query parameter. Number of prediction groups to skip from the start of data[]. Use with limit for pagination. Defaults to 0.
One-based page number. When supplied, it takes precedence over offset.
Optional query parameter. One-based page number. When supplied, it takes precedence over offset.
Return groups strictly before this YYYY-MM-DD period date. Use the previous response's next_cursor for bounded pagination.
Optional query parameter. Return groups strictly before this YYYY-MM-DD period date. Use the previous response's next_cursor for bounded pagination.
Optional query parameter.
Optional query parameter.
Your Individual or Business API key
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
Successful Response
Example response
{
"data": [
{
"announcement_id": "usd_inflation_2026-01-31"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.