Trade Rail: refuse trades you cannot exit
A free quote API for trading bots and agents on Arc, X1 and BNB Chain. Before you buy, we simulate buying and selling back at your size on the latest block. A token you could not sell, or whose round trip costs more than your limit (15% at most), is refused. Otherwise you get the real pool and unsigned transactions for your own wallet. We never hold a key or your money; your wallet signs and broadcasts.
One call
GET https://apexfaucet.xyz/api/rail/quote ?chain=arc|x1|bnb &token=<token address> &side=buy|sell &amount=<buy: USDC on Arc, XNT on X1, BNB on BNB · sell: tokens> &from=<your wallet> (needed for the transaction and for sells) &slippage=0.03 (optional) &maxLossPct=15 (optional, 0.5 to 15)
Reply: ok, refused with the reason, check (buy works, sell works, round-trip loss in % at your size), expectedOut, minimumOut and txs: unsigned transactions to sign in order. Free up to 2,000 quotes a day per program. Also in our MCP server as trade_rail_quote (POST https://apexfaucet.xyz/api/mcp).
What it covers
| chain | venues | the check | fee |
|---|---|---|---|
| Arc | every pool in our index of 246,000 Uniswap v4 pools, Argus launchpad included | buy then sell, simulated through the pool's hook | none this week |
| BNB | PancakeSwap V2, four.meme bonding curves | buy and approve, then sell all in the next block (same-block sells are blocked by many anti-bot rules) | none this week |
| X1 | XDEX and the APEX AMM, best of 3 routes | price impact, and the transaction simulated against your wallet | the router's platform fee, inside the transaction and shown in the quote |
What it cannot see: a token that blocks sells later, blacklists a wallet after you buy, or changes its tax afterwards. The verdict holds at check time.
Refused trades, live
The full list: /api/rail/refusals · counts: /api/rail/stats. Who asked is never recorded.
Rules we hold ourselves to
We never trade ahead of a quote you ask for, never use your quotes or intents for our own trades, and our own traders cannot read this log. Software only: no custody, no orders placed for you, no recommendation of any token. Nothing here is advice; prices move.