Public API Reference
The PolyOrbit API allows developers to programmatically access data regarding their chains, positions, and market statuses. This API is RESTful and uses standard HTTP response codes.
Base URL
All requests should be prefixed with the following base URL. https://api.polyorbit.com/v1
Authentication
To access private user data, you must authenticate your requests using an API Key.
Generate an API Key from the Settings menu in the dashboard.
Include the key in the Authorization header of every request.
Header Format: Authorization: Bearer <YOUR_API_KEY>
Rate Limits
To maintain system stability, the API is rate-limited.
Standard Plan: 60 requests per minute.
Pro Plan: 300 requests per minute.
Exceeding this limit will result in a
429 Too Many Requestsresponse.
Endpoints
1. List Active Chains
Retrieve a list of all currently running automation chains for the authenticated user.
Method:
GETEndpoint:
/chainsParameters:
status(optional): Filter bywaiting,executing, orfailed.
Response Example:
JSON
2. Get Chain Details
Retrieve detailed logs and configuration for a specific chain.
Method:
GETEndpoint:
/chains/{chain_id}
3. Market Lookup
Search for available markets on Polymarket to use in your chains. This endpoint acts as a cached proxy for the Polymarket CLOB API to reduce latency.
Method:
GETEndpoint:
/markets/searchParameters:
query: The search keyword (e.g., "election").sort: Sort byvolumeorliquidity.
4. Account Summary
Get a snapshot of the user's balances and session key status.
Method:
GETEndpoint:
/account
Response Example:
JSON
Error Handling
The API uses standard HTTP codes to indicate success or failure.
200 OK: Request succeeded.400 Bad Request: Invalid parameters provided.401 Unauthorized: Invalid or missing API Key.404 Not Found: Resource does not exist.500 Server Error: Internal system issue.
Last updated
