Token price by contract address (DEX, multichain)
Token price by contract address (DEX, multichain). DEX price of a token by contract address on Base, Ethereum, Arbitrum, Optimism, Polygon, BSC or Avalanche, or by Solana mint: median of DefiLlama, the deepest DexScreener pool and Jupiter, liquidity, 24h volume and change, confidence flags, and the USDC an executable route returns for selling sizeUsd (default 1000). No chain = all EVM chains searched. 404 not charged.
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://prices.genexxis.com/onchain-price
| Category | Market data |
|---|---|
| Provider host | prices.genexxis.com |
| 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
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"address": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
"chain": "base"
},
"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": "Token contract (0x...) or Solana mint; \"native\" = the chain coin (wrapped)",
"type": "string"
},
"chain": {
"description": "base, ethereum, arbitrum, optimism, polygon, bsc, avalanche or solana; omit to search every EVM chain",
"type": "string"
},
"quote": {
"description": "false to skip the sell quote (faster)",
"type": "string"
},
"sizeUsd": {
"description": "USD size of the sell quote, 1-1000000 (default 1000)",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"address": {
"type": "string"
},
"asOf": {
"type": "string"
},
"chain": {
"type": "string"
},
"change24hPct": {
"type": "number"
},
"confidence": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"errors": {
"type": "array"
},
"flags": {
"type": "array"
},
"liquidity": {
"properties": {
"deepestPoolUsd": {
"type": "integer"
},
"poolCount": {
"type": "integer"
},
"pools": {
"items": {
"properties": {
"createdAt": {
"type": "string"
},
"dex": {
"type": "string"
},
"liquidityUsd": {
"type": "integer"
},
"pair": {
"type": "string"
},
"priceUsd": {
"type": "number"
},
"quote": {
"type": "string"
},
"volume24hUsd": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"totalUsd": {
"type": "integer"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"priceUsd": {
"type": "number"
},
"sell": {
"properties": {
"costPct": {
"type": "number"
},
"gasUsd": {
"type": "number"
},
"hops": {
"type": "integer"
},
"receivedUsdc": {
"type": "number"
},
"sizeUsd": {
"type": "integer"
},
"tokensSold": {
"type": "number"
},
"venues": {
"items": {
"type": "string"
},
"type": "array"
},
"via": {
"type": "string"
}
},
"type": "object"
},
"sources": {
"items": {
"properties": {
"confidence": {
"type": "number"
},
"priceUsd": {
"type": "number"
},
"source": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"sourcesSpreadPct": {
"type": "number"
},
"symbol": {
"type": "string"
},
"volume24hUsd": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}