Skip to main content
POST
Post a new order

Request contract

  • Method and path: POST /apis/v1/polymarket/order
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/polymarket/order
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.012 USD per successful request. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
order
object
required

Order payload submitted to the CLOB API. In CLOB V2, expiration remains in the POST /order wire body for GTD/order-expiry handling, but it is not part of the EIP-712 signed order struct.

owner
string
required

UUID of the API key owner

Example:

"f4f247b7-4ac7-ff29-a152-04fda0a8755a"

deferExec
boolean
default:false

Whether to defer execution

orderType
enum<string>
default:GTC

Time in force

Available options:
GTC,
FOK,
GTD,
FAK
postOnly
boolean
default:false

Whether the order must rest on the book and not match immediately. Only supported for GTC and GTD orders.

Response

Order successfully processed

orderID
string
required

Unique identifier for the order (order hash)

Example:

"0xabcdef1234567890abcdef1234567890abcdef12"

status
enum<string>
required

Status of the order after processing

Available options:
live,
matched,
delayed
success
boolean
required

Whether the order was successfully processed

Example:

true

errorMsg
string

Error message (empty on success)

Example:

""

makingAmount
string

Amount the maker is providing in fixed-math with 6 decimals

Example:

"100000000"

takingAmount
string

Amount the taker is providing in fixed-math with 6 decimals

Example:

"200000000"

tradeIDs
string[]

Array of trade IDs (present when status is 'matched')

transactionsHashes
string[]

Array of transaction hashes (present when status is 'matched')

Example: