# Industrial Platform Web Tools – Crypto Snapshot

> Industrial Platform Web Tools – Crypto Snapshot is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-12).

Returns a real-time market snapshot (trades, OHLCV candles) for a specified cryptocurrency trading pair via Coinbase Exchange data.

## Facts

- Endpoint: POST https://x402-gateway-production-1f21.up.railway.app/crypto/snapshot?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/industrial-platform-web-tools-crypto-snapshot-2975b22e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1I7wZ6qKudKRw0XRWszrZ

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 industrial-platform-web-tools-crypto-snapshot-2975b22e -d '<json body>'
```

Example prompt: Pull a real-time market snapshot for BTC-USD from Coinbase, including the last 10 trades and 30 candles at 5-minute granularity.

## When to prefer this

Choose this endpoint when you need a real-time or near-real-time crypto market snapshot — combining recent trades and OHLCV candles — for a specific Coinbase-listed trading pair, especially in machine-payable (x402) agent workflows where you want per-call micro-payment pricing without API key management.

## Known failure modes

- Invalid product_id format (must match pattern like BTC-USD) returns validation error
- trade_limit or candle_limit out of allowed range causes rejection
- candle_granularity value not in allowed enum (60,300,900,3600,21600,86400) returns error
- Payment not included or rejected by x402 gateway results in 402 response
- Coinbase Exchange upstream unavailability may cause timeout or 503

## How this service works

Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.

## Output

Returns a JSON snapshot containing recent trade data and OHLCV candlestick data for the requested trading pair, sourced from Coinbase Exchange. Includes timestamps, open/high/low/close/volume fields per candle, and individual trade records up to the requested limit.

## 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",
     "required": [
      "product_id"
     ],
     "properties": {
      "product_id": {
       "type": "string",
       "pattern": "^[A-Za-z0-9]{2,15}-[A-Za-z0-9]{2,15}$"
      },
      "trade_limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1
      },
      "candle_limit": {
       "type": "integer",
       "maximum": 300,
       "minimum": 5
      },
      "candle_granularity": {
       "enum": [
        60,
        300,
        900,
        3600,
        21600,
        86400
       ],
       "type": "integer"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/industrial-platform-web-tools-crypto-snapshot-2975b22e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production-1f21.up.railway.app](https://www.zero.xyz/host/x402-gateway-production-1f21.up.railway.app/llms.txt)
