OHLC candles for a token, built from indexed trades
OHLC candles for a token, built from indexed trades. Pass ?tf=1m, 5m, 15m, 1h, 4h or 1d (default 5m) and ?limit=N up to 1000 (default 200); ?before=<unix seconds> pages backwards. Timestamps are unix seconds. The description used to name the timeframes withou…
by apexfaucet.xyz · discovered, not yet claimed by its owner · updated 2026-10-08
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
OHLC candles for a token, built from indexed trades. Pass ?tf=1m, 5m, 15m, 1h, 4h or 1d (default 5m) and ?limit=N up to 1000 (default 200); ?before=<unix seconds> pages backwards. Timestamps are unix seconds. The description used to name the timeframes without naming the PARAMETER, so a paying agent had no way to ask for one and silently got 5m whatever it sent (found 2026-09-17).
Tags: x1 · ohlc · candles · price chart · trading data · bazaar
Call contract
- Method
- GET
- Input
- path parameters
- Output
- json
- Last paid call
- 2026-10-08
{
"mint": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}{
"data": {
"candles": []
},
"ok": true,
"paid": 0.004
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/51538.jsonfor the price and payment options. - Pay. Call
GET https://apexfaucet.xyz/api/x402/candles/:mint. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with 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, eip155:5042, Solana, eip155:56, 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.004 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, eip155:5042, Solana, eip155:56
- Demand
- 4 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.004 | 0xd334ab5151c624cada654854e2879903dc4217ed | 300s |
| exact | eip155:5042 eip155:5042 | 0x3600000000000000000000000000000000000000 | 4000 | 0xd334ab5151c624cada654854e2879903dc4217ed | 300s |
| exact | eip155:5042 eip155:5042 | 0x3600000000000000000000000000000000000000 | 4000 | 0xd334ab5151c624cada654854e2879903dc4217ed | 604900s |
| exact | Base eip155:8453 | USDC | $0.004 | 0xd334ab5151c624cada654854e2879903dc4217ed | 604900s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.004 | HYiepS7mNCVVKoaDmZLQ6rNtMWHTQqKheM1NLGn1x8kJ | 300s |
| exact | eip155:56 eip155:56 | 0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d | 10000000000000000 | 0xd334AB5151C624cAdA654854E2879903Dc4217eD | 300s |
| exact | eip155:56 eip155:56 | 0xcE24439F2D9C6a2289F741120FE202248B666666 | 10000000000000000 | 0xd334AB5151C624cAdA654854E2879903Dc4217eD | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xd334ab5151c624cada654854e2879903dc4217ed",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"amountUsd": 0.004,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:5042",
"payTo": "0xd334ab5151c624cada654854e2879903dc4217ed",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "4000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:5042",
"payTo": "0xd334ab5151c624cada654854e2879903dc4217ed",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "4000",
"maxTimeoutSeconds": 604900
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xd334ab5151c624cada654854e2879903dc4217ed",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"amountUsd": 0.004,
"maxTimeoutSeconds": 604900
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "HYiepS7mNCVVKoaDmZLQ6rNtMWHTQqKheM1NLGn1x8kJ",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "4000",
"amountUsd": 0.004,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:56",
"payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD",
"asset": "0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d",
"amount": "10000000000000000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:56",
"payTo": "0xd334AB5151C624cAdA654854E2879903Dc4217eD",
"asset": "0xcE24439F2D9C6a2289F741120FE202248B666666",
"amount": "10000000000000000",
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"type": "object"
}Example shape — generated from the schema, not a captured live response
{}Examples
curl "https://apexfaucet.xyz/api/x402/candles/:mint"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://apexfaucet.xyz/api/x402/candles/:mint");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://apexfaucet.xyz/api/x402/candles/:mint")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- apexfaucet.xyz
- Endpoint
- https://apexfaucet.xyz/api/x402/candles/:mint
- Machine-readable
/resources/51538.json