# Alpha Vantage Economic Indicators via Locus x402

> Alpha Vantage Economic Indicators via Locus x402 is a paid API for AI agents from alphavantage.x402.paywithlocus.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-13).

Retrieves US macroeconomic indicator time-series data (GDP, CPI, unemployment, treasury yields, etc.) from Alpha Vantage, paid per-call via USDC over x402.

## Facts

- Endpoint: POST https://alphavantage.x402.paywithlocus.com/alphavantage/economic-indicator
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alpha-vantage-economic-indicators-via-locus-x402-5fc92291
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EW4l8I22dHanFDIuEp4UB

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 alpha-vantage-economic-indicators-via-locus-x402-5fc92291 -d '<json body>'
```

Example prompt: Pull the monthly US CPI inflation data from Alpha Vantage and give me the last 12 data points so I can track the inflation trend over the past year.

## When to prefer this

Choose this endpoint when you need structured US macroeconomic time-series data (GDP, CPI, unemployment, treasury yields, federal funds rate, retail sales, etc.) with pay-per-call USDC micropayment pricing via x402 — no API key subscription required. Prefer this over direct Alpha Vantage API calls when your agent stack already handles x402 payments and you want zero-setup access to economic data without managing API keys.

## Known failure modes

- Invalid indicator name returns an error or empty data object
- Unsupported interval for a given indicator (e.g. daily not available for REAL_GDP) may return empty results
- Maturity parameter only valid for TREASURY_YIELD — ignored or errored on other indicators
- Payment failure if insufficient USDC balance results in 402 rejection
- Rate limiting or upstream Alpha Vantage API downtime causes failed or delayed responses

## How this service works

Financial market data — stock prices, forex, crypto, commodities, economic indicators, technical analysis, and news sentiment.

## Output

Returns a JSON (or CSV) object containing the indicator name, unit, and an array of time-stamped data points, each with a date and numeric value. The response envelope also includes payment confirmation (settled USDC amount) and a request ID for status tracking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "datatype": {
   "type": "string"
  },
  "interval": {
   "type": "string"
  },
  "maturity": {
   "type": "string"
  },
  "indicator": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alpha-vantage-economic-indicators-via-locus-x402-5fc92291/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alphavantage.x402.paywithlocus.com](https://www.zero.xyz/host/alphavantage.x402.paywithlocus.com/llms.txt)
