# Morocco Trade and Investment Indicators (World Bank WDI)

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

## Facts

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

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

Example prompt: Can you pull the World Bank trade and investment indicators for Morocco from 2000 to 2023 so I can see how openness and FDI have trended over time?

## When to prefer this

Choose this endpoint when you need structured, authoritative World Bank WDI trade and investment indicator data for Morocco (or a comparable country) in annual time series format, especially when building economic dashboards, country reports, or investment research that requires historical depth and a trusted multilateral data source. Prefer this over web scraping or general search when you need clean, machine-readable annual data with known provenance.

## Known failure modes

- Invalid or unsupported 2-letter country code returns an error or empty data
- Year range outside available WDI data (pre-1960 or future years) may return no observations
- World Bank WDI source data not yet updated for most recent year results in missing latest observations
- Payment failure (x402) prevents data retrieval
- Network timeout if World Bank upstream is slow

## How this service works

Morocco: Trade and investment indicators: Trade and investment indicators for Morocco: 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 trade and investment annual indicator series for the specified country (default: Morocco), including historical values across the requested year range, the source update date, and the latest available observations for each indicator.

## Request schema (JSON Schema)

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