# Trade (Exports + Imports) as Share of GDP by Country

> Trade (Exports + Imports) as Share of GDP by Country 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 total trade openness (exports plus imports of goods and services as % of GDP) for every country in the world as a JSON dataset.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/trade-gdp
- 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/trade-exports-imports-as-share-of-gdp-by-country-2bd73ebd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GrXAX0AIFgl07YhD_ftud

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 trade-exports-imports-as-share-of-gdp-by-country-2bd73ebd -d '<json body>'
```

Example prompt: What's the latest trade-to-GDP ratio (exports plus imports as a share of GDP) for every country in the world? Pull the full dataset.

## When to prefer this

Use this endpoint when you need a cross-country snapshot of trade openness (total trade as % of GDP) without specifying any parameters. Prefer it over individual country lookups or sector-specific trade endpoints when you want a ready-to-use global dataset in a single call.

## Known failure modes

- Payment not received or x402 payment protocol failure — request rejected
- Upstream data source temporarily unavailable — may return 503 or empty response
- Stale data if underlying World Bank or similar source has not published a new vintage

## How this service works

Latest sum of exports and imports of goods and services as a share of GDP across every country. Returns JSON.

## Output

A JSON array or object containing one record per country with the latest available value for total trade (exports plus imports of goods and services) expressed as a percentage of GDP.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trade-exports-imports-as-share-of-gdp-by-country-2bd73ebd/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)
