Api Endpoint

402api Token Check

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.

Open interactive test console

Offering

Provider
tokencheck.402api.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tokencheck.402api.dev/v1/token-check
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
Token, Base, honeypot, transfer-tax, Liquidity, rug-check, token-safety, DeFi

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x8C8A81E2acEc6ed62421f1f4E7125B0b84FFffdE"
  }
]

Observed health

Status
Healthy
Latest latency
333 ms
Average latency
1083 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "token": {
          "type": "string",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "description": "ERC-20 token contract address on Base mainnet"
        }
      },
      "required": [
        "token"
      ]
    },
    "discoverable": {
      "const": true
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "discoverable": {
          "const": true
        },
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "token": {
              "description": "ERC-20 token contract address on Base mainnet",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "type": "string"
            }
          },
          "required": [
            "token"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "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"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}