81trust / 100

Market Dex Pairs

by dt0ur.online in Onchain & crypto

x402 APIPassing, checked 1 h ago

Find DEX liquidity pools for a token contract address or search term (symbol/name) across Ethereum, Base, Solana, Arbitrum, BSC and more: price, USD liquidity, 24h volume and buy/sell counts, 1h/24h price change, FDV and market cap, sorted by liquidity.

POST https://dt0ur.online/api/market/dex-pairs

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://dt0ur.online/api/market/dex-pairs" \
  -H "content-type: application/json" \
  -d '{"chain":"base","limit":1,"token":"0x4200000000000000000000000000000000000006"}'
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%2Fdex-pairs
const res = await pay("https://dt0ur.online/api/market/dex-pairs", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","limit":1,"token":"0x4200000000000000000000000000000000000006"}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "limit": 1,
  "token": "0x4200000000000000000000000000000000000006"
}

Example output

{
  "chain": "base",
  "count": 1,
  "pairs": [
    {
      "base_token": {
        "address": "0x4200000000000000000000000000000000000006",
        "name": "Wrapped Ether",
        "symbol": "WETH"
      },
      "chain": "base",
      "dex": "uniswap",
      "fdv_usd": 687056252,
      "liquidity_usd": 151526634.04,
      "market_cap_usd": 687056252,
      "pair_address": "0x6c561B446416E1A00E8E93E221854d6eA4171372",
      "pair_created_at": "2023-11-18T05:59:09.000Z",
      "price_change_pct": {
        "h1": 0.31,
        "h24": 0.27
      },
      "price_native": 2750.9432,
      "price_usd": 2750.94,
      "quote_token": {
        "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "symbol": "USDC"
      },
      "txns_24h": {
        "buys": 5517,
        "sells": 5836
      },
      "url": "https://dexscreener.com/base/0x6c561b446416e1a00e8e93e221854d6ea4171372",
      "volume_24h_usd": 103478272.7
    }
  ],
  "query": "0x4200000000000000000000000000000000000006",
  "source": "dexscreener"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402301 ms$0.01
5 h agoPassed402196 ms$0.01
10 h agoPassed402290 ms$0.01