Flap & four.meme Trading API
The simplest way to trade and launch tokens on BNB Chain's two launchpads, Flap and four.meme, through one API. Buy and sell any Flap or four.meme token, on its bonding curve or in the PancakeSwap pool it graduates to; launch new ones on Flap, with or without a tax.
shrine.trade is a Flap API and a four.meme API in one: it executes buys and sells, streams every launch and graduation on either launchpad the moment it happens, creates tokens with a dev buy, reads curve and tax state, and collects creator revenue - across every venue a BNB Chain memecoin passes through.
Start with Buy & Sell, watch the live feed, or launch a token.


One API, two launchpads, three venues
A Flap token on its curve, a four.meme token on its curve, and either of them in its PancakeSwap pool after graduation. Pass a token address and the API works out whose it is and where it trades - the request is the same on every launchpad, before and after graduation, and the response says protocol: FLAP or FOURMEME. Tokens priced in USDT, USD1, BNCB or a tokenised stock like NVDAB, TSLAB or SPYB are bought with plain BNB; the launchpad swaps on the way in, as part of the transaction.
four.meme API
four.meme is the busiest launchpad on BNB Chain: tokens launch on a bonding curve priced in BNB, USDT, USD1 or one of Binance's tokenised stocks (BNCB, DJTB, QQQB, ...), and graduate to a PancakeSwap V2 pair. Through this API you buy any of them with BNB or with the asset they are priced in, sell them back, read their curve state and anti-sniper fee, and stream every four.meme launch and graduation over WebSocket. Everything four.meme charges (its 1% trading fee, the opening anti-sniper fee, a tax token's tax) is inside the quote.
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. Flap sells pay out BNB by default; four.meme sells pay out the asset the token is priced in.
- Tax tokens, handled. Flap's and four.meme'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 or four.meme 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 Flap and four.meme 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, anti-sniper fee, 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.