# Coinbase 24h Stats (BTC-USD & ETH-USD)

> Coinbase 24h Stats (BTC-USD & ETH-USD) is a paid API for AI agents from earn-pulse.haiqingm58.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns 24-hour high, low, and volume data for BTC-USD and ETH-USD from Coinbase.

## Facts

- Endpoint: GET https://earn-pulse.haiqingm58.workers.dev/cbstats
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinbase-24h-stats-btc-usd-eth-usd-61029e05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FKqyKlr3Z1vj5x0VH1fAQ

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 coinbase-24h-stats-btc-usd-eth-usd-61029e05
```

Example prompt: What are the current 24-hour high, low, and volume for BTC and ETH on Coinbase right now?

## When to prefer this

Choose this endpoint when you specifically need Coinbase-sourced 24h high/low/volume data for BTC and ETH in a single no-parameter call. It is ideal for dashboards, automated trading signals, or volatility monitoring where Coinbase price discovery is the reference. If you also need Hyperliquid mark prices or cross-exchange spread data, use the sibling CB-HL Spread or HL Mark endpoints on the same host.

## Known failure modes

- Upstream Coinbase API unavailable — returns a 5xx error or empty response
- Stale data if the Cloudflare Worker cache has not refreshed — values may lag by a short interval
- Payment failure (x402) if the 0.005 USDC per-call fee is not settled correctly
- Network timeout if the worker endpoint is under load

## How this service works

Coinbase BTC-USD and ETH-USD 24h high/low/volume. No parameters.

## Output

A JSON object containing 24-hour high price, low price, and trading volume for both BTC-USD and ETH-USD pairs as reported by Coinbase, with no required input parameters.

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinbase-24h-stats-btc-usd-eth-usd-61029e05/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from earn-pulse.haiqingm58.workers.dev](https://www.zero.xyz/host/earn-pulse.haiqingm58.workers.dev/llms.txt)
