21trust / 100

Token Price

by Aayat AI in Onchain & crypto

x402 APIFailing, checked 3 h ago

Live price of any token on Base, Solana, Ethereum, BNB, Arbitrum, Polygon, Optimism or Avalanche from DEX data: USD price, total liquidity, 24h volume, buys/sells, price change (5m/1h/6h/24h), market cap, FDV, pair count and pool age. Pass ?address=<contract>&chain=base, or ?symbol=ETH (plus chain= to pick one when a symbol is ambiguous). For a full rug-pull check use token-safety.

GET https://aayatai.com/token/price

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.7%
Response time
925 ms typical, 925 ms slowest 5%
Last check
3 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/token/price?address=0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed&chain=base"
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%2Faayatai.com%2Ftoken%2Fprice
const res = await pay("https://aayatai.com/token/price?address=0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed&chain=base");
console.log(await res.json());

Example input

{
  "address": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
  "chain": "base"
}

Example output

{
  "address": "0x1234…abcd",
  "chain": "base",
  "fdvUsd": 115000000,
  "fetchedAt": "2026-09-28T12:00:00.000Z",
  "found": true,
  "links": {
    "image": null,
    "socials": [],
    "websites": []
  },
  "liquidityKnown": true,
  "liquidityUsd": 4210000,
  "marketCapUsd": 115000000,
  "marketSource": "DexScreener",
  "name": "EXAMPLE",
  "oldestPairCreatedAt": "2024-01-15T10:00:00.000Z",
  "pairs": 30,
  "priceChange": {
    "h1": -0.4,
    "h24": -3.5,
    "h6": 2.1,
    "m5": 0.1
  },
  "priceNative": 0.0000012,
  "priceUsd": 0.0031,
  "source": "DexScreener",
  "symbol": "EXAMPLE",
  "topPair": {
    "createdAt": "2024-01-15T10:00:00.000Z",
    "dex": "aerodrome",
    "pairAddress": "0x...",
    "quote": "WETH",
    "url": "https://dexscreener.com/base/0x..."
  },
  "txns24h": {
    "buys": 2311,
    "sells": 2104
  },
  "volume24hUsd": 812000
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoExpected HTTP 402, got 410410244 ms-
7 h agoExpected HTTP 402, got 410410207 ms-
12 h agoExpected HTTP 402, got 41041054 ms-
16 h agoExpected HTTP 402, got 410410103 ms-
20 h agoExpected HTTP 402, got 41041045 ms-
24 h agoExpected HTTP 402, got 41041041 ms-
28 h agoExpected HTTP 402, got 41041033 ms-
32 h agoExpected HTTP 402, got 410410167 ms-
36 h agoExpected HTTP 402, got 41041052 ms-
40 h agoExpected HTTP 402, got 41041039 ms-
44 h agoExpected HTTP 402, got 41041041 ms-
2 days agoExpected HTTP 402, got 410410115 ms-
2 days agoExpected HTTP 402, got 41041034 ms-
2 days agoExpected HTTP 402, got 41041039 ms-
3 days agoPassed402925 ms$0.005