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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/t0ll-xyz:t0ll-xyz-tx-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Toll — onchain coin checks Tx API
version: 1.0.0
description: 'Free reads from the chain itself. The token check reads Robinhood Chain (4663) and Solana (mainnet): who is behind a coin (wallets that moved together, who funded them, the dev''s record, whether the liquidity can be pulled) and a plain tally of findings. The deployer''s launch record and the wallet privacy check read Robinhood Chain (chain id 4663) only. Information only, not advice. Each read is rate-limited per caller and site-wide. The LARP check (is there a real product behind a coin) is /api/product/ask. An MCP server with the same reads is at https://t0ll.xyz/mcp. The paid reads over x402 are listed too (/api/x402/check, /api/x402/dev, /api/x402/fresh, /api/x402/tx (the pre-sign check, POST), /api/x402/stock (Toll Markets, one stock token), /api/x402/markets/fundamentals, /api/x402/markets/insiders, /api/x402/markets/institutions (13F holders), /api/x402/markets/guidance (earnings-release guidance, AI-extracted from cited filings), /api/x402/markets/macro, /api/x402/markets/stocks (the Markets board), /api/x402/pulse (Robinhood Chain right now) and, while it is open, /api/x402/larp), charged only for a whole answer. Toll Markets (Robinhood Stock Tokens: Chainlink reference price, pools, supply, corporate actions, SEC filings, company numbers, insider trades, 13F institutional holders, earnings-release guidance, macro) is free at /api/markets/stocks, /api/markets/stock/{id}, /api/markets/fundamentals/{id}, /api/markets/insiders/{id}, /api/markets/institutions/{id}, /api/markets/guidance/{id} and /api/markets/macro within its own daily calls; its stock event feed is /api/markets/feed (a Toll key, Pro and Team). The pre-sign check is also free at POST /api/tx/check.'
x-guidance: 'Free reads need no key: GET /api/check?addr=<token>&wait=1 for a coin check (any chain we read), /api/deployer?addr=<wallet> for a launcher''s record, /api/product/ask?q=<token> for the LARP check. Paid over x402 with no free quota: GET /api/x402/check/{token}?chain=rh|sol (0.005000 USD), /api/x402/dev/{wallet} (0.005000 USD), /api/x402/fresh?limit=1..20 (0.010000 USD), POST /api/x402/tx with the transaction, signature or x402 payment to check (0.005000 USD; free at POST /api/tx/check). With no payment a paid route answers 402 with what to pay; sign it and resend with PAYMENT-SIGNATURE. You are charged only for a whole answer.'
contact:
url: https://t0ll.xyz/agents/mcp
email: T0llxyz@outlook.com
servers:
- url: https://t0ll.xyz
tags:
- name: Tx
paths:
/api/tx/check:
post:
operationId: preSignCheck
security: []
summary: 'Pre-sign check: ALLOW / WARN / BLOCK a transaction, signature or x402 payment…'
description: 'POST what an agent is about to sign: a transaction ({chainId: 4663, from, to, data, value}), a message ({message: {kind: personal_sign | eth_sign, data}, origin}), an EIP-712 signature ({typedData}), an ERC-4337 user operation ({userOp, entryPoint}), an EIP-7702 authorizationList (alone or with the transaction), the wallet request as sent ({rpc: {method, params}}) or an x402 payment ({x402}: the 402''s PaymentRequired or one accepts entry, optional agentId and registry). Checks approvals (unlimited, to a plain wallet, to a contract we do not know, to a wallet the coin''s check names), transfers, the coin a swap buys (Toll''s coin check) by its calibrated findings (calibration window 2026-10-13..10-29), and an x402 payTo by ERC-8478 (the seller''s ERC-8004 agent wallet or a payee delegation it signed, Robinhood Chain or Base registry; the outcome in x-toll.payees[].payee8478). An ERC-8265 RiskAssessment (ethereum/ERCs PR #1753, section 7): action ALLOW / WARN / BLOCK (the worst warning: critical = BLOCK, high or medium = WARN), warnings [{ code, severity, message }] worst first, scanners [{ provider: Toll (ERC-8004 agent #20030 on chain 4663), verdict, url }], and Toll''s facts under x-toll (what was decoded, the coin a swap buys, the x402 seller). Robinhood Chain (4663) only: another chainId is a 400. Calldata it cannot read is WARN, never ALLOW; a coin still being read is WARN with retry_after_s, never ALLOW. It simulates the transaction at the current block (balance changes, approvals, revert; in x-toll.simulation) and can compare it with an optional intent (x-toll.intent). A failed simulation is reported as not read, never ALLOW; a transaction without from cannot be simulated and is WARN. It reads personal_sign and eth_sign messages (Sign-In with Ethereum included), any EIP-712 typed data (Permit, Permit2, EIP-3009, Seaport, UniswapX, and any other named field by field), ERC-4337 user operations, and multicall, Safe and smart-account batches leaf by leaf, each warning with its path; for a signature, what it lets someone take is in x-toll.take (simulated at the current block, in USD where Toll has a price), and every text field of EIP-712 typed data (domain name and version, message strings) is scanned for instructions aimed at AI agents (typed-data-text-injection). A single-pool Uniswap v4 swap off the coin''s main pool is quoted on the main pool (swap-route-worse when that pays more than 3% more). Uniswap v4 position manager calls (modifyLiquidities, its multicall, initializePool, permit) are read action by action: liquidity paid out to anyone but from is lp-take-to-other, a position minted to another wallet lp-mint-to-other. An x402 upto payment is flagged with its signed maximum, which the seller may charge in full (x402-scheme-upto); an auth-capture payment''s escrow, token collector and hold are read (x402-escrow-unknown, x402-collector-mismatch). An EIP-7702 delegation to a delegate Toll has verified by code hash is WARN, any other is BLOCK. It reads and warns; on its own it changes nothing onchain. A contract can require it through a single-use ALLOW ticket (the ticket field, returned in x-toll.ticket; https://t0ll.xyz/agents/allow). Facts, not advice. Free: thirty a minute per caller; the coin a swap buys counts against the free coins a day (one quota with /api/check), and past them it is not read (WARN coin-over-quota, with the paid route). Paid, no daily limit: /api/x402/tx.'
requestBody:
required: true
content:
application/json:
schema:
type: object
description: 'What the agent is about to sign. Any of: a transaction (chainId, from, to, data, value), a message to sign (message: personal_sign or eth_sign), an EIP-712 signature (typedData), an ERC-4337 user operation (userOp, entryPoint), an EIP-7702 authorizationList (alone or with the transaction), the wallet request as sent (rpc), an x402 payment (x402, with agentId optional). Robinhood Chain (4663) only for transactions and signatures.'
properties:
chainId:
type:
- integer
- string
description: 4663 (Robinhood Chain); any other chain is refused (400). Default 4663.
from:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
description: 'the signer (optional): a swap paying out to anyone else is flagged'
to:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
description: the contract or wallet the transaction is sent to
data:
type: string
pattern: ^0x([0-9a-fA-F]{2})*$
description: the calldata, hex ("0x" for a plain send)
value:
type: string
description: wei, decimal or 0x hex (default 0)
authorizationList:
type: array
description: 'a type-4 (EIP-7702) transaction''s authorizations [{chainId, address, nonce, yParity, r, s}] (also read as authorization_list), or a signAuthorization alone (no to, no data): a delegate Toll has verified by code hash is WARN, any other is BLOCK eip7702-delegation'
typedData:
type: object
description: 'an EIP-712 request {domain, types, primaryType, message}: Permit, Permit2 PermitSingle / PermitBatch / PermitTransferFrom, TransferWithAuthorization, Seaport, UniswapX, or any other (named field by field); what the signature lets someone take is in x-toll.take'
message:
type: object
description: a message to sign (also read as signMessage). Sign-In with Ethereum is read (domain against origin, expiry); eth_sign of a hash is BLOCK
properties:
kind:
type: string
enum:
- personal_sign
- eth_sign
data:
type: string
description: 'the message: 0x hex, or text'
origin:
type: string
description: the site asking (or top-level origin)
from:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
description: the signer
required:
- kind
- data
origin:
type: string
description: the site or app asking for the signature (https://...), checked against a Sign-In with Ethereum domain
rpc:
type: object
description: the wallet request as the agent would send it, read as the body it stands for. personal_sign [data, address], eth_sign [address, data], eth_signTypedData_v4 [address, typed data JSON], eth_sendTransaction [tx]
properties:
method:
type: string
enum:
- personal_sign
- eth_sign
- eth_signTypedData_v4
- eth_sendTransaction
params:
type: array
required:
- method
- params
userOp:
type: object
description: 'an ERC-4337 user operation (v0.6, v0.7 packed or unpacked, v0.8): sender, nonce, callData, gas fields, paymaster, signature. Its calls (execute, executeBatch, multicall, Safe) are opened and each checked with its path'
entryPoint:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
description: the user operation's EntryPoint; one Toll does not know is a warning
x402:
type: object
description: the PaymentRequired the seller's 402 sent (with accepts), or one accepts entry; optional payment (the signed payload or its authorization) and resource (the URL paid for)
agentId:
type:
- integer
- string
description: the x402 seller's ERC-8004 agent id, when known (else the 402's extra.erc8004, else it is looked up by the resource URL's host on Robinhood Chain)
registry:
type: string
pattern: ^eip155:[0-9]+:0x[0-9a-fA-F]{40}$
description: 'the identity registry agentId is in, CAIP-10 (default eip155:4663:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432; Base: eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432)'
intent:
type: object
description: 'Optional: what the agent means to do. Toll compares it with the decoded call and the simulation; each difference is a warning (intent-mismatch, intent-recipient-mismatch, intent-extra-outflow, sim-outflow-undeclared), listed in x-toll.intent. Amounts are base units as decimal strings (USDG has 6 decimals).'
required:
- action
properties:
action:
type: string
enum:
- swap
- transfer
- approve
- pay
sellToken:
type: string
description: 'the token sent or approved: a token: its address (0x + 40 hex) or ETH, WETH or USDG'
sellAmount:
type: string
pattern: ^[0-9]+$
description: how much of sellToken leaves the signer, base units
buyToken:
type: string
description: 'the token a swap buys: a token: its address (0x + 40 hex) or ETH, WETH or USDG'
minBuy:
type: string
pattern: ^[0-9]+$
description: the least of buyToken the swap must give, base units
to:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
description: who should receive the assets
spender:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
description: who an approve lets spend
maxAmount:
type: string
pattern: ^[0-9]+$
description: the most an approve may allow, base units
tolerancePct:
type: number
minimum: 0
description: extra outflow allowed over sellAmount, in percent (default 1)
additionalProperties: false
intentText:
type: string
minLength: 1
maxLength: 300
description: 'Optional, instead of intent: what the agent means to do in plain words, at most 300 characters (e.g. "swap 10 USDG for HOOD, send to my wallet"). Toll''s AI reads it into an intent (tokens only ETH, WETH, USDG, an official Stock Token or a coin this transaction names; an address only when the text holds it), shown in x-toll.intent.understood, then compared like intent. Not read in time = a low warning intent-text-not-read. Ignored when intent is sent.'
example: swap 10 USDG for HOOD, send to my wallet
ticket:
description: 'Optional: ask for a single-use ALLOW ticket, an EIP-712 "Toll Allow" v1 signature (chain 4663) that a contract can require before it runs this exact call. Issued only for an ALLOW, or a WARN with no high or critical warning, for a transaction with from and no authorizationList; valid for 60 s; returned in x-toll.ticket, or x-toll.ticket.why when none. true = scope call, any consumer.'
oneOf:
- type: boolean
- type: object
properties:
consumer:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
description: 'the contract that will check the ticket (default: any)'
scope:
type: string
enum:
- call
- v4swap
description: 'call (default): binds to, value and data; v4swap: binds the v4 swap the transaction makes (HookrRouter swap calls)'
swap:
type: object
description: 'v4swap: the swap expected; it must equal the one the transaction makes'
properties:
poolId:
type: string
pattern: ^0x[0-9a-fA-F]{64}$
zeroForOne:
type: boolean
amountSpecified:
type: string
description: int256, decimal (negative = exact input)
sqrtPriceLimitX96:
type: string
description: uint160, decimal
additionalProperties: false
additionalProperties: true
example:
chainId: 4663
from: '0x5388872a6bbb5fd94533a4dab2a7a1cab02fa5bc'
to: '0x5fc5360d0400a0fd4f2af552add042d716f1d168'
data: '0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'
value: '0'
responses:
'200':
description: The assessment.
content:
application/json:
schema:
$ref: '#/components/schemas/RiskAssessment'
'400':
description: Not a request this check reads, or a chain other than Robinhood Chain (4663).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: The body is too large.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many checks this minute. Wait a minute.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Tx
components:
schemas:
RiskAssessment:
type: object
description: ERC-8265 RiskAssessment. Toll's own fields are x- prefixed, as the ERC reserves for vendors.
properties:
action:
type: string
enum:
- ALLOW
- WARN
- BLOCK
warnings:
type: array
items:
type: object
properties:
code:
type: string
description: machine-readable reason, e.g. unbounded-approval-to-eoa, coin-strong-against, x402-payee-mismatch
severity:
type: string
enum:
- low
- medium
- high
- critical
message:
type: string
x-toll-evidence:
type: object
description: the facts behind this warning
required:
- code
- severity
- message
scanners:
type: array
items:
type: object
properties:
provider:
type: string
verdict:
type: string
enum:
- ALLOW
- WARN
- BLOCK
url:
type: string
required:
- provider
- verdict
x-toll:
type: object
description: scanner (ERC-8004 agent id, chain id, registry), checked_at (UTC), decoded (each with its path inside a batch or user operation), coins, payees, retry_after_s, simulation, take, to, intent, link, note
properties:
simulation:
type: object
description: 'the transaction simulated at the current block (eth_simulateV1): status success | reverted | insufficient-eth | not-read. not-read (with why: timeout, rpc, shape, no-from, busy) means its effects were not read, never that it is clean; insufficient-eth carries have, want and the effects with the balance topped up.'
properties:
status:
type: string
enum:
- success
- reverted
- insufficient-eth
- not-read
block:
type: integer
description: the block the simulation ran on top of
baseHash:
type: string
description: that block's hash
gasUsed:
type: string
description: gas the call used, decimal (the L1 fee is not included)
revertReason:
type: string
description: 'when reverted: the reason, decoded when it can be'
deltas:
type: array
description: 'balance changes, netted per token and holder: [{ token (0xeeee...eeee = ETH), name? (ETH, WETH, USDG, CREDIT (Orbio), ORBIO), holder, delta (signed base units, decimal) }]'
items:
type: object
approvals:
type: array
description: 'approvals the call sets: [{ token, owner, spender, amount (base units, decimal; null when it has no amount), kind: erc20 | permit2 | nft-all, approved? }]'
items:
type: object
why:
type: string
description: 'when not-read: why'
take:
type: object
description: 'present only for a typed-data signature: what it lets someone take, simulated from the owner at the current block. status read | none | not-read; not-read (with why) means it was not measured, never that nothing can be taken'
properties:
status:
type: string
enum:
- read
- none
- not-read
takes:
type: array
description: 'when read: [{ token, owner, spender, signed (base units, decimal, or unlimited), balance, permit2Allowance?, takeable (what the spender could take now; null = not measured), nonceOk, expired, block, note?, symbol?, decimals?, usd? (the amount moved in the simulated pull, in USD; null = no price), simulated? (the simulated pull: status moved | nothing | reverted | not-read, moved, received, to, spender, method, block, why?), line? (the same in one plain sentence) }]'
items:
type: object
why:
type: string
description: 'when none or not-read: why'
to:
type: array
description: 'facts on the transaction''s to (and the call''s to when an agent wallet forwards it): whether it has code, its nonce, what Toll knows of it'
items:
type: object
intent:
type: object
description: present only when an intent was sent
properties:
given:
type: boolean
matched:
type: boolean
description: true when no intent finding was made
findings:
type: array
items:
type: string
description: the warning codes the intent raised
ticket:
type: object
description: 'present only when a ticket was asked: { ticket: { scope, verdict, account, consumer, subject, validAfter, validUntil, nonce, reportHash }, signature, signer } (EIP-712 "Toll Allow" v1, chain 4663, no verifyingContract), or { why }'
required:
- action
- warnings
Error:
type: object
properties:
error:
type: string
retryable:
type: boolean
code:
type: string
enum:
- still_reading
- busy
- over_quota
- rate_limited
- bad_address
- chain_off
- unavailable
- read_failed
description: 'Stable machine code for this no-answer (/api/check): still_reading, busy, over_quota, rate_limited, bad_address, chain_off, unavailable, read_failed'
required:
- error
securitySchemes:
TollPass:
type: apiKey
in: header
name: x-toll-pass
description: A Toll key from https://t0ll.xyz/toll#keys.
TollBearer:
type: http
scheme: bearer
description: 'The same Toll key as Authorization: Bearer <key>.'
externalDocs:
url: https://t0ll.xyz/agents/mcp
description: Toll for AI apps