X4
Utilities · x402 · active demand

Get OHLCV candlestick data for charting and analysis

Get OHLCV candlestick data for charting and analysis

by x402.asterpay.io · discovered, not yet claimed by its owner · updated 2026-10-13

30d calls13
30d payers13
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Get OHLCV candlestick data for charting and analysis

Tags: bazaar · payment-identifier

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "interval": "1h",
  "limit": "24",
  "symbol": "ethereum"
}
Output example
{
  "candles": [
    {
      "close": 3465,
      "high": 3480,
      "low": 3420,
      "open": 3450,
      "timestamp": "2026-02-01T11:00:00Z",
      "volume": 125000000
    }
  ],
  "interval": "1h",
  "symbol": "ethereum"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/28966.json for the price and payment options.
  3. Pay. Call GET https://x402.asterpay.io/v1/market/ohlcv/bitcoin. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Arbitrum One, Optimism, Ethereum, eip155:1187947933, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.015 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, Arbitrum One, Optimism, Ethereum, eip155:1187947933
Demand
13 calls · 13 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0150xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E300s
exactPolygon
eip155:137
USDC$0.0150xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E300s
exactArbitrum One
eip155:42161
USDC$0.0150xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E300s
exactOptimism
eip155:10
0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85150000xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E300s
exactEthereum
eip155:1
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48150000xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E300s
exacteip155:1187947933
eip155:1187947933
0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20150000xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "15000",
    "amountUsd": 0.015,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "15000",
    "amountUsd": 0.015,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "15000",
    "amountUsd": 0.015,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:10",
    "payTo": "0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E",
    "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
    "amount": "15000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:1",
    "payTo": "0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E",
    "asset": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "amount": "15000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:1187947933",
    "payTo": "0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E",
    "asset": "0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20",
    "amount": "15000",
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://x402.asterpay.io/v1/market/ohlcv/bitcoin"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.asterpay.io/v1/market/ohlcv/bitcoin");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://x402.asterpay.io/v1/market/ohlcv/bitcoin")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
x402.asterpay.io
Endpoint
https://x402.asterpay.io/v1/market/ohlcv/bitcoin
Machine-readable
/resources/28966.json