Crypto price API for AI agents
api.youraitools.co/cryptoprice/v1/price
Crypto price API for AI agents: current USD price of BTC, ETH, SOL and ~200 more coins (up to 20 per call) with 24h change, 24h volume, open interest and funding rate, from Hyperliquid public market data. Search intents: crypto price api, bitcoin price, eth price, token price usd, coin quote, crypto market data, price snapshot.
GET
https://api.youraitools.co/cryptoprice/v1/priceUptime100% 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://api.youraitools.co/cryptoprice/v1/price?symbols=BTC%2CETH%2CSOL");
console.log(await res.json());Example input
{
"symbols": "BTC,ETH,SOL"
}