# World Bank Tax Revenue as Share of GDP

> World Bank Tax Revenue as Share 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-14).

Returns the latest tax revenue as a percentage of GDP for all countries, with optional control over how many recent years of data are included.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/worldbank-tax-revenue
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/world-bank-tax-revenue-as-share-of-gdp-67c0330d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q-mM510CNj1aqAH_1ww3e

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-tax-revenue-as-share-of-gdp-67c0330d -d '<json body>'
```

Example prompt: Pull the latest World Bank tax revenue as a share of GDP for all countries, returning data for the 3 most recent years available.

## When to prefer this

Use this endpoint when you need cross-country tax revenue as a share of GDP from the World Bank, especially for economic comparisons, policy research, or building dashboards. Prefer this over manual World Bank API calls since it's a ready-to-use, paid-access wrapper with consistent JSON output.

## Known failure modes

- Invalid q parameter (non-integer or negative value) may return an error or unexpected results
- Upstream World Bank data unavailability could return empty or stale results
- Missing q parameter defaults to some number of years — behavior should be tested
- Payment failure (402) if USDC not provided correctly

## How this service works

Latest tax revenue 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 each country's tax revenue as a percentage of GDP, for the most recent year(s) as determined by the q parameter. Each record likely includes country name, country code, year, and the tax revenue % of GDP value.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/world-bank-tax-revenue-as-share-of-gdp-67c0330d/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)
