Api Endpoint

Tanod chainpeek

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.

Open interactive test console

Offering

Provider
tanod.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tanod.dev/v1/chain/candles
MIME type
application/json
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
OHLCV, price-candles, eth, BTC, chainpeek, chain, Candles, ENS, calldata

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 4
0.003 USDC
Atomic price: 3000000000000000 · Network: eip155:56 · Asset: USDC · Scheme: exact
Payment option 5
0.003 USDC
Atomic price: 3000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 7
0.003 USDC
Atomic price: 3000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "3000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "3000000000000000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "3000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "3000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  }
]

Observed health

Status
Healthy
Latest latency
309 ms
Average latency
1173 ms
HTTP status
204
Last checked
Reachability
94.4% over 18 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "additionalProperties": false,
      "properties": {
        "pair": {
          "description": "WETH/USDC (ETH in USDC, Uniswap v3 0.3% pool on Base) or cbBTC/USDC (BTC in USDC, Uniswap v3 0.05% pool on Base).",
          "enum": [
            "WETH/USDC",
            "cbBTC/USDC"
          ],
          "type": "string"
        },
        "interval": {
          "default": "1h",
          "description": "Candle length, UTC-aligned.",
          "enum": [
            "5m",
            "15m",
            "1h",
            "4h",
            "1d"
          ],
          "type": "string"
        },
        "limit": {
          "anyOf": [
            {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Number of candles, newest last. Default 48 (1d: 30). Lookback caps: 5m and 15m 200, 1h 168, 4h 42, 1d 30."
        }
      },
      "required": [
        "pair"
      ],
      "type": "object"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "interval": {
              "default": "1h",
              "description": "Candle length, UTC-aligned.",
              "enum": [
                "5m",
                "15m",
                "1h",
                "4h",
                "1d"
              ],
              "type": "string"
            },
            "limit": {
              "anyOf": [
                {
                  "maximum": 200,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Number of candles, newest last. Default 48 (1d: 30). Lookback caps: 5m and 15m 200, 1h 168, 4h 42, 1d 30."
            },
            "pair": {
              "description": "WETH/USDC (ETH in USDC, Uniswap v3 0.3% pool on Base) or cbBTC/USDC (BTC in USDC, Uniswap v3 0.05% pool on Base).",
              "enum": [
                "WETH/USDC",
                "cbBTC/USDC"
              ],
              "type": "string"
            }
          },
          "required": [
            "pair"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "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"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}