API Documentation

Build powerful applications with the MANSHUR API.

Quick Start

1. Get API Key

Generate an API key from your account settings dashboard.

2. Make Requests

Use your API key to authenticate requests to our REST API.

3. Start Trading

Place orders, manage positions, and build automated strategies.

Authentication

Bearer Token Authentication

All API requests must include your API key in the Authorization header.

Authorization: Bearer YOUR_API_KEY

Code Examples

curl -X GET "https://api.manshur.com/v1/markets" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Endpoints

GET/v1/marketsList all markets

Parameters

categorystringFilter by category
statusstringFilter by status (open, closed, resolved)
limitnumberNumber of results (default: 50)
GET/v1/markets/{id}Get market details

Parameters

idstringrequiredMarket ID
GET/v1/markets/{id}/orderbookGet market order book

Parameters

idstringrequiredMarket ID
depthnumberOrder book depth (default: 10)
POST/v1/ordersPlace an order

Parameters

market_idstringrequiredMarket ID
outcome_idstringrequiredOutcome ID
sidestringrequiredyes or no
amountnumberrequiredOrder amount in cents
pricenumberLimit price (omit for market order)
GET/v1/positionsGet your positions
GET/v1/accountGet account info

Rate Limits

1000

requests per minute

100

orders per minute

10ms

average latency

SDKs & Libraries

Python
Available
JavaScript/Node.js
Available
Go
Q2 2026
Rust
Q3 2026