Api Endpoint

onchain-testnet.scrapemole.workers.dev

Use when a token has no Chainlink feed (long-tail, new or memecoins) and you need its current market price: finds every Uniswap v3 pool of the token against WETH, USDC (and USDT on Ethereum) across fee tiers, reads each pool's price (slot0) and reserves in one multicall, converts to USD with Chainlink, and returns the price from the deepest pool plus all pools with their depth. Flags thin liquidity. Uniswap v3 only (Aerodrome and other DEXs not included).

Open interactive test console

Offering

Provider
onchain-testnet.scrapemole.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://onchain-testnet.scrapemole.workers.dev/v1/dex-price
MIME type
application/json
First seen
2026-10-16T02:01:31.612Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:84532 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "2000",
    "payTo": "0x45f709d6cA15Cb101Aa1989A70C0534A604a9383"
  }
]

Observed health

Status
Degraded
Latest latency
23 ms
Average latency
677 ms
HTTP status
404
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "http",
  "method": "GET",
  "queryParams": {
    "token": "0x940181a94A35A4569E4529A3CDfB74e38FD98631"
  }
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [
            "token"
          ],
          "properties": {
            "chain": {
              "enum": [
                "base",
                "ethereum"
              ],
              "type": "string",
              "default": "base",
              "description": "Chain."
            },
            "token": {
              "type": "string",
              "examples": [
                "0x940181a94A35A4569E4529A3CDfB74e38FD98631"
              ],
              "description": "ERC-20 contract address."
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}