BNB Prediction Market

API Documentation

Integrate BNB Prediction Market into your applications

Smart Contract ABI

Interact directly with our smart contracts on BNB Smart Chain.

const contract = new ethers.Contract(address, abi, signer);

REST API Endpoints

Query market data and user positions programmatically.

GET /api/markets - List all markets

GET /api/markets/:id - Get market details

GET /api/user/:address - Get user positions

WebSocket Streams

Subscribe to real-time market updates and price changes.

ws://api.bnbmarket.io/stream/markets