# Alpha Vantage Weekly Time Series via Locus x402

> Alpha Vantage Weekly Time Series 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-15).

Returns weekly OHLCV (open, high, low, close, volume) stock price time series data for a given ticker symbol, paid per-call via x402 micropayment.

## Facts

- Endpoint: POST https://alphavantage.x402.paywithlocus.com/alphavantage/time-series-weekly
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alpha-vantage-weekly-time-series-via-locus-x402-a247e854
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bhidBDFTQfHxqQixSwsnE

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-weekly-time-series-via-locus-x402-a247e854 -d '<json body>'
```

Example prompt: Can you pull the weekly OHLCV time series data for AAPL — I want to see how the stock has moved week by week over its full available history?

## When to prefer this

Use this endpoint when you need weekly-granularity OHLCV equity data with pay-per-call micropayment billing via x402, avoiding API key management. Prefer over daily endpoints when analyzing long-term trends or when bandwidth/cost per data point is a concern. Best for agents that need structured historical stock data on demand without a subscription.

## Known failure modes

- Invalid or unknown ticker symbol returns empty or error data object
- Missing required 'symbol' field causes request failure
- x402 payment authorization failure blocks the call
- Rate limiting from upstream Alpha Vantage causes delayed or rejected response
- Network timeout from the Locus proxy layer

## How this service works

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

## Output

A JSON (or CSV) object containing weekly OHLCV time series for the requested ticker — each week's open, high, low, adjusted close, and volume — along with x402 payment metadata including settled USDC amount, authorization cap, and a request status URL for tracking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "symbol": {
   "type": "string"
  },
  "datatype": {
   "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-weekly-time-series-via-locus-x402-a247e854/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)
