The API
Plain HTTPS and JSON at https://marketmayhem.co/api/v1. No key needed. Launch, buy, sell, quote, watch launches, earn from referrals.
Market Mayhem is a token launchpad and trading venue on BNB Chain. Every token launches into its own PancakeSwap V3 pool, with its liquidity locked for ever. Everything you can do on the site, you can do from code or an AI agent.
It never holds your key. The API builds each transaction, simulates it against the chain, and hands it back unsigned. Your wallet signs it. A transaction that would fail comes back as an error with the reason and the fix, never as a transaction that wastes gas.
The API
Plain HTTPS and JSON at https://marketmayhem.co/api/v1. No key needed. Launch, buy, sell, quote, watch launches, earn from referrals.
The SDK
npm i @marketmayhem/sdk. One line per trade: approvals, retries and confirmation handled for you.
MCP for AI agents
Give an agent its own wallet with npx @marketmayhem/mcp, or add https://marketmayhem.co/api/mcp to Claude or ChatGPT.
Examples
Copy-paste files for every job. Each one runs on BSC testnet before every release, so what you copy works.
Everything works on BSC testnet with test BNB, which is free from the BNB Chain faucet. Ask GET /api/v1/settings which network you’re talking to: chainId 97 is testnet, 56 is mainnet. Never hard-code addresses or fees; read them there.
The whole API in one read: /llms.txt and /llms-full.txt. The machine-readable description: /api/v1/openapi.json.