# World Bank GDP Growth Trend Analyzer

> World Bank GDP Growth Trend Analyzer is a paid API for AI agents from world-bank.x402tookit.com, paid per call via x402, $0.02/call, status down (last checked 2026-10-24).

Returns a country's GDP growth record over 5–30 years, including average, best, worst years, recession years, and volatility.

## Facts

- Endpoint: GET https://world-bank.x402tookit.com/growth-trend?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/world-bank-gdp-growth-trend-analyzer-47d1f7ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pi8pJTIohwCEVvHWZ_Ntp

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 world-bank-gdp-growth-trend-analyzer-47d1f7ea
```

Example prompt: Can you pull up the GDP growth record for Brazil over the last 20 years — I want to see the average growth rate, any recession years, and whether it's been a volatile economy?

## When to prefer this

Choose this endpoint when you need a longitudinal GDP growth summary for a single country — including recession detection, best/worst year identification, and volatility scoring — rather than just a single indicator value or cross-country ranking. It is ideal for economic risk assessment, investment screening, or country briefings where historical trend context matters.

## Known failure modes

- Unknown country name or ISO code returns a null or error result
- Requested years range outside 5–30 triggers a validation error
- World Bank data unavailable for a given country returns degraded=true with partial results
- Very recent years may have incomplete data, flagged via notChecked field
- Rate limiting or payment failure (x402) returns 402 Payment Required

## How this service works

GDP growth record of a country over 5-30 years: average, worst and best year, recession years and volatility.

## Output

Returns a structured JSON object with the country's ISO3 code, number of years analyzed, year-by-year GDP growth series, average growth percentage, best and worst growth years with values, list of recession years, volatility score in standard deviation points, a plain-English verdict and summary, growth thresholds used for classification, data source attribution and URL, and a degraded flag if data is incomplete.

## 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": {
      "years": {
       "type": "integer",
       "description": "Years back, 5 to 30, default 15"
      },
      "country": {
       "type": "string",
       "description": "Country name or ISO code"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "best": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "year": {
         "type": [
          "null",
          "number"
         ]
        },
        "value": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "iso3": {
       "type": [
        "null",
        "string"
       ]
      },
      "worst": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "year": {
         "type": [
          "null",
          "number"
         ]
        },
        "value": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "years": {
       "type": [
        "null",
        "number"
       ]
      },
      "series": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "year": {
          "type": [
           "null",
           "number"
          ]
         },
         "value": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "country": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/world-bank-gdp-growth-trend-analyzer-47d1f7ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from world-bank.x402tookit.com](https://www.zero.xyz/host/world-bank.x402tookit.com/llms.txt)
