Predict API (Beta)
WebSocket
Copy Page
Predict API (Beta)
FAQs
Deployed Contracts
Guides
Understanding the Orderbook
[TS] How to authenticate your API requests
[PY] How to authenticate your API requests
How to create or cancel orders
WebSocket
General Information
Request Format
Response Format
Subscription Topics
Heartbeats
Client Example
Authorization
Get auth message
GET
Get JWT with valid signature
POST
Categories
Get categories
GET
Get category by slug
GET
Get all tags
GET
Markets
Get markets
GET
Get market by ID
GET
Get market statistics
GET
Get market last sale information
GET
Get the orderbook for a market
GET
Orders
Get order by hash
GET
Get orders
GET
Get order match events
GET
Create an order
POST
Remove orders from the orderbook
POST
Accounts
Get connected account
GET
Get account activity
GET
Set a referral
POST
Positions
Get positions
GET
Get positions by address
GET
Search
Search categories and markets
GET
OAuth
Finalize a OAuth connection
POST
Get the orders for a OAuth connection
POST
Create an order for a OAuth connection
POST
Cancel the orders for a OAuth connection
POST
Get the positions for a OAuth connection
POST
WebSocket
Copy Page
Client Example
Realtime Client Example
#
An example implementation of consuming our websocket api with graceful handling of heartbeats, subscribem, and message parsing.
Modified at
2026-01-16 11:14:48
Previous
Heartbeats
Next
Get auth message