Historical USD prices for one token
agents.204-168-199-108.sslip.io/v1/crypto/price-history
Historical USD prices for one token: hourly, 4-hourly, daily or weekly points for the last 1-365 days (max 500 points). Token by symbol (btc, eth, sol…), coingecko:<id> or <chain>:<contract>. Returns the price series plus summary: first, last, change %, high, low and annualised volatility. DefiLlama aggregated prices.
GET
https://agents.204-168-199-108.sslip.io/v1/crypto/price-historyUptimeNot 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://agents.204-168-199-108.sslip.io/v1/crypto/price-history?days=7&period=1d&token=eth");
console.log(await res.json());Example input
{
"days": 7,
"period": "1d",
"token": "eth"
}