Skip to content
Fourohtwo

Crypto market data in one call, for up to 10 coins

x402.agentindex.world/crypto-market

Crypto market data in one call, for up to 10 coins: live price, 24h / 7d / 30d change, 24h high and low, market cap and rank, 24h volume, circulating supply, all-time high, and a 7-day daily price series. Also returns the global market (total market cap, BTC and ETH dominance) and, on request, the trending coins. Accepts tickers (BTC, ETH, SOL) or CoinGecko ids, in USD or another fiat. Try GET /cr

BaseAnswering
POSThttps://x402.agentindex.world/crypto-market

Uptime100% of 3 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://x402.agentindex.world/crypto-market", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"coins":["BTC","ETH"],"vs_currency":"usd"}),
});
console.log(await res.json());

Example input

{
  "coins": [
    "BTC",
    "ETH"
  ],
  "vs_currency": "usd"
}

More from Crypto Market DataProvider status