# claw402 Alpaca Market Snapshots

> claw402 Alpaca Market Snapshots 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).

Retrieves real-time market data snapshots for one or more stock symbols via the Alpaca data API, payable with USDC through the x402 protocol.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/alpaca/snapshots
- 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-snapshots-c007ed7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VyJdNgL4veAv3gSfgidJ6

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-snapshots-c007ed7f
```

Example prompt: Can you pull the latest Alpaca market snapshots for AAPL, TSLA, and MSFT using the SIP feed in USD?

## When to prefer this

Use this endpoint when you need real-time Alpaca market snapshots for one or more equity symbols without wanting to manage API keys or register an account — paying per-call with USDC via the x402 protocol. Prefer this over direct Alpaca API calls when operating in a crypto-native, keyless agent workflow.

## Known failure modes

- Invalid or unrecognized stock symbols return empty or partial data
- Missing or malformed 'symbols' query parameter causes request failure
- Payment failure via x402 protocol blocks access
- Unsupported feed type returns an error
- Network or upstream Alpaca API outage returns no data

## How this service works

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

## Output

A JSON object with a code field (0 for success) and a data array containing market snapshot records for the requested symbols, including price, quote, and trade data as provided by Alpaca.

## 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-snapshots-c007ed7f/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)
