81trust / 100
Crypto Prices
by Token Price Snapshot in Onchain & crypto
x402 APIPassing, checked 2 h ago
Latest crypto token prices by ticker symbol, CoinGecko id, or chain:address (BTC, ETH, SOL, bitcoin, or base:0x…): current spot price, token symbol, decimals, and a confidence score, for up to 50 coins in one call. Pass ?at=<unix> for the historical price at a point in time. Sourced from DefiLlama across every major chain. Also accepts legacy ?ids=bitcoin,ethereum.
GET https://store.agentexchange.work/crypto/prices
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 175 ms typical, 175 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://store.agentexchange.work/crypto/prices?coins=BTC%2CETH%2CSOL"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fstore.agentexchange.work%2Fcrypto%2Fprices
const res = await pay("https://store.agentexchange.work/crypto/prices?coins=BTC%2CETH%2CSOL");
console.log(await res.json());Example input
{
"coins": "BTC,ETH,SOL"
}Example output
{
"asOf": "2026-06-15T08:00:00Z",
"count": 3,
"historical": false,
"prices": [
{
"confidence": 0.99,
"decimals": null,
"key": "coingecko:bitcoin",
"price": 65517.56,
"query": "BTC",
"resolved": true,
"symbol": "BTC",
"timestamp": 1781516766
}
],
"requested": 3,
"source": {
"name": "DefiLlama"
},
"unresolved": []
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 175 ms | $0.01 |
| 7 h ago | Passed | 402 | 202 ms | $0.01 |