79trust / 100

Price

by Crypto Token Price in Onchain & crypto

x402 APIPassing, checked 5 min ago

Crypto token price: live USD price, 24h change, total supply and FDV for any token, read onchain from DEX pools (Uniswap v3 on Ethereum, Base, Arbitrum, Polygon; Orca, Raydium, PumpSwap on Solana), so every number is verifiable. Pass token (ETH, BTC, SOL, PEPE... or contract/mint address), optional chain. Returns price, change, pools, depth, spread, confidence, block. 0.002 USDC/call; failed calls are free.

GET https://x402-seller-pmlm.onrender.com/price

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
605 ms typical, 661 ms slowest 5%
Last check
5 min ago
Next check
in 28 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-seller-pmlm.onrender.com/price?token=ETH"
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%2Fx402-seller-pmlm.onrender.com%2Fprice
const res = await pay("https://x402-seller-pmlm.onrender.com/price?token=ETH");
console.log(await res.json());

Example input

{
  "token": "ETH"
}

Example output

{
  "block": {
    "number": 26131717,
    "timestamp": "2026-10-06T07:02:47.000Z"
  },
  "cached": false,
  "change24h": {
    "at": "2026-10-05T06:56:35.000Z",
    "method": "archive slot0 at block 26124517",
    "pool": "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640"
  },
  "change24hPct": -0.99,
  "confidence": "high",
  "fdvUsd": 5709829480,
  "generatedAt": "2026-10-06T07:02:53.811Z",
  "latencyMs": 950,
  "method": "Uniswap v3 spot price (slot0) from public RPC; depth-weighted across pools within 3% of the deepest; USDC/USDT treated as $1",
  "note": "priced as WETH",
  "outlierPools": 0,
  "poolSpreadPct": 0.58,
  "pools": [
    {
      "depthUsd": 149287475,
      "dex": "uniswap-v3",
      "explorer": "https://etherscan.io/address/0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640",
      "feeTier": 500,
      "pool": "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640",
      "priceUsd": 2697.2053,
      "quote": "USDC"
    },
    {
      "depthUsd": 111380489,
      "dex": "uniswap-v3",
      "explorer": "https://etherscan.io/address/0x4e68Ccd3E89f51C3074ca5072bbAC773960dFa36",
      "feeTier": 3000,
      "pool": "0x4e68Ccd3E89f51C3074ca5072bbAC773960dFa36",
      "priceUsd": 2698.4682,
      "quote": "USDT"
    }
  ],
  "priceUsd": 2697.7325,
  "priceUsd24hAgo": 2724.2224,
  "supplyNote": "wrapped/bridged token: totalSupply is the amount on this chain only, so fdvUsd is not the asset's market cap",
  "token": {
    "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
    "chain": "ethereum",
    "decimals": 18,
    "name": "Wrapped Ether",
    "symbol": "WETH"
  },
  "totalDepthUsd": 333868633,
  "totalSupply": 2116529.2
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 min agoPassed402608 ms$0.002
4 h agoPassed402661 ms$0.002
7 h agoPassed402272 ms$0.002
11 h agoPassed402247 ms$0.002
14 h agoPassed402629 ms$0.002
18 h agoPassed402293 ms$0.002
22 h agoPassed402265 ms$0.002
26 h agoPassed402284 ms$0.002
29 h agoPassed402606 ms$0.002
33 h agoPassed402605 ms$0.002
36 h agoPassed402615 ms$0.002
40 h agoPassed402190 ms$0.002
45 h agoPassed402686 ms$0.002