81trust / 100

Market Price

by dt0ur.online in Onchain & crypto

x402 APIPassing, checked 9 min ago

Live USD prices and 24h % change for up to 25 crypto tokens per call: by ticker (BTC, ETH, SOL, USDC...), CoinGecko id, or chain:address for any token on Ethereum, Base, Arbitrum, Optimism, Polygon, BSC, Solana and more.

POST https://dt0ur.online/api/market/price

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
208 ms typical, 208 ms slowest 5%
Last check
9 min ago
Next check
in 18 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://dt0ur.online/api/market/price" \
  -H "content-type: application/json" \
  -d '{"tokens":["BTC","ETH","coingecko:solana","base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}'
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%2Fdt0ur.online%2Fapi%2Fmarket%2Fprice
const res = await pay("https://dt0ur.online/api/market/price", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"tokens":["BTC","ETH","coingecko:solana","base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}),
});
console.log(await res.json());

Example input

{
  "tokens": [
    "BTC",
    "ETH",
    "coingecko:solana",
    "base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  ]
}

Example output

{
  "count": 4,
  "found": 4,
  "prices": [
    {
      "change_24h_pct": 0.772,
      "confidence": 0.99,
      "found": true,
      "id": "coingecko:bitcoin",
      "price_usd": 86593.03,
      "query": "BTC",
      "symbol": "BTC",
      "updated_at": "2026-09-22T18:04:50.000Z"
    },
    {
      "change_24h_pct": 0,
      "confidence": 0.99,
      "found": true,
      "id": "base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "price_usd": 0.9999,
      "query": "base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "symbol": "USDC",
      "updated_at": "2026-09-22T18:09:40.000Z"
    }
  ],
  "source": "defillama"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
9 min agoPassed402181 ms$0.01
3 h agoPassed402208 ms$0.01
9 h agoPassed402212 ms$0.01