API Reference
API Reference
All endpoints are prefixed with https://predictengine.ai/api/v1
Response Format
All responses return JSON. Successful responses include the data directly. Errors follow this format:
{
"detail": "Error description",
"status_code": 400
}Markets
GET
/markets1 crGET
/markets/:id1 crGET
/markets/:id/orderbook2 crGET
/markets/search?q=1 crGET
/markets/trending1 crTrading
POST
/trade5 crGET
/positions1 crGET
/positions/:id1 crPOST
/positions/:id/close5 crBots
GET
/bots1 crPOST
/bots3 crGET
/bots/:id1 crPOST
/bots/:id/start3 crPOST
/bots/:id/stop1 crPATCH
/bots/:id2 crDELETE
/bots/:id1 crWallet
GET
/wallet/balance1 crGET
/wallet/transactions1 crAccount
GET
/meGET
/usageNeed more detail?
Our interactive Swagger docs let you try endpoints directly in your browser.
Open Interactive Docs