Api Endpoint

x402-data-api.sigrunner.workers.dev … /gate/swap

Is this Base token safe to swap right now? GO / HOLD / BLOCK pre-trade safety gate for an autonomous trading agent: is it a honeypot, can you sell it, is your trade too big for the pool? Pass token, side (buy|sell), notional_usd; get a one-word decision + reason in one fast call. Combines honeypot/sellability simulation, admin-control checks and Uniswap v3 WETH-pool liquidity vs. trade size (price-impact guard). Use when a trading agent needs a GO/HOLD/BLOCK check right before a Base swap.

Open interactive test console

Offering

Provider
x402-data-api.sigrunner.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-data-api.sigrunner.workers.dev/gate/swap
MIME type
application/json
First seen
2026-10-23T22:21:09.776Z
Last seen
Tags
token-safety, Honeypot, pre-trade, Base, swap-gate

Payment pricing

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

Payment option 1
0.008 USDC
Atomic price: 8000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.008 USDC
Atomic price: 8000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.008 USDC
Atomic price: 8000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "8000",
    "payTo": "0x5765ae06a52dc7A0BB71c36A11db512c7ea9ed10"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "8000",
    "payTo": "0x5765ae06a52dc7A0BB71c36A11db512c7ea9ed10"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "8000",
    "payTo": "0x5765ae06a52dc7A0BB71c36A11db512c7ea9ed10"
  }
]

Observed health

Status
Healthy
Latest latency
713 ms
Average latency
445 ms
HTTP status
402
Last checked
Reachability
100% over 16 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",
      "required": [
        "token"
      ],
      "properties": {
        "token": {
          "type": "string",
          "description": "0x-prefixed ERC-20 contract on Base mainnet (only required param)"
        },
        "side": {
          "type": "string",
          "description": "buy or sell (optional, default buy)"
        },
        "notional_usd": {
          "type": "string",
          "description": "intended trade size in USD (optional, default 100)"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "notional_usd": {
              "description": "intended trade size in USD (default 100)",
              "type": "string"
            },
            "side": {
              "description": "buy or sell (default buy)",
              "type": "string"
            },
            "token": {
              "description": "0x-prefixed ERC-20 contract on Base mainnet",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "decision": {
              "type": "string"
            },
            "impact_pct_of_pool": {
              "type": "number"
            },
            "liquidity_usd": {
              "type": "integer"
            },
            "notional_usd": {
              "type": "integer"
            },
            "reason": {
              "type": "string"
            },
            "risk_score": {
              "type": "integer"
            },
            "side": {
              "type": "string"
            },
            "token": {
              "type": "string"
            }
          },
          "required": [
            "token",
            "side",
            "notional_usd",
            "decision",
            "reason",
            "risk_score",
            "liquidity_usd",
            "impact_pct_of_pool"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}