Flap Trading API
The simplest way to trade and launch tokens on Flap - the launchpad on BNB Chain - through an API. Buy and sell any Flap token, on its bonding curve or in the PancakeSwap pool it graduates to; launch new ones, with or without a tax.
shrine.trade is a Flap API for executing buys and sells, streaming every launch and graduation the moment it happens, creating tokens with a dev buy, reading curve and tax state, and collecting creator revenue - across both venues a Flap token passes through.
Start with Buy & Sell, watch the live feed, or launch a token.

One API, both Flap venues
Flap tokens on their bonding curve and Flap tokens in their PancakeSwap pool after graduation. Pass a token address and the API routes it - the request is the same before and after graduation. Tokens priced in USD1, or in a tokenised stock like NVDAB, TSLAB or SPYB, are bought with plain BNB; Flap swaps on the way in, as part of the transaction.
Why shrine.trade
- Nothing to sign up for. No account, no API key, no rate plan. Send the request.
- Non-custodial by construction. The API hands back an unsigned transaction; your wallet signs it and hands the signed bytes back to be broadcast. We never see a key and never touch funds - and you never need an RPC.
- Everything in BNB. Buy any token with BNB, whatever it is priced in. Sell back to BNB by default.
- Tax tokens, handled. Flap's tax tokens - the most common kind on BNB - quote correctly on every side, on the curve and after graduation.
- FREE live feed. Every launch and graduation over WebSocket, within a second of the block.
- Fast. Quotes come from Flap's own Portal, simulated as your wallet, with every other chain read done in parallel - a few hundred milliseconds end to end.
- Checked before you sign. Funds, balances, approvals, buy quotas and slippage are verified up front, so what you get back lands.
- Front-run protected.
- Scripts, not SDKs. Each page carries a complete Node.js and Python script. Edit the constants at the top and run it; there is nothing to install beyond ethers or web3.
- Built for bots. Stable error codes, consistent nonces, BNB-denominated amounts, and the sniper tutorial to start from.
Base URL: https://api.shrine.trade/bnb
Endpoints
| Endpoint | What it does |
|---|---|
POST /api/local-trade | Buy or sell any Flap token, curve or PancakeSwap → Buy & Sell |
POST /api/send | Broadcast a transaction you signed - no RPC of your own needed → Sending |
WS /api/launches/ws | Live feed of launches and graduations → Live Launches |
POST /api/create-token | Launch a token on Flap, standard or tax, with an optional dev buy → Create Token |
GET /api/token/{address} | Curve state, progress, tax, buy quota, quote asset → Token Info |
GET /api/fees/{wallet} · POST /api/claim-fees | What your launches earned, and the transactions that pay it out → Creator Revenue |
Questions?
Read the FAQ for supported venues, fees, amounts, slippage, private-key safety and the live feed. Or follow a tutorial - sniping launches, trading tax tokens, and what gas costs on BNB Chain.
Stay updated
Releases are announced on X, @shrinetrade. For help, the Telegram group is where the team answers.
If you build with an AI coding tool, point it at llms-full.txt: the whole of this site as one plain-text file.
shrine.trade is a Flap and PancakeSwap API for BNB Chain developers and traders. It is an independent integration, not affiliated with Flap or Binance; Flap's contracts and its protocol fees belong to Flap. Built by traders, for traders.