Build on the future.
The majjha API gives you programmatic access to prediction markets — discover markets, stream live order books, place and manage orders, and track your portfolio. REST for requests, WebSocket for realtime.
Base URLs
majjha runs two environments with the identical API: a free play-money sandbox and the real-money site. Every endpoint exists on both — only the host changes.
Production
https://api-play.majjha.com play — free play-money sandbox
https://api.majjha.com live — real moneyRunning locally?
The development engine listens on
http://localhost:7890. Point your client at that base URL when working against a local stack.Start here
REST resources
The API is organised around these resource groups, top of the hierarchy first.