Pular para o conteúdo principal
GET
/
trading
/
orders
/
{orderId}
Obter detalhes da ordem
curl --request GET \
  --url https://api.n2.market/api/v1/trading/orders/{orderId} \
  --header 'X-API-Key: <api-key>'
{
  "id": "d4d6b1c3-8848-4463-9822-e90a168bcd83",
  "marketId": "0336c14f-5a39-47c1-a88d-beee2e38163a",
  "outcomeId": "yes",
  "side": "BUY",
  "orderType": "LIMIT",
  "price": "0.55",
  "originalQuantity": "100.00",
  "remainingQuantity": "0.00",
  "filledQuantity": "100.00",
  "averageFillPrice": "0.55",
  "status": "FILLED",
  "timeInForce": "GTC",
  "createdAt": "2026-03-30T14:00:00.000Z",
  "updatedAt": "2026-03-30T14:05:00.000Z"
}

Autorizações

X-API-Key
string
header
obrigatório

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

Parâmetros de caminho

orderId
string<uuid>
obrigatório

UUID da ordem

Resposta

Detalhes da ordem recuperados com sucesso

id
string<uuid>
marketId
string<uuid>
outcomeId
string
side
enum<string>
Opções disponíveis:
BUY,
SELL
orderType
enum<string>
Opções disponíveis:
LIMIT,
MARKET
price
string
originalQuantity
string
remainingQuantity
string
filledQuantity
string
averageFillPrice
string
status
enum<string>
Opções disponíveis:
OPEN,
PARTIALLY_FILLED,
FILLED,
CANCELLED
timeInForce
enum<string>
Opções disponíveis:
GTC,
IOC,
FOK
createdAt
string<date-time>
updatedAt
string<date-time>