chainpeek (Tanod) ETH and BTC OHLCV price candles (5m to 1d) computed from on-chain Uni…
chainpeek (Tanod) ETH and BTC OHLCV price candles (5m to 1d) computed from on-chain Uniswap v3 swaps on Base. Use when an agent needs ETH or BTC price history as OHLCV candles for charting or backtesting.
by tanod.dev · discovered, not yet claimed by its owner · updated 2026-10-12
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
chainpeek (Tanod) ETH and BTC OHLCV price candles (5m to 1d) computed from on-chain Uniswap v3 swaps on Base. Use when an agent needs ETH or BTC price history as OHLCV candles for charting or backtesting.
Tags: chainpeek · chain · candles · ens · calldata · bazaar · builder-code · erc20ApprovalGasSponsoring
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-12
{
"interval": "1h",
"limit": 3,
"pair": "WETH/USDC"
}{
"as_of": 1791459117,
"as_of_block": 52334885,
"as_of_iso": "2026-10-08T11:31:57Z",
"base": {
"address": "0x4200000000000000000000000000000000000006",
"decimals": 18,
"symbol": "WETH"
},
"candles": [
{
"close": 2562.440508,
"high": 2564.536011,
"low": 2562.420829,
"open": 2564.53549,
"swaps": 162,
"t": 1791450000,
"volume_base": 283.1768169,
"volume_quote": 723823.9884
},
{
"close": 2554.931473,
"high": 2562.444764,
"low": 2554.931469,
"open": 2562.440275,
"swaps": 332,
"t": 1791453600,
"volume_base": 978.302039,
"volume_quote": 2495689.547
},
{
"close": 2533.963891,
"high": 2554.934474,
"low": 2533.962543,
"open": 2554.932156,
"swaps": 409,
"t": 1791457200,
"volume_base": 2643.973295,
"volume_quote": 6707581.103
}
],
"chain": "base",
"count": 3,
"dex": "uniswap_v3",
"fee": 3000,
"interval": "1h",
"interval_seconds": 3600,
"last_candle_partial": true,
"note": "Computed by Tanod from public Uniswap v3 Swap events of one pool on Base: open/high/low/close are the pool's post-swap prices, volumes the absolute swapped amounts. DEX prices can differ from centralized exchanges (fees, arbitrage lag, MEV and sandwich trades inside a block, depegs of the quote stablecoin). A candle without swaps carries the previous close with zero volume; the last candle is still forming. Informational only, not investment advice.",
"pair": "WETH/USDC",
"pool": "0x6c561B446416E1A00E8E93E221854d6eA4171372",
"price_unit": "USDC per WETH",
"quote": {
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"decimals": 6,
"symbol": "USDC"
},
"source": "Uniswap v3 swaps on Base (on-chain)",
"timestamps": "Bucketed by block timestamp (UTC, interval-aligned): each log's blockTimestamp, else estimated from Base's fixed 2 s block time anchored at the latest block."
}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/35803.jsonfor the price and payment options. - Pay. Call
GET https://tanod.dev/v1/chain/candles. 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, Polygon, 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.003 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Polygon, Solana, eip155:56
- Demand
- 2 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.003 | 0x593857A4a4F619543ea12394137C3004ce841720 | 300s |
| exact | Polygon eip155:137 | USDC | $0.003 | 0x593857A4a4F619543ea12394137C3004ce841720 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.003 | RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus | 300s |
| exact | eip155:56 eip155:56 | 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d | 3000000000000000 | 0x593857A4a4F619543ea12394137C3004ce841720 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:56",
"payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
"asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
"amount": "3000000000000000",
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"as_of": {
"type": "integer"
},
"as_of_block": {
"type": "integer"
},
"as_of_iso": {
"type": "string"
},
"base": {
"properties": {
"address": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"symbol": {
"type": "string"
}
},
"required": [
"symbol",
"address",
"decimals"
],
"type": "object"
},
"candles": {
"items": {
"properties": {
"close": {
"type": [
"number",
"null"
]
},
"high": {
"type": [
"number",
"null"
]
},
"low": {
"type": [
"number",
"null"
]
},
"open": {
"type": [
"number",
"null"
]
},
"swaps": {
"type": "integer"
},
"t": {
"type": "integer"
},
"volume_base": {
"type": "number"
},
"volume_quote": {
"type": "number"
}
},
"required": [
"t",
"open",
"high",
"low",
"close",
"volume_base",
"volume_quote",
"swaps"
],
"type": "object"
},
"maxItems": 200,
"type": "array"
},
"chain": {
"type": "string"
},
"count": {
"type": "integer"
},
"dex": {
"type": "string"
},
"fee": {
"type": "integer"
},
"interval": {
"type": "string"
},
"interval_seconds": {
"type": "integer"
},
"last_candle_partial": {
"type": "boolean"
},
"note": {
"type": "string"
},
"pair": {
"type": "string"
},
"pool": {
"type": "string"
},
"price_unit": {
"type": "string"
},
"quote": {
"properties": {
"address": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"symbol": {
"type": "string"
}
},
"required": [
"symbol",
"address",
"decimals"
],
"type": "object"
},
"source": {
"type": "string"
},
"timestamps": {
"type": "string"
}
},
"required": [
"pair",
"pool",
"fee",
"interval",
"candles",
"source",
"note"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"as_of": 0,
"as_of_block": 0,
"as_of_iso": "string",
"base": {
"address": "string",
"decimals": 0,
"symbol": "string"
},
"candles": [
{
"close": 0,
"high": 0,
"low": 0,
"open": 0,
"swaps": 0,
"t": 0,
"volume_base": 0,
"volume_quote": 0
}
],
"chain": "string",
"count": 0,
"dex": "string",
"fee": 0,
"interval": "string",
"interval_seconds": 0,
"last_candle_partial": true,
"note": "string",
"pair": "string",
"pool": "string",
"price_unit": "string",
"quote": {
"address": "string",
"decimals": 0,
"symbol": "string"
},
"source": "string",
"timestamps": "string"
},
"type": "string"
}Examples
curl "https://tanod.dev/v1/chain/candles"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://tanod.dev/v1/chain/candles");
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://tanod.dev/v1/chain/candles")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- tanod.dev
- Endpoint
- https://tanod.dev/v1/chain/candles
- Machine-readable
/resources/35803.json