Skip to main content
GET
/
v1
/
api
/
orders
List orders
curl --request GET \
  --url https://api.dotprediction.io/v1/api/orders \
  --header 'X-API-Key: <api-key>'
{
  "orders": [
    {
      "order_id": "<string>",
      "platform": "<string>",
      "market_id": "<string>",
      "side": "buy",
      "outcome": "<string>",
      "type": "limit",
      "price": 123,
      "size": 123,
      "filled_size": 123,
      "remaining_size": 123,
      "average_fill_price": 123,
      "status": "<string>",
      "time_in_force": "<string>",
      "client_order_id": "<string>",
      "fees": {
        "maker_fee": 123,
        "taker_fee": 123,
        "total_fee": 123
      },
      "created_at": "<string>",
      "updated_at": "<string>",
      "expiration": "<string>"
    }
  ],
  "pagination": {
    "total": 123,
    "limit": 123,
    "has_more": true,
    "next_cursor": "<string>"
  },
  "meta": {
    "platform": "<string>",
    "request_time_ms": 123,
    "idempotent_replay": true
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Generate one via the dashboard or the /v1/api/auth/api-keys endpoint.

Query Parameters

platform
enum<string>
required

The platform to query orders from.

Available options:
kalshi,
polymarket,
limitless
credential_id
integer

Credential ID to use. Defaults to your stored credential for the platform.

market_id
string

Filter by market ID.

status
string

Filter by order status.

limit
integer
default:50

Max results to return (default 50, max 200).

Required range: x <= 200
cursor
string

Pagination cursor from a previous response.

Response

List of orders.

orders
object[]
pagination
object
meta
object