Live USD price of any ERC-20 token on Base from on-chain DEX quotes (Uniswap v3
Live USD price of any ERC-20 token on Base from on-chain DEX quotes (Uniswap v3 0.05/0.3/1% pools and Aerodrome, against USDC and WETH; WETH converted with Chainlink ETH/USD). Returns the best executable route, every route's price, the price impact of selling $1,000, and flags for thin liquidity or disagreeing pools.
Answeringour last check, 2026-11-27
7 of 7checks answered this week
36 msmedian answer time
$0.005listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://nightshift-x402.nightshift-labs.workers.dev/v1/base/token-price
| Category | Market data |
|---|---|
| Provider host | nightshift-x402.nightshift-labs.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.003 | 36 ms |
| 2026-11-26 | valid payment request | 402 | $0.003 | 42 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 39 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 30 ms |
| 2026-11-23 | valid payment request | 402 | $0.003 | 42 ms |
| 2026-11-22 | valid payment request | 402 | $0.003 | 31 ms |
| 2026-11-21 | valid payment request | 402 | $0.003 | 36 ms |
| 2026-11-20 | valid payment request | 402 | $0.003 | 46 ms |
| 2026-11-19 | valid payment request | 402 | $0.003 | 33 ms |
| 2026-11-18 | valid payment request | 402 | $0.003 | 20 ms |
| 2026-11-17 | valid payment request | 402 | $0.003 | 35 ms |
| 2026-11-16 | valid payment request | 402 | $0.003 | 37 ms |
| 2026-11-15 | valid payment request | 402 | $0.003 | 32 ms |
| 2026-11-14 | valid payment request | 402 | $0.003 | 32 ms |
| 2026-11-13 | valid payment request | 402 | $0.003 | 28 ms |
| 2026-11-12 | valid payment request | 402 | $0.003 | 31 ms |
| 2026-11-11 | valid payment request | 402 | $0.003 | 73 ms |
| 2026-11-10 | valid payment request | 402 | $0.003 | 30 ms |
| 2026-11-09 | valid payment request | 402 | $0.003 | 25 ms |
| 2026-11-08 | valid payment request | 402 | $0.003 | 31 ms |
| 2026-11-07 | valid payment request | 402 | $0.003 | 35 ms |
| 2026-11-06 | valid payment request | 402 | $0.005 | 193 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"address": {
"description": "ERC-20 token contract on Base",
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}