# Portugal Trade and Investment Indicators (World Bank WDI)

> Portugal 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 Portugal (or any 2-letter country code) with historical time series data and latest observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-economy-pt-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/portugal-trade-and-investment-indicators-world-bank-wdi-a6d0851a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r4-JTyEpZLOufQAHKeKGI

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 portugal-trade-and-investment-indicators-world-bank-wdi-a6d0851a -d '<json body>'
```

Example prompt: Pull the World Bank trade and investment indicators for Portugal from 2005 to 2022 and show me the latest available figures.

## When to prefer this

Choose this endpoint when you need pre-packaged, ready-to-use World Bank WDI trade and investment indicators for Portugal (or another country) without building a custom WDI API query yourself. It is ideal for quick economic research, country benchmarking, or enriching reports with authoritative annual trade data. Prefer this over raw World Bank API access when you want a simple POST interface with a fixed set of relevant indicators, history included, at low cost per call.

## Known failure modes

- Invalid country code (not matching ^[A-Za-z]{2}$) returns a validation error
- start_year or end_year outside valid range (below 1960) returns a 400-level error
- Years with no WDI data available return empty or null observations for that period
- Network or upstream World Bank API unavailability may result in timeout or 5xx errors
- Payment failure (x402 protocol) prevents data retrieval

## How this service works

Portugal: Trade and investment indicators: Trade and investment indicators for Portugal: 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, including historical time series values from start_year to end_year, the source data update date, and the most recent available observation for each indicator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "country": {
   "type": "string",
   "default": "PT",
   "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/portugal-trade-and-investment-indicators-world-bank-wdi-a6d0851a/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)
