# United States Trade and Investment Indicators (World Bank WDI)

> United States Trade and Investment Indicators (World Bank WDI) is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Returns three World Bank WDI annual trade and investment indicators for the United States (or any 2-letter country code) over a specified year range, including historical data and latest observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-economy-us-trade?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/united-states-trade-and-investment-indicators-world-bank-wdi-1d69d723
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_01_5ROU_9R3fIj3wGopvV

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 united-states-trade-and-investment-indicators-world-bank-wdi-1d69d723 -d '<json body>'
```

Example prompt: Can you pull the World Bank trade and investment indicators for the United States from 2010 to 2022? I want to see how exports, imports, and investment have trended over that period.

## When to prefer this

Choose this endpoint when you need structured, historically consistent World Bank WDI trade and investment indicator data for a specific country and year range, especially for the United States. Prefer this over general web search when you need reliable, citable annual statistics from the World Bank. It is ideal for economic research, data dashboards, or agent pipelines that need machine-readable macroeconomic data without scraping.

## Known failure modes

- Invalid country code (not a 2-letter ISO code) returns a validation error
- Requested year range outside available WDI data returns empty or partial results
- Start year greater than end year may cause an error or empty response
- World Bank data source temporarily unavailable returns a service error
- Years too far in the future return no data as WDI only covers historical observations

## How this service works

United States: Trade and investment indicators: Trade and investment indicators for United States: three World Bank WDI annual indicators with history, source update date and latest available observations. Country and years can be overridden.

## Output

Returns three World Bank WDI annual indicators related to trade and investment for the specified country (defaulting to US), covering the requested year range. Includes historical data series, the source update date, and the latest available observations for each indicator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "country": {
   "type": "string",
   "default": "US",
   "pattern": "^[A-Za-z]{2}$"
  },
  "end_year": {
   "type": "integer",
   "minimum": 1960
  },
  "start_year": {
   "type": "integer",
   "minimum": 1960
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/united-states-trade-and-investment-indicators-world-bank-wdi-1d69d723/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
