85trust / 100

Dex Search

by pro-api.coinmarketcap.com in Search & web

x402 APIPassing, checked 3 h ago

Search for DEX tokens by keyword (name, symbol, or contract address).

GET https://pro-api.coinmarketcap.com/x402/v1/dex/search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
164 ms typical, 164 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://pro-api.coinmarketcap.com/x402/v1/dex/search?q=bnb"
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%2Fpro-api.coinmarketcap.com%2Fx402%2Fv1%2Fdex%2Fsearch
const res = await pay("https://pro-api.coinmarketcap.com/x402/v1/dex/search?q=bnb");
console.log(await res.json());

Example input

{
  "q": "bnb"
}

Example output

{
  "data": {
    "tks": [
      {
        "addr": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
        "cid": 7192,
        "dec": 18,
        "liq": 141742079.24,
        "mc": 1053227843.87,
        "n": "Wrapped BNB",
        "pc24h": 0.0395,
        "plt": "BSC",
        "pltId": 14,
        "plti": 1839,
        "pu": "626.34551132653429346570",
        "s": "WBNB",
        "v24h": 253425810.06
      }
    ],
    "total": 50
  },
  "status": {
    "credit_count": 1,
    "elapsed": 2388,
    "error_code": "0",
    "error_message": "",
    "timestamp": "2026-02-26T11:05:46.935Z"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402164 ms$0.01