Skip to content
Fourohtwo

x402.santyvv.com/api/crypto/history

Time series of price, market cap and total volume for one coin over 1 to 365 days, at the resolution CoinGecko serves (hourly up to 90 days, daily beyond). For charting, backtesting a strategy or computing volatility.

BaseAnswering
GEThttps://x402.santyvv.com/api/crypto/history

Uptime100% of 1 check 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

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://x402.santyvv.com/api/crypto/history?id=Id+de+CoinGecko+%28bitcoin%29+%28obligatorio%29+Ejemplo%3A+bitcoin&vs=Moneda+de+cotizacion+%28por+defecto%3A+usd%29+Ejemplo%3A+usd&dias=Ventana+en+dias+%281-365%29+%28por+defecto%3A+7%29+Ejemplo%3A+7");
console.log(await res.json());

Example input

{
  "id": "Id de CoinGecko (bitcoin) (obligatorio) Ejemplo: bitcoin",
  "vs": "Moneda de cotizacion (por defecto: usd) Ejemplo: usd",
  "dias": "Ventana en dias (1-365) (por defecto: 7) Ejemplo: 7"
}

More from santyvv-data