# Alpha Vantage Market Status via Locus x402

> Alpha Vantage Market Status 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 the current trading status of global financial markets (open/closed/pre-market) via a pay-per-use x402 micropayment gateway.

## Facts

- Endpoint: POST https://alphavantage.x402.paywithlocus.com/alphavantage/market-status
- 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-market-status-via-locus-x402-459970e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t1vcQBxp7BvlStjAXau4F

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-market-status-via-locus-x402-459970e8 -d '<json body>'
```

Example prompt: Can you check if the US stock market is currently open or closed right now? I want to know the live trading status before placing an order.

## When to prefer this

Choose this endpoint when you need real-time global market open/closed status and are already operating within an x402 micropayment infrastructure (e.g. a Coinbase-ecosystem agent). It is ideal for pre-trade checks, trading bot gating, or dashboards that need to know session state without a full Alpha Vantage API key subscription. Prefer this over direct Alpha Vantage integration when per-call USDC micropayments ($0.008) are preferable to managing API key billing.

## Known failure modes

- Payment failure if insufficient USDC balance or x402 payment not authorized
- Empty or malformed body may result in request rejection
- Alpha Vantage API rate limits or downtime causing upstream errors
- Network timeout to the Locus x402 gateway
- Invalid request structure causing schema validation failure

## How this service works

Locus public pay-per-use API

## Output

A JSON response containing the current open/closed trading status of global financial exchanges, including session information such as pre-market, regular hours, and after-hours states, along with payment confirmation details (settled USDC amount, request ID, and a status URL for tracking the call).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## 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-market-status-via-locus-x402-459970e8/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)
