On-chain token price by contract address (DEX / DeFi)
On-chain token price by contract address (DEX / DeFi). Given a chain (e.g. ethereum, base, bsc, polygon, arbitrum, solana) and one or more token contract addresses, returns current USD price, market cap, 24h volume, 24h change % and last-updated timestamp for…
by agent-commerce-factory-jm.austriaeast.cloudapp.azure.com · discovered, not yet claimed by its owner · updated 2026-09-06
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
On-chain token price by contract address (DEX / DeFi). Given a chain (e.g. ethereum, base, bsc, polygon, arbitrum, solana) and one or more token contract addresses, returns current USD price, market cap, 24h volume, 24h change % and last-updated timestamp for each. For DeFi agents, on-chain price feeds, DEX token lookups and portfolio valuation of long-tail or newly listed tokens.
Tags: bazaar
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/7416.jsonfor the price and payment options. - Pay. Call
GET https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/crypto/token-price. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.006 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Uptime
- 0 of the last 1 checks answered
- Calls (30d)
- 3 · 2 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.006 | 0xCe339395d7f2ea5a5009022EF1C392Fb208a989E | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xCe339395d7f2ea5a5009022EF1C392Fb208a989E",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "6000",
"amountUsd": 0.006,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"bazaar": {
"info": {
"input": {
"body": {
"contracts": [
"0xdac17f958d2ee523a2206206994597c13d831ec7"
],
"platform": "ethereum",
"vsCurrency": "usd"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"count": 1,
"items": [
{
"change24hPct": 0.011,
"contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"lastUpdated": "2026-08-25T12:00:00.000Z",
"marketCap": 183223247255.29,
"price": 0.999962,
"volume24h": 76282183477.03
}
],
"machine": "portfolio",
"platform": "ethereum",
"route": "crypto.token-price"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"contracts": {
"items": {
"description": "Token contract address on the given chain.",
"maxLength": 120,
"minLength": 3,
"type": "string"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
"platform": {
"default": "ethereum",
"description": "Chain / asset platform (e.g. ethereum, base, bsc, polygon, arbitrum, optimism, solana).",
"type": "string"
},
"vsCurrency": {
"default": "usd",
"type": "string"
}
},
"required": [
"contracts"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"count": {
"type": "integer"
},
"economics": {
"properties": {
"sellPriceUsd": {
"type": "number"
},
"upstreamCostUsdActual": {
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"items": {
"items": {
"properties": {
"change24hPct": {
"type": [
"number",
"null"
]
},
"contract": {
"type": [
"string",
"null"
]
},
"lastUpdated": {
"type": [
"string",
"null"
]
},
"marketCap": {
"type": [
"number",
"null"
]
},
"price": {
"type": [
"number",
"null"
]
},
"volume24h": {
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"machine": {
"type": "string"
},
"platform": {
"type": "string"
},
"route": {
"type": "string"
}
},
"required": [
"machine",
"route",
"items"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Example shape — generated from the schema, not a captured live response
nullExamples
curl "https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/crypto/token-price"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/crypto/token-price");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/crypto/token-price")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- agent-commerce-factory-jm.austriaeast.cloudapp.azure.com
- Endpoint
- https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/crypto/token-price
- Machine-readable
/resources/7416.json