Prediction Market API Docs and Trading Bot Guides
Musashi documentation covers three jobs: getting a bot live, understanding the REST endpoints, and inspecting the raw source docs behind the API. Start with the quickstart, then move into the reference pages as your integration gets more specific.
Start Here
Trading Bot Quickstart
Build a working prediction market bot with Musashi, Polymarket, and Kalshi.
Polymarket API Reference
Endpoint-by-endpoint documentation for the feed, markets, arbitrage, and movers APIs.
Interactive Docs Console
Browse the raw markdown, schema, OpenAPI, and code examples that power the docs.
Recommended Flow
- 1.
Read the trading bot quickstart to understand the signal-to-execution workflow.
- 2.
Use the Polymarket API reference to map the endpoint shapes and query parameters your bot needs.
- 3.
Open the interactive docs console when you want the underlying markdown, schema, or example payloads.
Keep Exploring
Frequently Asked Questions
What should I read first?
Start with the trading bot quickstart if you want a working integration path. It explains how to poll the feed, interpret signals, and connect execution on Polymarket or Kalshi.
Where is the endpoint reference?
The Polymarket API reference page documents the feed, markets, arbitrage, and movers endpoints. The interactive docs console at /ai exposes the raw source files behind those docs.
Do I need an API key?
No. The read endpoints are currently public during beta and do not require API keys. Trading execution still requires credentials with the execution venue you use.