{
  "x402Version": 2,
  "id": 36558,
  "slug": "36558",
  "resource": "https://api.x402risk.com/v1/pretrade-check",
  "description": "Pre-trade sellability / honeypot check for Base tokens: simulates a buy, a wallet transfer and a sell of a Base ERC-20 on live Base state (Uniswap v2/v3 or Aerodrome; nothing is signed or spent). Returns buy/sell/transfer success, measured tax %, revert reason and a simulation-driven verdict (ok/caution/avoid/unknown); owner/holder flags go in risk_flags. $0.02 USDC. Invalid input is not charged. Informational, not financial advice.",
  "type": "http",
  "serviceName": "Base Pre-Trade Sellability Check",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8F9C3f91628497E2A72D6740022D46f87A9eB417",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 180
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "block_number": {
            "type": [
              "integer",
              "null"
            ]
          },
          "buy_ok": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "buy_tax_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "cached": {
            "type": "boolean"
          },
          "chain": {
            "type": "string"
          },
          "disclaimer": {
            "type": "string"
          },
          "errors": {
            "type": "array"
          },
          "gas": {
            "type": [
              "object",
              "null"
            ]
          },
          "pool": {
            "type": [
              "string",
              "null"
            ]
          },
          "product": {
            "type": "string"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "revert_reason": {
            "type": [
              "object",
              "null"
            ]
          },
          "risk_flags": {
            "description": "Token-check owner/holder/contract flags; informational, do not affect verdict",
            "items": {
              "properties": {
                "flag": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "route": {
            "type": [
              "string",
              "null"
            ]
          },
          "schema_version": {
            "type": "string"
          },
          "sell_ok": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "sell_tax_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "sellability": {
            "type": "object"
          },
          "sources": {
            "type": "array"
          },
          "status": {
            "enum": [
              "ok",
              "partial",
              "error"
            ],
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "token_check": {
            "type": "object"
          },
          "token_check_risk_level": {
            "type": [
              "string",
              "null"
            ]
          },
          "transfer_ok": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "transfer_tax_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "verdict": {
            "description": "Driven only by the simulation: sellability, buy/sell/transfer taxes, drained/no liquidity",
            "enum": [
              "ok",
              "caution",
              "avoid",
              "unknown"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema_version",
          "token",
          "status",
          "verdict",
          "reasons",
          "risk_flags",
          "disclaimer"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount_usd": 100,
            "token": "0x532f27101965dd16442E59d40670FaF5eBB142E4"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "block_number": 35000000,
            "buy_ok": true,
            "buy_tax_pct": 0,
            "cached": false,
            "chain": "base",
            "chain_id": 8453,
            "disclaimer": "Informational, not financial advice. Simulation of a hypothetical buy/transfer/sell against public Base state at the stated block; it is not a guarantee that a real trade will succeed or be taxed the same way (token owners can change rules at any time). Heuristic flags can be wrong; do your own research.",
            "gas": {
              "buy": 150000,
              "sell": 133537,
              "transfer": 40000
            },
            "pool": "0xBA3F945812a83471d709BCe9C3CA699A19FB46f7",
            "product": "pretrade-check",
            "reasons": [
              "buy, transfer and sell simulated successfully with < 1% tax"
            ],
            "revert_reason": null,
            "risk_flags": [
              {
                "flag": "HAS_ACTIVE_OWNER",
                "note": "contract has an active (non-renounced) owner"
              }
            ],
            "route": "uniswap_v3:fee_10000 WETH",
            "schema_version": "1.0",
            "sell_ok": true,
            "sell_tax_pct": 0,
            "status": "ok",
            "token": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
            "token_check_risk_level": "low",
            "transfer_ok": true,
            "transfer_tax_pct": 0,
            "verdict": "ok"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "amount_usd": {
                    "default": 100,
                    "description": "Hypothetical trade size in USD (capped to 5% of the pool's quote reserve)",
                    "maximum": 10000,
                    "minimum": 1,
                    "type": "number"
                  },
                  "router": {
                    "default": "auto",
                    "description": "Restrict the simulated pool type; auto = deepest supported WETH/USDC pool",
                    "enum": [
                      "auto",
                      "uniswap_v2",
                      "uniswap_v3",
                      "aerodrome"
                    ],
                    "type": "string"
                  },
                  "token": {
                    "description": "Base (chain 8453) ERC-20 token contract address",
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "token"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "block_number": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "buy_ok": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "buy_tax_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cached": {
                    "type": "boolean"
                  },
                  "chain": {
                    "type": "string"
                  },
                  "disclaimer": {
                    "type": "string"
                  },
                  "errors": {
                    "type": "array"
                  },
                  "gas": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "pool": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "product": {
                    "type": "string"
                  },
                  "reasons": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "revert_reason": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "risk_flags": {
                    "description": "Token-check owner/holder/contract flags; informational, do not affect verdict",
                    "items": {
                      "properties": {
                        "flag": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "route": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "schema_version": {
                    "type": "string"
                  },
                  "sell_ok": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "sell_tax_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "sellability": {
                    "type": "object"
                  },
                  "sources": {
                    "type": "array"
                  },
                  "status": {
                    "enum": [
                      "ok",
                      "partial",
                      "error"
                    ],
                    "type": "string"
                  },
                  "token": {
                    "type": "string"
                  },
                  "token_check": {
                    "type": "object"
                  },
                  "token_check_risk_level": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "transfer_ok": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "transfer_tax_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "verdict": {
                    "description": "Driven only by the simulation: sellability, buy/sell/transfer taxes, drained/no liquidity",
                    "enum": [
                      "ok",
                      "caution",
                      "avoid",
                      "unknown"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "schema_version",
                  "token",
                  "status",
                  "verdict",
                  "reasons",
                  "risk_flags",
                  "disclaimer"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "base",
    "token",
    "honeypot",
    "sellability",
    "tax",
    "bazaar"
  ],
  "sourceHost": "api.x402risk.com",
  "lastUpdated": "2026-09-28T16:18:21.289Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-28T16:18:20.835Z"
  },
  "metadata": {
    "serviceName": "Base Pre-Trade Sellability Check",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount_usd": 100,
              "token": "0x532f27101965dd16442E59d40670FaF5eBB142E4"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "block_number": 35000000,
              "buy_ok": true,
              "buy_tax_pct": 0,
              "cached": false,
              "chain": "base",
              "chain_id": 8453,
              "disclaimer": "Informational, not financial advice. Simulation of a hypothetical buy/transfer/sell against public Base state at the stated block; it is not a guarantee that a real trade will succeed or be taxed the same way (token owners can change rules at any time). Heuristic flags can be wrong; do your own research.",
              "gas": {
                "buy": 150000,
                "sell": 133537,
                "transfer": 40000
              },
              "pool": "0xBA3F945812a83471d709BCe9C3CA699A19FB46f7",
              "product": "pretrade-check",
              "reasons": [
                "buy, transfer and sell simulated successfully with < 1% tax"
              ],
              "revert_reason": null,
              "risk_flags": [
                {
                  "flag": "HAS_ACTIVE_OWNER",
                  "note": "contract has an active (non-renounced) owner"
                }
              ],
              "route": "uniswap_v3:fee_10000 WETH",
              "schema_version": "1.0",
              "sell_ok": true,
              "sell_tax_pct": 0,
              "status": "ok",
              "token": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
              "token_check_risk_level": "low",
              "transfer_ok": true,
              "transfer_tax_pct": 0,
              "verdict": "ok"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "amount_usd": {
                      "default": 100,
                      "description": "Hypothetical trade size in USD (capped to 5% of the pool's quote reserve)",
                      "maximum": 10000,
                      "minimum": 1,
                      "type": "number"
                    },
                    "router": {
                      "default": "auto",
                      "description": "Restrict the simulated pool type; auto = deepest supported WETH/USDC pool",
                      "enum": [
                        "auto",
                        "uniswap_v2",
                        "uniswap_v3",
                        "aerodrome"
                      ],
                      "type": "string"
                    },
                    "token": {
                      "description": "Base (chain 8453) ERC-20 token contract address",
                      "pattern": "^0x[0-9a-fA-F]{40}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "token"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "block_number": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "buy_ok": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "buy_tax_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cached": {
                      "type": "boolean"
                    },
                    "chain": {
                      "type": "string"
                    },
                    "disclaimer": {
                      "type": "string"
                    },
                    "errors": {
                      "type": "array"
                    },
                    "gas": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "pool": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "product": {
                      "type": "string"
                    },
                    "reasons": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "revert_reason": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "risk_flags": {
                      "description": "Token-check owner/holder/contract flags; informational, do not affect verdict",
                      "items": {
                        "properties": {
                          "flag": {
                            "type": "string"
                          },
                          "note": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "route": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "schema_version": {
                      "type": "string"
                    },
                    "sell_ok": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "sell_tax_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "sellability": {
                      "type": "object"
                    },
                    "sources": {
                      "type": "array"
                    },
                    "status": {
                      "enum": [
                        "ok",
                        "partial",
                        "error"
                      ],
                      "type": "string"
                    },
                    "token": {
                      "type": "string"
                    },
                    "token_check": {
                      "type": "object"
                    },
                    "token_check_risk_level": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "transfer_ok": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "transfer_tax_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "verdict": {
                      "description": "Driven only by the simulation: sellability, buy/sell/transfer taxes, drained/no liquidity",
                      "enum": [
                        "ok",
                        "caution",
                        "avoid",
                        "unknown"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "schema_version",
                    "token",
                    "status",
                    "verdict",
                    "reasons",
                    "risk_flags",
                    "disclaimer"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.x402risk.com",
    "manifest_name": "api.x402risk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "block_number": 0,
      "buy_ok": true,
      "buy_tax_pct": 0,
      "cached": true,
      "chain": "string",
      "disclaimer": "string",
      "errors": [
        "value"
      ],
      "gas": {},
      "pool": "string",
      "product": "string",
      "reasons": [
        "string"
      ],
      "revert_reason": {},
      "risk_flags": [
        {
          "flag": "string",
          "note": "string"
        }
      ],
      "route": "string",
      "schema_version": "string",
      "sell_ok": true,
      "sell_tax_pct": 0,
      "sellability": {},
      "sources": [
        "value"
      ],
      "status": "ok",
      "token": "string",
      "token_check": {},
      "token_check_risk_level": "string",
      "transfer_ok": true,
      "transfer_tax_pct": 0,
      "verdict": "ok"
    },
    "type": "string"
  }
}