# Ralph Crypto Summary API — Market Summary

> Ralph Crypto Summary API — Market Summary is a paid API for AI agents from ralph-crypto-summary.simgokr.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-13).

Returns a pay-per-call snapshot of current crypto market prices and Base network gas data, charged at $0.05 USDC via x402 micropayment protocol.

## Facts

- Endpoint: GET https://ralph-crypto-summary.simgokr.workers.dev/api/market-summary?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ralph-crypto-summary-api-market-summary-dfcef480
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z5bVE60qEz3TU-7NRElzG

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 ralph-crypto-summary-api-market-summary-dfcef480
```

Example prompt: Can you pull the latest crypto market summary — I want to see current prices, 24-hour highs and lows, volume, and the Base gas price right now?

## When to prefer this

Choose this endpoint when you need a fast, on-demand crypto market price snapshot with Base network gas data in a micropayment (x402/USDC) context, especially in automated agent pipelines where per-call billing without API key management is preferred. It is ideal for Base-ecosystem DeFi agents that already handle x402 payments natively and need live price feeds without a subscription.

## Known failure modes

- Payment not included or insufficient — returns HTTP 402 requiring x402 USDC payment on Base
- Payment verification failure — x402 facilitator cannot confirm the on-chain payment
- Network/worker unavailability — Cloudflare Worker returns 5xx error
- Market data feed outage — response may return stale or missing price data
- Malformed request — unexpected query parameters may be ignored or cause errors

## How this service works

Pay-per-call crypto market and Base wallet summaries via x402 (USDC on Base).

## Output

A JSON object containing an array of market entries (each with symbol, current USD price, 24h low, 24h high, 24h volume, and 24h change percentage), the active network identifier ('base'), the current Base gas price in gwei, and a UTC timestamp for the snapshot.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "markets": [
   {
    "symbol": "BTC",
    "priceUsd": 80954.5,
    "low24hUsd": 76200,
    "volume24h": 3886.2,
    "high24hUsd": 81232.3,
    "change24hPct": 6.02
   }
  ],
  "network": "base",
  "timestamp": "2026-09-19T00:00:00.000Z",
  "base_gas_price_gwei": "0.0060"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ralph-crypto-summary-api-market-summary-dfcef480/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ralph-crypto-summary.simgokr.workers.dev](https://www.zero.xyz/host/ralph-crypto-summary.simgokr.workers.dev/llms.txt)
