Check a token before trading: give a token address and trade size, get price, liquidity…
Check a token before trading: give a token address and trade size, get price, liquidity, rough price impact, chain warnings, your wallet's holding and recent news, in one call.
by chain.tollkit.dev · discovered, not yet claimed by its owner · updated 2026-10-08
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
Check a token before trading: give a token address and trade size, get price, liquidity, rough price impact, chain warnings, your wallet's holding and recent news, in one call.
Tags: trading · token · liquidity · news · defi · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{
"amount_usd": 500,
"chain": "solana",
"token": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"
}{
"chain": "solana",
"checked_at": "2026-10-05T08:43:25.149Z",
"decimals": 6,
"explorer_url": "https://solscan.io/token/JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"freeze_authority": null,
"mint_authority": null,
"name": "Jupiter",
"news_note": "Top web results for the token's name and symbol; titles and links as published.",
"note": "Facts read from the chain and the web, not a rating or advice. No warnings does not mean safe.",
"pool_depth_usd": 407369,
"position": null,
"price_source": {
"dex": "Orca Whirlpools",
"fee_tier": 500,
"pool": "C1MgLojNLWBKADvu9BHdtgzz1oZX4dZ5zGdGcgvvW8Wz",
"quote_token": "SOL",
"tick_spacing": 8
},
"price_usd": 0.336803,
"recent_news": [
{
"date": null,
"snippet": null,
"title": "Jupiter Token Spikes as DEX Aggregator Plans to Spend Half its Fees On Buybacks",
"url": "https://thedefiant.io/news/defi/jupiter-token-spikes-as-dex-aggregator-plans-to-spend-half-its-fees-on-buybacks"
},
{
"date": null,
"snippet": null,
"title": "Jupiter spikes 40% as founder says 50% of fees will go to token buybacks",
"url": "https://www.theblock.co/amp/post/337071/jupiter-spikes-40-as-founder-says-50-of-fees-will-go-to-token-buybacks"
}
],
"symbol": "JUP",
"token": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"total_supply": "6861486339.419214",
"trade_size": {
"amount_usd": 500,
"flag": "ok",
"pool_depth_usd": 407369,
"rough_price_impact_pct": 0.12,
"share_of_pool_pct": 0.12
},
"warning_count": 0,
"warnings": []
}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/35128.jsonfor the price and payment options. - Pay. Call
GET https://chain.tollkit.dev/chain/pretrade. 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, Solana, 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.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0xBbfCE2D320dE6aB328Ba93A771c531ebFC9cE704 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.01 | HBasGEGD1szEkNCWckRoZg2vZGhzt7yLSixLgSHi3gYf | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xBbfCE2D320dE6aB328Ba93A771c531ebFC9cE704",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "HBasGEGD1szEkNCWckRoZg2vZGhzt7yLSixLgSHi3gYf",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"chain": {
"type": "string"
},
"checked_at": {
"type": "string"
},
"decimals": {
"type": [
"integer",
"null"
]
},
"explorer_url": {
"type": "string"
},
"freeze_authority": {
"type": [
"string",
"null"
]
},
"mint_authority": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"news_note": {
"type": "string"
},
"note": {
"type": "string"
},
"pool_depth_usd": {
"type": [
"integer",
"null"
]
},
"position": {
"properties": {
"native_balance": {
"type": [
"number",
"null"
]
},
"native_symbol": {
"type": [
"string",
"null"
]
},
"token_balance": {
"type": "number"
},
"token_value_usd": {
"type": [
"number",
"null"
]
},
"wallet": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"price_source": {
"type": [
"string",
"object",
"null"
]
},
"price_usd": {
"type": [
"number",
"null"
]
},
"recent_news": {
"items": {
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"snippet": {
"type": [
"string",
"null"
]
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": [
"array",
"null"
]
},
"symbol": {
"type": [
"string",
"null"
]
},
"token": {
"type": "string"
},
"total_supply": {
"type": [
"string",
"null"
]
},
"trade_size": {
"properties": {
"amount_usd": {
"type": "number"
},
"flag": {
"enum": [
"ok",
"large_vs_pool",
"very_large_vs_pool",
"unknown_depth"
],
"type": "string"
},
"pool_depth_usd": {
"type": [
"number",
"null"
]
},
"rough_price_impact_pct": {
"type": [
"number",
"null"
]
},
"share_of_pool_pct": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"warning_count": {
"type": "integer"
},
"warnings": {
"items": {
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"chain",
"token",
"warnings",
"note"
],
"type": "object"
}
},
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"chain": "string",
"checked_at": "string",
"decimals": 0,
"explorer_url": "string",
"freeze_authority": "string",
"mint_authority": "string",
"name": "string",
"news_note": "string",
"note": "string",
"pool_depth_usd": 0,
"position": {
"native_balance": 0,
"native_symbol": "string",
"token_balance": 0,
"token_value_usd": 0,
"wallet": "string"
},
"price_source": "string",
"price_usd": 0,
"recent_news": [
{
"date": "string",
"snippet": "string",
"title": "string",
"url": "string"
}
],
"symbol": "string",
"token": "string",
"total_supply": "string",
"trade_size": {
"amount_usd": 0,
"flag": "ok",
"pool_depth_usd": 0,
"rough_price_impact_pct": 0,
"share_of_pool_pct": 0
},
"warning_count": 0,
"warnings": [
{
"code": "string",
"message": "string"
}
]
}
}Examples
curl "https://chain.tollkit.dev/chain/pretrade"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://chain.tollkit.dev/chain/pretrade");
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://chain.tollkit.dev/chain/pretrade")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- chain.tollkit.dev
- Endpoint
- https://chain.tollkit.dev/chain/pretrade
- Machine-readable
/resources/35128.json