89trust / 100

Crypto Price

by ApiToll Crypto Prices in Onchain & crypto

x402 APIPassing, checked 3 h ago

Latest crypto token prices by ticker symbol, CoinGecko id, or chain:address (BTC, ETH, SOL, 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.

GET https://crypto.apitoll.cloud/v1/crypto/price

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
295 ms typical, 295 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://crypto.apitoll.cloud/v1/crypto/price?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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcrypto.apitoll.cloud%2Fv1%2Fcrypto%2Fprice
const res = await pay("https://crypto.apitoll.cloud/v1/crypto/price?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

WhenResultHTTPTimePrice
3 h agoPassed402295 ms$0.001