Skip to content
Fourohtwo

agent402.tools/api/token-price-history

Historical USD price series for a token, by ticker symbol (ETH, BTC, SOL, ...) or by ERC-20 contract + network, at 5-minute (up to 2 days), hourly (up to 30 days) or daily (up to 365 days) resolution. Returns the points plus first/last/high/low and the percent change over the window - the data behind 'how did this token move over the last N days' without a separate market-data subscription. 404 (n

SolanaBaseAnswering
POSThttps://agent402.tools/api/token-price-history

Uptime100% of 5 checks in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/token-price-history", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"days":7,"network":"ethereum","contract":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","interval":"1d"}),
});
console.log(await res.json());

Example input

{
  "days": 7,
  "network": "ethereum",
  "contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "interval": "1d"
}

Price changes

  • Dec 1, 20260.001 → 0.004
  • Dec 1, 20260.004 → 0.001
  • Nov 25, 20260.001 → 0.004
  • Nov 25, 20260.004 → 0.001