# World Bank Education Spending as % of GDP

> World Bank Education Spending as % of GDP is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns the latest government expenditure on education as a share of GDP for all countries, with optional control over how many recent years to include.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/worldbank-education-spending
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/world-bank-education-spending-as-of-gdp-7d5ea823
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7_03PXq3qfg7-iwm0E9iR

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-education-spending-as-of-gdp-7d5ea823 -d '<json body>'
```

Example prompt: Pull the latest World Bank data on government education spending as a share of GDP for all countries — give me the 3 most recent years.

## When to prefer this

Use this endpoint when you need a broad, cross-country view of education public spending as a share of GDP sourced from the World Bank. Prefer it over general web searches when you need structured, comparable JSON data across all countries simultaneously, especially for economic analysis, policy research, or data visualization.

## Known failure modes

- Invalid or missing q parameter may return unexpected number of years or an error
- World Bank source data may have gaps for certain countries or years, resulting in null values
- Network timeout if the upstream World Bank data source is slow
- HTTP 402 Payment Required if the x402 payment header is missing or invalid

## How this service works

Latest government expenditure on education as share of GDP for all countries; q sets how many most recent years to return. Query: ?q= Returns JSON.

## Output

A JSON array of country-level records showing the latest government expenditure on education as a percentage of GDP, with each record including the country name/code, the year, and the spending value. The number of recent years returned is controlled by the q parameter.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/world-bank-education-spending-as-of-gdp-7d5ea823/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
