Skip to main content
POST
/
trading
/
orders
curl --request POST \
  --url https://api.n2.market/api/v1/trading/orders \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "marketId": "0336c14f-5a39-47c1-a88d-beee2e38163a",
  "outcomeId": "yes",
  "side": "BUY",
  "orderType": "LIMIT",
  "price": "0.55",
  "quantity": "100",
  "timeInForce": "GTC"
}
'
{
  "orderId": "d4d6b1c3-8848-4463-9822-e90a168bcd83",
  "status": "FILLED",
  "filledQuantity": "100.00",
  "remainingQuantity": "0.00",
  "averageFillPrice": "0.55",
  "trades": [
    {
      "id": "trade-123",
      "price": "0.55",
      "quantity": "100.00",
      "timestamp": "2026-03-30T15:00:00.000Z"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API Key for authentication. Get your key from the dashboard.

Body

application/json
marketId
string<uuid>
required

Market UUID to place the order on

outcomeId
enum<string>
required

Outcome to bet on

Available options:
yes,
no
side
enum<string>
required

Order side. BUY = betting outcome will happen, SELL = betting outcome won't happen

Available options:
BUY,
SELL
orderType
enum<string>
required

Order type (currently only LIMIT is supported)

Available options:
LIMIT
price
string
required

Price between 0.01 and 0.99 (probability/100)

Pattern: ^0\.(0[1-9]|[1-9][0-9]?)$
Example:

"0.55"

quantity
string
required

Number of contracts to buy/sell

Example:

"100"

timeInForce
enum<string>
default:GTC

Time in force: GTC (Good Till Cancelled), IOC (Immediate or Cancel), FOK (Fill or Kill)

Available options:
GTC,
IOC,
FOK

Response

Order placed successfully

orderId
string<uuid>

UUID of the created order

status
enum<string>

Current order status

Available options:
OPEN,
PARTIALLY_FILLED,
FILLED,
CANCELLED
filledQuantity
string

Quantity that was immediately filled

remainingQuantity
string

Quantity remaining on the book

averageFillPrice
string

Average price of fills

trades
object[]

List of trades that occurred