# claw402 Alpaca Market Snapshot

> claw402 Alpaca Market Snapshot is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Fetches a real-time market snapshot for one or more stock symbols via the Alpaca data API, paid per-call with USDC using x402.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/alpaca/snapshot
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-alpaca-market-snapshot-e954cedb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O7Srny1ub_wIgoyn-x9b1

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 claw402-alpaca-market-snapshot-e954cedb
```

Example prompt: Can you pull the latest market snapshot for AAPL and TSLA from Alpaca — I want the current price and quote data for both symbols?

## When to prefer this

Choose this endpoint when you need real-time stock market snapshots from Alpaca without managing API keys or registration — ideal for AI agents that can pay per-call in USDC via x402 and need frictionless equity data access for one or more symbols.

## Known failure modes

- Payment not received or insufficient USDC — request rejected with 402
- Invalid or unrecognized stock symbol returns empty data array
- Unsupported feed or currency parameter returns error
- Alpaca upstream data unavailable or delayed — may return stale or empty snapshot
- Malformed query parameters result in schema validation error

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

Returns a JSON object with code 0 and a data array containing market snapshot information for the requested symbols, including price and quote fields sourced from Alpaca Markets.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "feed": {
       "type": "string"
      },
      "symbols": {
       "type": "string"
      },
      "currency": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/claw402-alpaca-market-snapshot-e954cedb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
