# Agent Hub Macroeconomic Indicators

> Agent Hub Macroeconomic Indicators is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Returns macroeconomic indicators for any country (GDP, inflation, unemployment, debt, etc.) from IMF World Economic Outlook, World Bank, and ECB data sources, including forecasts.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/economy?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-macroeconomic-indicators-7bd5e3df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5fYWiEeCAOxP9UiR1U3W4

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 agent-hub-macroeconomic-indicators-7bd5e3df
```

Example prompt: Pull the GDP growth, inflation, and unemployment rates for Germany from 2015 to 2024 — include IMF forecasts if available.

## When to prefer this

Choose this endpoint when you need standardized macroeconomic indicators for any country, especially when you need IMF World Economic Outlook data including forecasts, or when you want World Bank and ECB supplementary indicators in a single call. Prefer this over generic web search when you need structured, time-series economic data with consistent units and sourcing.

## Known failure modes

- Invalid or unsupported country ISO code returns an error or empty result
- Requested indicator not available for a given country or year range returns null/missing values
- Year range outside available data returns partial or empty series
- Missing required 'country' query parameter returns a 400-level error
- Network or upstream IMF/World Bank API unavailability may cause timeouts

## 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 object containing time-series macroeconomic data for the requested country, with one object per indicator per year, sourced from IMF WEO, World Bank, and ECB datasets. Includes both historical data and IMF forecasts where available.

## 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/agent-hub-macroeconomic-indicators-7bd5e3df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
