Market Data · x402

Call before buying, swapping into or accepting any Base ERC-20, to learn if you can sel…

Call before buying, swapping into or accepting any Base ERC-20, to learn if you can sell it back. $0.02, ~1-3 s, measured on-chain: honeypot test (simulated buy then sell via the deepest pool: sell ok? round-trip loss vs fees), per-pool transfer tax from real…

by tokencheck.402api.dev · discovered, not yet claimed by its owner · updated 2026-10-10

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

Call before buying, swapping into or accepting any Base ERC-20, to learn if you can sell it back. $0.02, ~1-3 s, measured on-chain: honeypot test (simulated buy then sell via the deepest pool: sell ok? round-trip loss vs fees), per-pool transfer tax from real recent swap receipts, USD liquidity per pool (Uniswap v2/v3, Aerodrome, Slipstream), sell quotes, and an ok/caution/avoid verdict citing each fact. Errors: 400/503 JSON {error}, not charged.

Tags: token · base · honeypot · transfer-tax · liquidity · bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/36445.json for the price and payment options.
  3. Pay. Call GET https://tokencheck.402api.dev/v1/token-check. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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.02 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Calls (30d)
2 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.020x8C8A81E2acEc6ed62421f1f4E7125B0b84FFffdE300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x8C8A81E2acEc6ed62421f1f4E7125B0b84FFffdE",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "amountUsd": 0.02,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "oneOf": [
        {
          "description": "HTTP 200: the token report",
          "properties": {
            "block": {
              "type": "string"
            },
            "cached": {
              "type": "boolean"
            },
            "ethUsd": {
              "type": [
                "number",
                "null"
              ]
            },
            "measuredAt": {
              "type": "string"
            },
            "notes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pools": {
              "items": {
                "description": "venue, pairedWith, feePct, liquidityUsd, transferTax, sellable",
                "type": "object"
              },
              "type": "array"
            },
            "poolsOmitted": {
              "type": "integer"
            },
            "reasons": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "sellSimulation": {
              "description": "eth_simulateV1 buy-then-sell on the deepest pool: ok, roundTripLossPct, feesPct, error",
              "type": [
                "object",
                "null"
              ]
            },
            "token": {
              "type": "object"
            },
            "verdict": {
              "enum": [
                "ok",
                "caution",
                "avoid"
              ]
            }
          },
          "required": [
            "token",
            "verdict",
            "reasons",
            "pools",
            "measuredAt"
          ],
          "type": "object"
        },
        {
          "description": "Error body. HTTP 400 = bad or missing input; HTTP 503 = check failed or timed out (25 s). The payment is not settled on errors, so the caller is not charged.",
          "example": {
            "error": "query parameter `token` must be a 0x-prefixed 40-hex-digit Base token address"
          },
          "properties": {
            "error": {
              "description": "What went wrong, in plain words",
              "type": "string"
            }
          },
          "required": [
            "error"
          ],
          "type": "object"
        }
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://tokencheck.402api.dev/v1/token-check"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://tokencheck.402api.dev/v1/token-check");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://tokencheck.402api.dev/v1/token-check")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
tokencheck.402api.dev
Endpoint
https://tokencheck.402api.dev/v1/token-check
Machine-readable
/resources/36445.json