# AgentRXI Macroeconomic Indicators

> AgentRXI Macroeconomic Indicators is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-15).

Fetches macroeconomic indicators (GDP, inflation, unemployment, debt, and more) for any country using IMF World Economic Outlook data, World Bank data, and ECB policy rates, with historical and forecast coverage.

## Facts

- Endpoint: GET https://agentrxi.com/v1/economy?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-macroeconomic-indicators-01b7f79c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MS0RF9XGdfTlFM2WXe4Ea

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentrxi-macroeconomic-indicators-01b7f79c
```

Example prompt: Pull the GDP growth, inflation, and unemployment rates for Japan from 2015 to 2024, including any IMF forecasts available.

## When to prefer this

Choose this endpoint when you need authoritative, structured macroeconomic time-series data for any country — including IMF forecasts — without scraping or parsing reports yourself. It is ideal for country comparison, economic research, investment analysis, and policy monitoring. Prefer it over general web search when you need structured numeric data across consistent indicator definitions and multiple years. It covers a broader indicator set than most free REST country-data APIs, and includes forward-looking IMF forecasts alongside World Bank and ECB data.

## Known failure modes

- Missing or invalid country ISO code returns an error — must use standard codes like US, DE, JPN
- Unsupported indicator name in the comma-separated list may return empty or partial data
- Date range outside available historical or forecast window may return incomplete results
- ECB policy rate only meaningful for eurozone countries; requesting it for non-euro countries may return null or empty
- Network or upstream IMF/World Bank data unavailability may cause transient failures

## How this service works

Macroeconomic indicators for any country: GDP growth, inflation, unemployment, GDP, GDP per capita, government debt, budget balance, current account and population (IMF World Economic Outlook, including forecasts), plus World Bank interest rates, exports, FDI and more; ECB policy rate for euro countries.

## Output

A structured JSON response containing one or more macroeconomic indicators for the requested country, organized by year. Each indicator (e.g. GDP growth, inflation, unemployment) is keyed by its name and contains annual values across the requested date range, including IMF forecast years where available. Source attribution (IMF, World Bank, ECB) is implicit per indicator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "to": {
       "type": "integer"
      },
      "from": {
       "type": "integer"
      },
      "country": {
       "type": "string",
       "description": "ISO code, e.g. US, CA, DE, JPN"
      },
      "indicators": {
       "type": "string",
       "description": "Comma list: gdp_growth, inflation, unemployment, gdp_usd_billions, gdp_per_capita_usd, government_debt_pct_gdp, budget_balance_pct_gdp, current_account_pct_gdp, population_millions, lending_rate, real_interest_rate, exports_pct_gdp, fdi_inflows_usd, internet_users_pct, life_expectancy"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-macroeconomic-indicators-01b7f79c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
