resources/base-onchain-tools/GET /v1/base/token-price
GET402 quotelive quote

Base Token Price via Uniswap V3GET /v1/base/token-price · x402 API by base-onchain-tools

USD price for ANY token on Base, not just the two assets Chainlink covers. Discovers every Uniswap V3 pool against WETH and USDC across all four fee tiers, reads sqrtPriceX96 and does the Q96 fixed-point maths, prices off the deepest pool, ignores deployed-but-never-traded pools whose prices are nonsense, and cross-checks the remaining ones to flag thin or manipulated liquidity. Query param: address.

https://base-onchain-tools.dolerite.workers.dev/v1/base/token-price

What does this x402 API do?

Base Token Price via Uniswap V3. This is an x402-gated GET API resource from base-onchain-tools. TOLL·402 confirmed a protocol-valid HTTP 402 quote on 2026-08-25. The listing records $0.006 USD-denominated per request on Base. No settled paid call has been verified.

Published price
$0.006 USD-denominated per request
Networks
Base
Latest evidence
TOLL·402 confirmed a protocol-valid HTTP 402 quote on 2026-08-25
Resource ID
b11f8f9d9a9b7459331aadc5
USE THIS RESOURCE

Start with a quote-only recipe. Payment signing stays in your project.

CODE
AI CODING TOOLS
quote-check.ts
const response = await fetch("https://base-onchain-tools.dolerite.workers.dev/v1/base/token-price", {
  method: "GET",
});

console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));

// A valid 402 is a quote, not a completed paid call.

This sends no payment. Inspect the 402 response before adding a wallet-enabled client.

STATUS HISTORY

  1. Live 402 quote confirmed

    GET returned a protocol-valid 402 quote (402). No payment was made.

  2. Origin reachable

    HEAD https://base-onchain-tools.dolerite.workers.dev/ returned 200.

  3. Observed in 402-index

    Discovered through self-registered.

  4. Registry record checked

    Registry health: healthy.

What evidence supports this listing?

402-indexobserved 2026-08-25 · open source record ↗
origin checkHEAD https://base-onchain-tools.dolerite.workers.dev/ → 200 on 2026-08-25
route quotelive 402 quote confirmed · GET 402 · 2026-08-25

Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call. Read the discovery and verification methodology →

Which networks and payment options does it accept?

The normalized listing price is $0.006 USD-denominated per request. Raw protocol requirements remain visible below for implementation and audit use.

Baseexact6000 atomic · 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
base-onchain-tools GET /v1/base/token-price · b11f8f x402 API · TOLL·402