# PayAI IMF World Economic Outlook Macro Forecast

> PayAI IMF World Economic Outlook Macro Forecast is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns IMF World Economic Outlook forecasts (real GDP growth, inflation, nominal GDP, GDP per capita, government debt, current account, unemployment) for a given country including projected future years.

## Facts

- Endpoint: GET https://payai.agentstools.dev/macro/forecast
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payai-imf-world-economic-outlook-macro-forecast-a2df3d96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b2OS8irZdqyOzLcGMZDFl

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 payai-imf-world-economic-outlook-macro-forecast-a2df3d96
```

Example prompt: Pull the IMF World Economic Outlook forecasts for Brazil — I want real GDP growth, inflation, government debt, and unemployment including projected years.

## When to prefer this

Use this endpoint when you need IMF-sourced macroeconomic forecasts and projections for a specific country, including future-year outlooks. Prefer this over a general macro basket endpoint when you want forward-looking WEO projections rather than current snapshot indicators. Best for sovereign economic analysis, cross-country comparisons, or when IMF citation is required.

## Known failure modes

- Country not recognized — invalid ISO-2, ISO-3, or country name returns an error
- Invalid indicator key in comma-separated list returns an error or is silently skipped
- IMF WEO data not available for very small or disputed territories
- Payment failure: 402 response if x402 payment not completed
- Stale data if IMF WEO database has not been updated since last release

## How this service works

IMF World Economic Outlook forecasts for a country: real GDP growth, inflation, nominal GDP, GDP per capita, government debt, current account and unemployment, including projected future years. Values are cited to the IMF WEO.

## Output

A structured object containing IMF WEO forecast values for the requested country across indicators such as real GDP growth, inflation, nominal GDP, GDP per capita, government debt as % of GDP, current account balance as % of GDP, and unemployment — with values cited to the IMF WEO source and covering historical and projected future years.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "country": {
       "type": "string",
       "description": "A single country as ISO-2, ISO-3 or name"
      },
      "indicators": {
       "type": "string",
       "examples": [
        "real_gdp_growth",
        "inflation",
        "gdp_usd",
        "gdp_per_capita_usd",
        "govt_debt_gdp",
        "current_account_gdp",
        "unemployment"
       ],
       "description": "Comma-separated forecast keys (default all)"
      }
     }
    }
   },
   "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/payai-imf-world-economic-outlook-macro-forecast-a2df3d96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
