Skip to main content
POST
Submit Order

Headers

PX-Key-Id
string
required

The key id issued for your signing keypair.

PX-Timestamp
string
required

Unix seconds at signing, valid within 30 seconds of the server clock.

PX-Signature
string
required

Ed25519 signature of the request

PX-Content-Sha256
string
required

Hex SHA-256 of the request body, or the SHA-256 of the empty string when there is no body.

Idempotency-Key
string
required

Idempotency key for this request. Re-sending the same key with the same body returns the original result and creates no duplicate; re-sending it with a different body is rejected with 422.

Minimum string length: 1
Example:

"2f1a8c4e-0b3d-4a9c-8e7f-1a2b3c4d5e6f"

Body

application/json
marketSlug
string
required

Limitless market slug, exactly as the venue's market API names it.

Minimum string length: 1
Example:

"doge-up-or-down-daily-1787500800"

tokenId
string
required

Limitless outcome conditional-token id (raw integer string).

Example:

"10999813436902295279687793687143205491693625423224337570276428722503253471600"

side
enum<string>
required

Order direction.

Available options:
BUY,
SELL
Example:

"BUY"

type
enum<string>
required

Use "limit" for GTC and "market" for FAK or FOK.

Available options:
MARKET,
LIMIT
amount
string
required

Order size in dollars for an immediate BUY unless amountUnit is shares, and in shares otherwise.

Example:

"2"

timeInForce
FillAndKill · object

Execution policy; defaults to FAK.

stpPolicy
enum<string>

Self-trade policy within the shared wallet; defaults to CANCEL_MAKER.

Available options:
CANCEL_MAKER,
CANCEL_TAKER,
CANCEL_BOTH
Example:

"CANCEL_MAKER"

Response

Order accepted; status is the order's recorded state, and acceptance alone does not mean it is resting or filled

orderId
string<uuid>
required

Issued order id.

Example:

"3f8b2c9a-2d18-4f7e-9c2a-1b6e1f0c8a4d"

status
enum<string>
required

Order lifecycle status.

Available options:
PENDING,
SUBMITTED,
OPEN,
FILLED,
CANCELLED,
REJECTED
Example:

"OPEN"