HexScan Simulate API

The Simulate API from HexScan — 1 operation(s) for simulate.

GitHub OpenAPI

Operations 2

POST /simulate Simulate buy-then-sell -- can you actually sell this token? #
GET /simulate Get payment challenge #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hexscan-xyz:hexscan-xyz-simulate-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hexscan-xyz-simulate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HexScan Token Security Scanner Simulate API
  version: 1.0.0
  description: Is this token safe to buy? Honeypot detection, rug-pull and scam check for any ERC-20 token. Risk score 0-100 from our on-chain checks plus GoPlus. Not an audit. $0.10/scan via x402.
  contact:
    name: HexScan
    url: https://hexscan.xyz
    email: rowan@basecradle.com
servers:
- url: https://hexscan.xyz
tags:
- name: Simulate
paths:
  /simulate:
    post:
      summary: Simulate buy-then-sell -- can you actually sell this token?
      description: Real on-chain transfer simulation via eth_call. Checks if a holder can transfer tokens out. Returns canBuy, canSell, revertReason, and verdict.
      x402:
        price: $0.01
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        payTo: '0x841Ef35b7b7ee4C820BFF040369a8Ade4741b45d'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                address:
                  type: string
                  description: ERC-20 contract address (0x...)
                chain:
                  type: string
                  description: Blockchain name
                  enum:
                  - ethereum
                  - base
                  - arbitrum
                  - optimism
                  - polygon
                  - bsc
                  - avalanche
              required:
              - address
              - chain
      responses:
        '200':
          description: Simulation result with canBuy, canSell, verdict, revertReason
        '402':
          description: Payment required -- x402 challenge
      tags:
      - Simulate
      operationId: postSimulate
      x-operation-id-source: derived
    get:
      summary: Get payment challenge
      responses:
        '402':
          description: Payment required -- x402 challenge
      tags:
      - Simulate
      operationId: getSimulate
      x-operation-id-source: derived