mirrored listing x402 eip155:8453eip155:196eip155:56eip155:143solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp

Retrieve token OHLCV candle data

Retrieve token OHLCV candle data

Do you run api.nansen.ai? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
10000 (raw units)
price
12
calls / 30d
6
unique payers
2026-08-28
updated

Provider

api.nansen.ai · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:196",
    "payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
    "asset": "0x779Ded0c9e1022225f8E0630b35a9b54bE713736",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
    "asset": "0xcE24439F2D9C6a2289F741120FE202248B666666",
    "amount": "10000000000000000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
    "asset": "0x8d0d000ee44948fc98c9b98a4fa4921476f08b0d",
    "amount": "10000000000000000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
    "asset": "0x55d398326f99059fF775485246999027B3197955",
    "amount": "10000000000000000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "10000000000000000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "J7ZvJEspvwP1oRxQZ7mYmNmT22NTm3GWq3t7HEbvPZYx",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "chain": "ethereum",
          "timeframe": "1h",
          "token_address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
          "token_addresses": [
            "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
            "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"
          ]
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "chain": {
                  "description": "Chains supported for TGM OHLCV endpoint (includes Bitcoin).",
                  "type": "string"
                },
                "date": {
                  "description": "Date range for the data (defaults to last 30 days if not specified)",
                  "type": "object"
                },
                "date_range": {
                  "description": "DEPRECATED: Use 'date' instead. Date range with start/end fields.",
                  "type": "object"
                },
                "timeframe": {
                  "description": "Supported OHLCV resolution values.",
                  "type": "string"
                },
                "token_address": {
                  "description": "Token contract address",
                  "type": "string"
                },
                "token_addresses": {
                  "description": "Array of token contract addresses for batch queries (max 10, or max 5 for Hyperl",
                  "type": "array"
                }
              },
              "required": [
                "chain",
                "timeframe"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST",
                "PUT",
                "PATCH"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://api.nansen.ai/api/v1/tgm/token-ohlcv"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.nansen.ai/api/v1/tgm/token-ohlcv");
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://api.nansen.ai/api/v1/tgm/token-ohlcv")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/1293.json, and this resource appears in /discovery/resources and /discovery/search.