# Alpha Vantage Commodity Price via Locus x402

> Alpha Vantage Commodity Price 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-14).

Returns historical commodity price data (WTI oil, Brent crude, natural gas, metals, agricultural goods) at daily, weekly, or monthly intervals via pay-per-use USDC micropayment.

## Facts

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

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-commodity-price-via-locus-x402-b485af6d -d '<json body>'
```

Example prompt: Can you pull the monthly WTI crude oil price history from Alpha Vantage — I want the JSON data to see how prices have trended?

## When to prefer this

Choose this endpoint when you need structured historical commodity price data (energy, metals, agricultural) with flexible time intervals and are willing to pay $0.008 USDC per call via x402 micropayment. Prefer this over free Alpha Vantage API keys when you want frictionless pay-per-use access without managing API key quotas. Best suited for agents that need on-demand commodity data without a long-term subscription.

## Known failure modes

- Invalid commodity symbol — must be one of WTI, BRENT, NATURAL_GAS, COPPER, ALUMINUM, WHEAT, CORN, COTTON, SUGAR, COFFEE
- Invalid interval value — must be daily, weekly, or monthly
- Insufficient USDC balance to cover $0.008 per call payment
- Alpha Vantage upstream API rate limit or outage causing empty or error response
- Malformed datatype parameter — must be json or csv

## How this service works

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

## Output

A JSON object containing a date-indexed time series of commodity prices for the requested commodity at the specified interval (daily, weekly, or monthly), along with payment settlement details (settled USDC amount, authorized max USDC) and a request status URL for tracking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "datatype": {
   "type": "string"
  },
  "interval": {
   "type": "string"
  },
  "commodity": {
   "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-commodity-price-via-locus-x402-b485af6d/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)
