crypto.apitoll.cloud/v1/crypto/chart
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.
GET
https://crypto.apitoll.cloud/v1/crypto/chartUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://crypto.apitoll.cloud/v1/crypto/chart?coins=BTC%2CETH&period=1d&span=30");
console.log(await res.json());Example input
{
"coins": "BTC,ETH",
"period": "1d",
"span": 30
}