A

ApiToll Price History · Crypto Chart

by ApiToll Price History

GETBaseSolana

$0.001

per call · USD Coin on Base

Historical token price time series by ticker symbol, CoinGecko id, or chain:address (BTC, ETH, SOL, or base:0x…): a dated array of prices for up to 20 coins, with selectable span (number of points) and period (1d, 1h, 1w). For charting, backtesting, and trend analysis. Pairs with /v1/crypto/price for the live spot. Sourced from DefiLlama.

Endpoint

GET https://crypto.apitoll.cloud/v1/crypto/chart

6

Calls / 30d

5

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://crypto.apitoll.cloud/v1/crypto/chart", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://crypto.apitoll.cloud/v1/crypto/chart?coins=BTC%2CETH&period=1d&span=30" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 2,
  "period": "1d",
  "requested": 2,
  "series": [
    {
      "confidence": 0.99,
      "key": "coingecko:bitcoin",
      "points": [
        {
          "price": 65000,
          "timestamp": 1781000000
        }
      ],
      "query": "BTC",
      "resolved": true,
      "symbol": "BTC"
    }
  ],
  "source": {
    "name": "DefiLlama"
  },
  "span": 30,
  "unresolved": []
}

Payment details

Pay to0x3da40a9ad36640a2c0f533bac368490095574664
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from ApiToll Price History & similar services