Solana price now
agent-data-tools.revmesh2074.workers.dev/solana/price
Solana price now: the current SOL spot price in USD with its 24-hour change, from Coinbase; add vs=eur,gbp for up to 5 currencies, or ids for other coins in the same call. No input needed. Use to value a Solana payment or wallet, convert between SOL and fiat, or check the SOL price before a trade.
GET
https://agent-data-tools.revmesh2074.workers.dev/solana/priceUptime100% 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
// 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://agent-data-tools.revmesh2074.workers.dev/solana/price?ids=solana");
console.log(await res.json());Example input
{
"ids": "solana"
}