# Crypto security (Base token + transaction intent) — BRAINIAC.software > Base token security prechecks (bytecode, DEX Screener, honeypot simulation, LP lock, sniper window) plus static EVM calldata and proxy storage layout checks before an agent swaps or signs. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota. Free and monthly plans use an account API key with prepaid credits. Pay as you go is optional: each operation lists a fixed USDC price on Base with the x402 exact scheme. Unpaid pay-as-you-go GET, HEAD, and POST return 402 payment terms (POST validates the body only after payment terms are satisfied). A request that carries payment-signature is not yet charged: settlement happens only after a successful (2xx) result that returns real data (status complete or partial). HTTP 4xx/5xx and coverage status failed or empty payloads are not charged. Settled 2xx responses include a payment-response header; uncharged responses do not. This file lists verified operations only (live entries in the API catalog). It does not claim that any LLM will index or prefer this file. ## Problems this topic solves - An agent needs Base token security signals before a swap - without treating a missing check as a pass. - A workflow needs sell simulation, deployer funding hops, two-source price agreement, LP lock status, or Sourcify verification. - A wallet flow needs static calldata vs declared intent or proxy storage layout comparison with no network reads. ## When an AI agent should use these APIs - Use token-security.* for Base (and documented multi-chain options on some routes) token security evidence with status complete|partial|failed and missing_items. - Use crypto-security.* for caller-supplied calldata / EIP-712 / Solidity storage layout checks processed locally (no chain state). - Do not treat not_checked, unknown LP lock, or incomplete sniper windows as safety approvals. No risk score is calculated. ## Authentication and payment - No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota. - Free and monthly plans: sign in, create an API key, send `Authorization: Bearer `. Plans and credit pools: https://www.brainiac.software/pricing - Pay as you go (optional): no account. Unpaid POST returns HTTP 402; pay exact USDC on Base (x402 exact scheme); retry with `payment-signature` and the same `Idempotency-Key` (64 hex chars). HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; status failed or empty payloads return non-2xx and are not charged. - Full call rules: https://www.brainiac.software/agent-instructions.txt - Payment pins: https://www.brainiac.software/.well-known/x402 and https://www.brainiac.software/api/v1/catalog - Listed prices in this topic: $0.001, $0.002, $0.01, $0.04, $0.05 USDC (pay as you go) or prepaid plan credits. ## REST 1. POST JSON to the operation path under https://www.brainiac.software/api/v1/ 2. Include `Idempotency-Key` for paid work. 3. On 402 (pay as you go), verify payTo/asset/network against published pins, pay, retry with `payment-signature`. 4. Read the operation docs URL and OpenAPI for the request schema. ## MCP 1. Connect: https://www.brainiac.software/mcp.txt (catalog https://www.brainiac.software/mcp) 2. Free discovery tools: `list_apis`, `search_endpoints`, `describe_endpoint`, `contact_us` 3. Paid tools call the same POST endpoints and prices as REST. 4. Overview: https://www.brainiac.software/mcp/about ## OpenAPI and human pages - Site OpenAPI: https://www.brainiac.software/api/v1/openapi.json - Human solution page: https://www.brainiac.software/solutions/base-token-security - Topic index: https://www.brainiac.software/llms.txt - Full catalogue: https://www.brainiac.software/llms-full.txt ## Product links - [Token Security & Risk Intelligence](https://www.brainiac.software/api/token-security) - Docs: https://www.brainiac.software/api/token-security/docs - Group llms.txt: https://www.brainiac.software/api/token-security/llms.txt - OpenAPI: https://www.brainiac.software/api/token-security/openapi.json - [Crypto Security](https://www.brainiac.software/api/crypto-security) - Docs: https://www.brainiac.software/api/crypto-security/docs - Group llms.txt: https://www.brainiac.software/api/crypto-security/llms.txt - OpenAPI: https://www.brainiac.software/api/crypto-security/openapi.json ## Error handling - Invalid JSON or schema → HTTP 400, not charged. - Pay-as-you-go unpaid → HTTP 402 with payment terms (not a charge). - Coverage `status` complete or partial with real data on HTTP 2xx → charged when applicable; `status` failed / empty → non-2xx, not charged. - Free lookup of a prior coverage result: GET https://www.brainiac.software/api/v1/results/%7Bresult_id%7D (expires; 404 if unknown). - Treat every output as a draft or lookup for a person to review. Not legal advice, identity confirmation, an official determination, or a certified filing. ## Limitations ### Token Security & Risk Intelligence - Only Base mainnet (chain id 8453) is assessed for most routes; source-verification accepts chainId. - A missing signal is not evidence that a token is safe. - Bytecode selector matches can be coincidental and do not prove a function is callable. - DEX Screener figures are feed reports, not pool balances read by this API. - sell-simulation, deployer-funding-trace, and price-two-source use tri-state pass|fail|not_checked; not_checked is never treated as pass. - sell-simulation uses Honeypot.is sizing; amountUsd is caller intent and may not match the simulated trade size. - Deployer funding labels are conservative; unlabeled origins stay origin_label=unknown with identified=false. - LP lock unknown/unlocked and incomplete sniper windows are not safety approvals. - No risk score is calculated. - HTTP 200 with status=partial means some checks completed, some unavailable. status=complete means no missing checks. status=failed means critical error or all checks unavailable (e.g. full RPC outage). missing_items lists unavailable checks with machine-readable reason: timeout, upstream_down, rate_limited, or not_supported. - HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; status failed or empty payloads return non-2xx and are not charged. There is no partial discount. Retrying missing checks requires a new paid call. - Idempotency after errors: payment-signature attached ≠ charged. A 402 without payment-signature does not store the key; 402/503 after payment-signature was attached release it; pre-reserve schema 400 does not store it. Responses after payment-signature was attached are stored and replay on same key+body; different body returns 409. Stored 4xx/5xx replays are not a second charge. After a 4xx prefer a new key once the body is fixed; after a 5xx reuse the same key only to retrieve the stored error. - Settlement signal: settled 2xx include a payment-response header; 4xx/5xx do not and are not charged. - missing_items.reason retry guidance: timeout and rate_limited - one retry after a delay with a new Idempotency-Key; upstream_down - retry only after the upstream recovers; not_supported - never retry that check. - Caller invariant: a response with any missing_items entry is never status=complete; a check listed in missing_items should not also appear as a completed finding of the same check. - Caller invariant for sources[]: sources[] is provenance only (source, url, retrievedAt). Entries are not keyed by check id and do not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is expressed only in missing_items (and unavailable findings), never by omitting the source or adding an error field on the source entry. - When Base RPC is fully unavailable, status=failed with missing_items containing rpc_unavailable (reason: upstream_down). - When DEX Screener is fully unavailable for liquidity/manipulation checks, status=partial if contract checks passed, status=failed if only DEX checks were requested. - Partial results are not cached for anonymous replay. Reusing the same Idempotency-Key for the same operation and body returns the stored response (including status=partial) without re-running checks; a new key runs a fresh call. Use retrievedAt and sources[].retrievedAt to see when sources were fetched for that response. - Successful coverage responses include result_id and received_at. GET /api/v1/results/{result_id} returns the original stored response without re-running checks (free; expires after 24 hours; listed in OpenAPI and /api/v1/catalog). Send Prior-Result-Id on a later paid call to set replaces_result_id on the new result. ### Crypto Security - This is static calldata analysis. It does not read chain state, simulate execution, or decide whether a contract is malicious or whether a transaction will succeed. - A function is decoded from the caller ABI, or from the standard ERC-20 transfer, transferFrom, approve, and increaseAllowance selectors when no ABI is supplied. - Other functions are not inferred. If the selector is unknown, intent_match is indeterminate. - Chain ID is accepted as a label and is not checked against a network. - Unlimited approvals are the uint256 maximum encoded in the calldata. No allowance is read from a contract. - Storage variables are matched by slot and offset. A matching name is not storage identity. - A storage result of compatible does not prove that an upgrade is safe or that runtime behavior is unchanged. - Struct, mapping, and dynamic-array layouts are compared only from the types map in the request. - intent-safety reads the supplied transaction or EIP-712 message. A known selector later in multicall, aggregate, or execute calldata is reported as an inner call and can be a coincidence. - storage-slot-grade treats the collision score as a weighted count of overlaps and moves, capped at 100. It is not a measured probability. - Responses include top-level status and missing_items. Static analysis typically returns status=partial with missing_items reason not_supported for chain_state_not_read. - HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; status failed or empty payloads return non-2xx and are not charged. Retrying missing checks requires a new paid call. - Successful coverage responses include result_id and received_at. GET /api/v1/results/{result_id} returns the original stored response without re-running checks (free; expires after 24 hours; listed in OpenAPI and /api/v1/catalog). ## Operations (16 verified) ### POST /api/v1/token-security/risk-verdict $0.01 USDC. Read a Base token contract and return an evidence-based verdict. Keywords: token verdict, token scanner, ERC-20 security, before you swap, bytecode check, DEX Screener, JSON-RPC, missing checks, no risk score, Base token, evidence-based, contract findings, swap safety, token assessment Inputs: tokenAddress, chain?, chainId? Docs: https://www.brainiac.software/api/token-security/risk-verdict Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" } ``` Example response: ```json { "status": "partial", "data": { "retrievedAt": "2026-11-02T18:00:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "chainId": 8453, "approvesInteraction": false, "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-02T18:00:01.000Z", "assessment": "signals_present", "findings": [ { "kind": "fact", "code": "contract_code_present", "detail": "The address has runtime code at the latest block.", "evidence": "2456" }, { "kind": "signal", "code": "selector_fe575a87", "detail": "Runtime bytecode contains the 4-byte selector for isBlacklisted(address). Presence in bytecode does not prove the function is reachable or privileged.", "evidence": "fe575a87" } ] }, "nextCursor": "eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lIiwicXVlcnlIYXNoIjoiNDQxMzZmYTM1NWIzNjc4YTExNDZhZDE2IiwicGFnZSI6MCwib2Zmc2V0IjowLCJob3AiOjB9", "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "Base JSON-RPC", "url": "https://mainnet.base.org", "retrievedAt": "2026-11-02T18:00:00.000Z" } ], "missing_items": [ { "check": "paused_read_timeout", "reason": "timeout", "detail": "eth_call for paused() timed out. Bytecode facts above still stand." } ], "limitations": [ "Absence of a signal is not evidence that the token is safe, and this response does not approve interacting with it.", "status=partial keeps successful evidence and lists only the timed-out check in missing_items. A reused Idempotency-Key replays this stored response; a new key" ] } ``` ### POST /api/v1/token-security/honeypot-risk-check $0.01 USDC. Look for observable pause and blacklist indicators in bytecode and standard calls. Keywords: honeypot check, before you buy or swap, tokenAddress, chainId, approvesInteraction, assessment, findings, Honeypot risk check Inputs: tokenAddress, chain?, chainId? Docs: https://www.brainiac.software/api/token-security/honeypot-risk-check Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "chain": "base" } ``` Example response: ```json { "status": "partial", "data": { "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "retrievedAt": "2026-11-02T18:00:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "chainId": 8453, "approvesInteraction": false, "assessment": "signals_present", "findings": [ { "kind": "fact", "code": "paused_returned_false", "detail": "paused() returned false. This does not prove that transfers are unrestricted.", "evidence": "paused()=false" }, { "kind": "signal", "code": "selector_0ecb93c0", "detail": "Runtime bytecode contains the 4-byte selector for addBlackList(address). Presence in bytecode does not prove the function is reachable or privileged.", "evidence": "0ecb93c0" } ] }, "nextCursor": "eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lIiwicXVlcnlIYXNoIjoiNDQxMzZmYTM1NWIzNjc4YTExNDZhZDE2IiwicGFnZSI6MCwib2Zmc2V0IjowLCJob3AiOjB9", "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "Base JSON-RPC", "url": "https://mainnet.base.org", "retrievedAt": "2026-11-02T18:00:00.000Z" } ], "missing_items": [ { "check": "sell_not_simulated", "reason": "not_supported", "detail": "No buy or sell was submitted or simulated, so a successful sell was not observed." } ], "limitations": [ "Buy and sell success was not simulated. A missing restriction selector does not prove that selling works." ] } ``` ### POST /api/v1/token-security/ownership-risk-check $0.01 USDC. Read owner(), EIP-1967 proxy slots, and bytecode selectors for mint, pause, and blacklist privileges. Keywords: token safety, token scanner, ERC-20 security, scam token, before you swap, pre-trade check, swap safety, before you buy or swap, tokenAddress, chainId, approvesInteraction, assessment, findings, Ownership risk check Inputs: tokenAddress, chain?, chainId? Docs: https://www.brainiac.software/api/token-security/ownership-risk-check Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "chain": "base" } ``` Example response: ```json { "status": "partial", "data": { "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "retrievedAt": "2026-11-02T18:00:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "chainId": 8453, "approvesInteraction": false, "assessment": "signals_present", "findings": [ { "kind": "fact", "code": "owner_returned", "detail": "owner() returned 0x0000000000000000000000000000000000000001.", "evidence": "0x0000000000000000000000000000000000000001" }, { "kind": "signal", "code": "selector_40c10f19", "detail": "Runtime bytecode contains the 4-byte selector for mint(address,uint256). Presence in bytecode does not prove the function is reachable or privileged.", "evidence": "40c10f19" } ] }, "nextCursor": "eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lIiwicXVlcnlIYXNoIjoiNDQxMzZmYTM1NWIzNjc4YTExNDZhZDE2IiwicGFnZSI6MCwib2Zmc2V0IjowLCJob3AiOjB9", "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "Base JSON-RPC", "url": "https://mainnet.base.org", "retrievedAt": "2026-11-02T18:00:00.000Z" } ], "missing_items": [ { "check": "privilege_use_not_observed", "reason": "not_supported", "detail": "No privileged transaction was executed. Selector evidence below still stands." } ], "limitations": [ "owner() returning an address does not list every key that can call a privileged function." ] } ``` ### POST /api/v1/token-security/liquidity-risk-assessment $0.01 USDC. Assess pool liquidity reported by the public DEX Screener API, including concentration across returned pools. Keywords: token safety, token scanner, ERC-20 security, scam token, before you swap, pre-trade check, swap safety, DEX Screener, before you buy or swap, tokenAddress, approvesInteraction, assessment, findings, pools, Liquidity risk assessment Inputs: tokenAddress, chain?, chainId? Docs: https://www.brainiac.software/api/token-security/liquidity-risk-assessment Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "chain": "base" } ``` Example response: ```json { "status": "partial", "data": { "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "retrievedAt": "2026-11-02T18:00:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "approvesInteraction": false, "assessment": "signals_present", "findings": [ { "kind": "fact", "code": "reported_liquidity_usd", "detail": "The summed reported USD liquidity across 2 Base pools is 25000000.", "evidence": "25000000" }, { "kind": "signal", "code": "liquidity_concentrated", "detail": "At least 90% of the summed reported USD liquidity is in one Base pool.", "evidence": "0.96" } ], "pools": [ { "dexId": "uniswap", "pairAddress": "0x0000000000000000000000000000000000000002", "quoteSymbol": "WETH", "liquidityUsd": 24000000, "volumeH24": 1000000, "url": "https://dexscreener.com/base/0x0000000000000000000000000000000000000002" } ] }, "nextCursor": "eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lIiwicXVlcnlIYXNoIjoiNDQxMzZmYTM1NWIzNjc4YTExNDZhZDE2IiwicGFnZSI6MCwib2Zmc2V0IjowLCJob3AiOjB9", "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "DEX Screener", "url": "https://api.dexscreener.com/latest/dex/tokens/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "retrievedAt": "2026-11-02T18:00:00.000Z" } ], "missing_items": [ { "check": "lp_lock_not_verified", "reason": "not_supported", "detail": "LP token lock, burn, and removal rights were not read from the pool contracts." } ], "limitations": [ "LP token lock, burn, and ownership were not verified." ] } ``` ### POST /api/v1/token-security/manipulation-signals $0.01 USDC. Report buy, sell, price-change, and volume signals from public DEX Screener data for the largest pool on the selected chain. Keywords: token safety, token scanner, ERC-20 security, scam token, before you swap, pre-trade check, swap safety, DEX Screener, before you buy or swap, tokenAddress, approvesInteraction, assessment, findings, Token manipulation signals, manipulation signals Inputs: tokenAddress, chain?, chainId? Docs: https://www.brainiac.software/api/token-security/manipulation-signals Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "chain": "base" } ``` Example response: ```json { "status": "partial", "data": { "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "retrievedAt": "2026-11-02T18:00:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "approvesInteraction": false, "assessment": "signals_present", "findings": [ { "kind": "fact", "code": "txns_h24", "detail": "DEX Screener reports 120 buys and 0 sells in the h24 window for the largest pool.", "evidence": "120/0" }, { "kind": "signal", "code": "sells_absent_h24", "detail": "The h24 feed shows buys and zero sells. That is a trading-pattern signal, not proof that selling is blocked.", "evidence": "120/0" } ] }, "nextCursor": "eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lIiwicXVlcnlIYXNoIjoiNDQxMzZmYTM1NWIzNjc4YTExNDZhZDE2IiwicGFnZSI6MCwib2Zmc2V0IjowLCJob3AiOjB9", "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "DEX Screener", "url": "https://api.dexscreener.com/latest/dex/tokens/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "retrievedAt": "2026-11-02T18:00:00.000Z" } ], "missing_items": [ { "check": "holders_not_measured", "reason": "not_supported", "detail": "Holder concentration was not measured from transfer history." } ], "limitations": [ "Buy and sell counts are aggregate feed statistics. They do not prove that any particular wallet can sell." ] } ``` ### POST /api/v1/token-security/due-diligence-report $0.01 USDC. Combine contract checks, DEX Screener observations, and a Honeypot.is sell-simulation into one report. Keywords: token safety, token scanner, ERC-20 security, scam token, before you swap, pre-trade check, swap safety, DEX Screener, before you buy or swap, tokenAddress, chainId, approvesInteraction, assessment, token, Token due diligence report Inputs: tokenAddress, chain?, chainId? Docs: https://www.brainiac.software/api/token-security/due-diligence-report Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "chain": "base" } ``` Example response: ```json { "status": "partial", "data": { "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "retrievedAt": "2026-11-02T18:00:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "chainId": 8453, "approvesInteraction": false, "assessment": "signals_present", "token": { "hasCode": true, "name": "USD Coin", "symbol": "USDC", "decimals": 6, "totalSupply": "1000000000000" }, "sellSimulation": { "sellable": "pass", "buyTax": 0, "sellTax": 0, "source": "Honeypot.is", "status": "complete", "missing_items": [] }, "checks": { "honeypot": { "assessment": "signals_present", "findings": [ { "kind": "signal", "code": "selector_fe575a87", "detail": "Runtime bytecode contains the 4-byte selector for isBlacklisted(address).", "evidence": "fe575a87" } ] }, "ownership": { "assessment": "signals_present", "findings": [ { "kind": "fact", "code": "owner_returned", "detail": "owner() returned an address.", "evidence": "0x0000000000000000000000000000000000000001" } ] }, "liquidity": { "assessment": "insufficient_evidence", "findings": [ { "kind": "unavailable", "code": "lp_lock_not_verified", "detail": "LP token lock was not verified.", "evidence": "not read" } ] }, "manipulation": { "assessment": "insufficient_evidence", "findings": [ { "kind": "unavailable", "code": "holders_not_measured", "detail": "Holder concentration was not measured.", "evidence": "not scanned" } ] } }, "agent": { "decision": "not_approved", "observedRestrictions": [], "signals": [ "Runtime bytecode contains the 4-byte selector for isBlacklisted(address)." ], "unavailable": [ "LP token lock was not verified.", "Holder concentration was not measured." ], "guidance": "Use the facts as observations and the signals as reasons to investigate. Do not interact with this token because a signal is absent." } }, "nextCursor": "eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lIiwicXVlcnlIYXNoIjoiNDQxMzZmYTM1NWIzNjc4YTExNDZhZDE2IiwicGFnZSI6MCwib2Zmc2V0IjowLCJob3AiOjB9", "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "Base JSON-RPC", "url": "https://mainnet.base.org", "retrievedAt": "2026-11-02T18:00:00.000Z" }, { "source": "DEX Screener", "url": "https://api.dexscreener.com/latest/dex/tokens/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "retrievedAt": "2026-11-02T18:00:00.000Z" } ], "missing_items": [ { "check": "lp_lock_not_verified", "reason": "not_supported", "detail": "LP token lock was not verified. Contract and ownership checks below still stand." } ], "limitations": [ "The report does not approve interaction and does not treat missing evidence as safety.", "A missing signal is not a safety approval." ] } ``` ### POST /api/v1/token-security/sell-simulation $0.01 USDC. Simulate buy then sell for a token via Honeypot.is (optional chain/chainId, default Base; also ethereum, arbitrum, optimism, polygon, bsc) and return sellable as pass, fail, or not_checked with buy/sell tax when Keywords: token safety, token scanner, ERC-20 security, scam token, honeypot check, can't sell, sell simulation, before you swap, pre-trade check, swap safety, Honeypot.is, before you buy or swap, tokenAddress, amountUsd, pairAddress Inputs: tokenAddress, amountUsd?, pairAddress?, chain?, chainId? Docs: https://www.brainiac.software/api/token-security/sell-simulation Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amountUsd": 100, "chain": "base" } ``` Example response: ```json { "status": "complete", "data": { "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-13T12:00:00.000Z", "retrievedAt": "2026-11-13T12:00:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "amountUsd": 100, "sellable": "pass", "buy_tax_pct": 0, "sell_tax_pct": 0, "revert_reason": null, "router": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24", "pool": "0x0000000000000000000000000000000000000002", "block_number": null, "amount_in": null, "amount_out": null }, "nextCursor": null, "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "Honeypot.is", "url": "https://api.honeypot.is/v2/IsHoneypot?address=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913&chainID=8453", "retrievedAt": "2026-11-13T12:00:00.000Z" } ], "missing_items": [], "limitations": [ "sellable is pass, fail, or not_checked. Absence of a honeypot flag is never recorded as pass without a successful simulation." ] } ``` ### POST /api/v1/token-security/deployer-funding-trace $0.01 USDC. Identify the token deployer via Blockscout when configured for the chain, walk early inbound funding hops, and report holder concentration clusters. Keywords: token safety, token scanner, ERC-20 security, scam token, before you swap, pre-trade check, swap safety, Blockscout, before you buy or swap, tokenAddress, maxHops, topHolders, deployer, funding path, funding_path Inputs: tokenAddress, maxHops?, topHolders?, chain?, chainId?, cursor? Docs: https://www.brainiac.software/api/token-security/deployer-funding-trace Example request: ```json { "tokenAddress": "0x532f27101965dd16442E59d40670FaF5eBB142E4", "maxHops": 3, "topHolders": 20, "chain": "base" } ``` Example response: ```json { "status": "partial", "data": { "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-13T12:00:00.000Z", "retrievedAt": "2026-11-13T12:00:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "deployer": "0x0000000000000000000000000000000000000001", "funding_path": [ { "address": "0x0000000000000000000000000000000000000001", "label": "deployer", "tx": "0xabc", "hop": 0 }, { "address": "0x0000000000000000000000000000000000000002", "label": "unknown", "tx": "0xdef", "hop": 1 } ], "origin_label": "unknown", "identified": false, "clusters": [ { "addresses": [ "0x0000000000000000000000000000000000000003" ], "share_pct": 42.5, "link_evidence": "single_holder_balance" }, { "addresses": [ "0x0000000000000000000000000000000000000003", "0x0000000000000000000000000000000000000004" ], "share_pct": 55.1, "link_evidence": "shared_funder:0x0000000000000000000000000000000000000005" } ], "max_cluster_share_pct": 55.1 }, "nextCursor": "eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lIiwicXVlcnlIYXNoIjoiNDQxMzZmYTM1NWIzNjc4YTExNDZhZDE2IiwicGFnZSI6MCwib2Zmc2V0IjowLCJob3AiOjB9", "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "Blockscout Base", "url": "https://base.blockscout.com/api/v2/addresses/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "retrievedAt": "2026-11-13T12:00:00.000Z" } ], "missing_items": [ { "check": "funding_hop_2", "reason": "not_supported", "detail": "No earlier incoming funding transaction was found at this hop." } ], "limitations": [ "identified=false / origin_label=unknown means the funding origin could not be labeled as cex, bridge, or mixer - that is a failed identification, not a neutral" ] } ``` ### POST /api/v1/token-security/price-two-source $0.001 USDC. Compare an on-pool DEX Screener USD price with Chainlink Data Feeds on Base and/or the Coinbase Exchange public ticker for a documented Base address→symbol map. Keywords: token safety, token scanner, ERC-20 security, scam token, before you swap, pre-trade check, swap safety, DEX Screener, Chainlink, Coinbase, before you buy or swap, tokenAddress, tolerancePct, tolerance pct, tolerance_pct, prices Inputs: tokenAddress, tolerancePct?, chain?, chainId? Docs: https://www.brainiac.software/api/token-security/price-two-source Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "tolerancePct": 2, "chain": "base" } ``` Example response: ```json { "retrievedAt": "2026-11-20T23:54:31.324Z", "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "tolerance_pct": 2, "prices": [ { "source": "dex_screener_pool", "value_usd": 1.00026, "as_of": "2026-11-20T23:54:31.324Z" }, { "source": "chainlink", "value_usd": 0.99984823, "as_of": "2026-11-20T13:00:56.000Z" } ], "deviation_pct": 0.0412, "agree": "pass", "pool": { "dexId": "alien-base", "pairAddress": "0x0E635F8EeED4F7279d56692D552F034ECE136019", "liquidityUsd": 84552.22 }, "status": "partial", "missing_items": [ { "check": "coinbase", "reason": "not_supported", "detail": "No Coinbase product USDC-USD or ticker failed." } ], "sources": [ { "source": "DEX Screener", "url": "https://api.dexscreener.com/latest/dex/tokens/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }, { "source": "Chainlink", "url": "https://docs.chain.link/data-feeds/price-feeds/addresses" } ] } ``` ### POST /api/v1/token-security/lp-lock-status $0.01 USDC. Check whether a Base token's DEX LP is locked in a documented locker contract (UNCX V2/V3/Aerodrome) via public Base RPC balanceOf reads. Keywords: lp lock, liquidity locked, UNCX, PinkSale, Team Finance, token security, Base, locker Inputs: tokenAddress, pairAddress? Docs: https://www.brainiac.software/api/token-security/lp-lock-status Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" } ``` Example response: ```json { "status": "complete", "data": { "retrievedAt": "2026-11-20T22:40:00.000Z", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "pools": [ { "pairAddress": "0x88a43bbdf9d098eec7bceda4e2494615dfd9bb9c", "dexId": "uniswap", "liquidityUsd": 24000000, "lockStatus": "unknown", "lockerName": null, "lockerAddress": null, "lockedAmount": null, "unlockTime": null } ] }, "nextCursor": null, "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "Base JSON-RPC", "url": "https://mainnet.base.org", "retrievedAt": "2026-11-20T22:40:00.000Z" } ], "missing_items": [], "limitations": [ "Unknown is not a safety approval." ] } ``` ### POST /api/v1/token-security/sniper-bundler-scan $0.01 USDC. Bounded first-window scan after liquidity is added on Base: early buyers, same-block multi-buys, and simple shared-funding flags from public Base RPC. Keywords: sniper, bundler, bundle buy, first block buyers, early buyers, token security, Base Inputs: tokenAddress, pairAddress?, maxBlocks?, maxBuyers? Docs: https://www.brainiac.software/api/token-security/sniper-bundler-scan Example request: ```json { "tokenAddress": "0x532f27101965dd16442E59d40670FaF5eBB142E4", "maxBlocks": 25, "maxBuyers": 100 } ``` Example response: ```json { "status": "complete", "data": { "retrievedAt": "2026-11-20T22:40:00.000Z", "tokenAddress": "0x532f27101965dd16442e59d40670faf5ebb142e4", "pairAddress": "0x00000000000000000000000000000000000000aa", "liquidityAddedAtBlock": "18000000", "scannedBlockRange": { "fromBlock": "18000000", "toBlock": "18000025" }, "earlyBuyers": [ { "address": "0x00000000000000000000000000000000000000bb", "blockNumber": "18000001", "txHash": "0xabc", "sameBlockBuyerCount": 1, "sharedFunding": false }, { "address": "0x00000000000000000000000000000000000000cc", "blockNumber": "18000002", "txHash": "0xdef", "sameBlockBuyerCount": 3, "sharedFunding": true } ], "uniqueBuyers": "2", "sameBlockMultiBuyCount": "1" }, "nextCursor": null, "progress": { "processed": 0, "total": null, "unit": "items", "scannedRange": null }, "sources": [ { "source": "Base JSON-RPC", "url": "https://mainnet.base.org", "retrievedAt": "2026-11-20T22:40:00.000Z" } ], "missing_items": [], "limitations": [ "Bounded first-window scan, not a full holder history." ] } ``` ### POST /api/v1/token-security/source-verification $0.002 USDC. Official Sourcify v2 lookup for a Base (or other chainId) token: match type, contract name, compiler, proxy flag, and whether an ABI is present. Keywords: sourcify, contract verification, verified source, ABI, Base token, exact_match, compiler Inputs: tokenAddress, chainId? Docs: https://www.brainiac.software/api/token-security/source-verification Example request: ```json { "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "chainId": 8453 } ``` Example response: ```json { "status": "complete", "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "chainId": 8453, "match": "exact_match", "contractName": "FiatTokenV2_2", "compiler": "0.8.24+commit.e11b9ed9", "proxy": true, "abiPresent": true, "sourcifyUrl": "https://repo.sourcify.dev/contracts/full_match/8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913/", "source": "Sourcify", "sourceUrl": "https://sourcify.dev/server/v2/contract/8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "missing_items": [] } ``` ### POST /api/v1/crypto-security/transaction-intent-verify $0.04 USDC. Compare an EVM transaction's calldata and native value with the action declared in the request. Keywords: before you sign or send a transaction, chainId, contractAddress, calldata, value, expectedAction, expected, abi, intent match, intent_match, risk level, risk_level, mismatches, decoded transaction, decoded_transaction Inputs: chainId, contractAddress, calldata, value, expectedAction, expected?, abi? Docs: https://www.brainiac.software/api/crypto-security/transaction-intent-verify Example request: ```json { "chainId": 8453, "contractAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "calldata": "0x095ea7b30000000000000000000000002222222222222222222222222222222222222222ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "value": "0", "expectedAction": "token_approval", "expected": { "spender": "0x2222222222222222222222222222222222222222", "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amount": "1000000", "nativeValue": "0" } } ``` Example response: ```json { "status": "partial", "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "missing_items": [ { "check": "chain_state_not_read", "reason": "not_supported", "detail": "No chain state was read. This response is local static analysis only." } ], "intent_match": false, "risk_level": "critical", "mismatches": [ { "field": "amount", "expected": "1000000", "actual": "115792089237316195423570985008687907853269984665640564039457584007913129639935", "detail": "The approval amount exceeds the expected amount." } ], "decoded_transaction": { "selector": "0x095ea7b3", "function_name": "approve", "parameters": [ { "name": "spender", "type": "address", "value": "0x2222222222222222222222222222222222222222" }, { "name": "amount", "type": "uint256", "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" } ] }, "warnings": [ { "code": "approval_exceeds_expected", "detail": "The approval amount is greater than the expected amount." }, { "code": "unlimited_approval", "detail": "The approval amount is the uint256 maximum. The calldata does not set an expiry." } ], "limitations": [ "This is static calldata analysis. It does not read chain state, simulate execution, or decide whether the target contract is malicious or whether the", "Chain ID is not checked against a network and does not change decoding." ] } ``` ### POST /api/v1/crypto-security/intent-safety $0.04 USDC. Read a caller-supplied EVM transaction or an EIP-712 typed-data message and describe the transfer, approval, permit, or outer call it encodes. Keywords: before you sign or send a transaction, transaction, typed data, intent safety score, intent_safety_score, unintended transfers risk, unintended_transfers_risk, human readable intent, human_readable_intent, Score transaction intent safety, intent safety Inputs: transaction?, typed_data? Docs: https://www.brainiac.software/api/crypto-security/intent-safety Example request: ```json { "transaction": { "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "value": "0", "data": "0x095ea7b30000000000000000000000002222222222222222222222222222222222222222ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" } } ``` Example response: ```json { "status": "partial", "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "missing_items": [ { "check": "chain_state_not_read", "reason": "not_supported", "detail": "No chain state was read. This response is local static analysis only." } ], "intent_safety_score": 55, "unintended_transfers_risk": 55, "human_readable_intent": "Approve 0x2222222222222222222222222222222222222222 to spend the maximum uint256 of the token at 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. The approval has no" } ``` ### POST /api/v1/crypto-security/proxy-upgrade-storage-audit $0.05 USDC. Compare the Solidity storage layout of an upgradeable implementation with a proposed replacement. Keywords: before you sign or send a transaction, current, proposed, proxyPattern, currentMetadata, proposedMetadata, compatibility status, compatibility_status, risk level, risk_level, storage differences, storage_differences, affected variables, affected_variables, slot collisions Inputs: proxyPattern?, current, proposed, currentMetadata?, proposedMetadata? Docs: https://www.brainiac.software/api/crypto-security/proxy-upgrade-storage-audit Example request: ```json { "proxyPattern": "uups", "currentMetadata": { "contractName": "Box", "compilerVersion": "0.8.24+commit.e11b9ed9" }, "proposedMetadata": { "contractName": "BoxV2", "compilerVersion": "0.8.26+commit.8a97fa7a" }, "current": { "storage": [ { "label": "value", "offset": 0, "slot": "0", "type": "t_uint256", "contract": "Box.sol:Box" }, { "label": "owner", "offset": 0, "slot": "1", "type": "t_address", "contract": "Box.sol:Box" }, { "label": "__gap", "offset": 0, "slot": "2", "type": "t_array(t_uint256)50_storage", "contract": "Box.sol:Box" } ], "types": { "t_uint256": { "encoding": "inplace", "label": "uint256", "numberOfBytes": "32" }, "t_uint128": { "encoding": "inplace", "label": "uint128", "numberOfBytes": "16" }, "t_address": { "encoding": "inplace", "label": "address", "numberOfBytes": "20" }, "t_array(t_uint256)50_storage": { "encoding": "inplace", "label": "uint256[50]", "numberOfBytes": "1600", "base": "t_uint256" }, "t_array(t_uint256)49_storage": { "encoding": "inplace", "label": "uint256[49]", "numberOfBytes": "1568", "base": "t_uint256" } } }, "proposed": { "storage": [ { "label": "value", "offset": 0, "slot": "0", "type": "t_uint256", "contract": "BoxV2.sol:BoxV2" }, { "label": "owner", "offset": 0, "slot": "1", "type": "t_uint256", "contract": "BoxV2.sol:BoxV2" }, { "label": "extra", "offset": 16, "slot": "1", "type": "t_uint128", "contract": "BoxV2.sol:BoxV2" }, { "label": "__gap", "offset": 0, "slot": "2", "type": "t_array(t_uint256)49_storage", "contract": "BoxV2.sol:BoxV2" } ], "types": { "t_uint256": { "encoding": "inplace", "label": "uint256", "numberOfBytes": "32" }, "t_uint128": { "encoding": "inplace", "label": "uint128", "numberOfBytes": "16" }, "t_address": { "encoding": "inplace", "label": "address", "numberOfBytes": "20" }, "t_array(t_uint256)50_storage": { "encoding": "inplace", "label": "uint256[50]", "numberOfBytes": "1600", "base": "t_uint256" }, "t_array(t_uint256)49_storage": { "encoding": "inplace", "label": "uint256[49]", "numberOfBytes": "1568", "base": "t_uint256" } } } } ``` Example response: ```json { "status": "partial", "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "missing_items": [ { "check": "chain_state_not_read", "reason": "not_supported", "detail": "No chain state was read. This response is local static analysis only." } ], "compatibility_status": "incompatible", "risk_level": "critical", "storage_differences": [ { "code": "slot_collision", "severity": "critical", "slot": "1", "offset": 0, "variable": "owner", "detail": "The proposed layout overlaps owner and extra at slot 1." }, { "code": "type_changed", "severity": "critical", "slot": "1", "offset": 0, "variable": "owner", "detail": "Slot 1 offset 0 changed from owner (address) to owner (uint256)." } ], "affected_variables": [ { "label": "owner", "slot": "1", "offset": 0, "change": "slot_collision" }, { "label": "owner", "slot": "1", "offset": 0, "change": "type_changed" } ], "slot_collisions": [ { "slot": "1", "offset": 0, "variables": [ "owner", "extra" ], "detail": "The proposed layout overlaps owner and extra at slot 1." } ], "type_changes": [ { "label": "owner", "slot": "1", "offset": 0, "previous_type": "address", "proposed_type": "uint256", "detail": "Slot 1 offset 0 changed from owner (address) to owner (uint256)." } ], "recommendations": [ "This comparison is structural. It does not execute the contracts or prove that an upgrade is safe.", "Do not upgrade until every incompatible storage difference is resolved." ], "limitations": [ "Only the storage layouts in this request were compared. No bytecode, proxy address, or chain state was read.", "Variables are matched by slot and offset. A matching name is not storage identity." ] } ``` ### POST /api/v1/crypto-security/storage-slot-grade $0.04 USDC. Compare two caller-supplied storage layouts by slot, offset, and size. Keywords: before you sign or send a transaction, previous, next, upgrade safety grade, upgrade_safety_grade, collision probability score, collision_probability_score, slot shift delta, slot_shift_delta, Grade proxy storage slot changes, storage slot grade Inputs: previous, next Docs: https://www.brainiac.software/api/crypto-security/storage-slot-grade Example request: ```json { "previous": [ { "name": "value", "slot": 0, "offset": 0, "size": 32 }, { "name": "owner", "slot": 1, "offset": 0, "size": 20 } ], "next": [ { "name": "value", "slot": 0, "offset": 0, "size": 32 }, { "name": "extra", "slot": 1, "offset": 0, "size": 32 }, { "name": "owner", "slot": 2, "offset": 0, "size": 20 } ] } ``` Example response: ```json { "status": "partial", "result_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90", "received_at": "2026-11-12T12:00:00.000Z", "missing_items": [ { "check": "chain_state_not_read", "reason": "not_supported", "detail": "No chain state was read. This response is local static analysis only." } ], "upgrade_safety_grade": "F", "collision_probability_score": 55, "slot_shift_delta": [ { "name": "owner", "from_slot": 1, "to_slot": 2, "from_offset": 0, "to_offset": 0 } ] } ```