Skip to content

Get Single Order by ID

Fetches the full details of one order using its UUID.

GET /data/order/{order_id}

Base URL: https://api.openfish.fun

L2 authentication required. All five OPENFISH_* headers must be present.

ParameterTypeRequiredDescription
order_idstring (path)YesUUID of the order
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "LIVE",
"owner": "api-key-uuid",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000...0001",
"asset_id": "0xabc123...",
"side": "BUY",
"original_size": "100.00",
"size_matched": "0",
"price": "0.50",
"outcome": "Yes",
"expiration": "1735689600",
"order_type": "GTC",
"associate_trades": [],
"created_at": 1700000000
}
FieldTypeDescription
idstringOrder UUID
statusstringLIVE, MATCHED, CANCELED
ownerstringAPI key UUID that owns this order
maker_addressstringEthereum address of the maker
marketstringCondition ID
asset_idstringToken ID
sidestringBUY or SELL
original_sizestringSize at the time of submission
size_matchedstringCumulative filled quantity
pricestringLimit price
outcomestringMarket outcome label (Yes/No)
expirationstringUNIX timestamp after which the order expires
order_typestringGTC, FOK, GTD, FAK
created_atintegerUNIX timestamp when the order was created
Terminal window
curl https://api.openfish.fun/data/order/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "OPENFISH_ADDRESS: 0x..." \
-H "OPENFISH_SIGNATURE: ..." \
-H "OPENFISH_TIMESTAMP: 1700000000" \
-H "OPENFISH_API_KEY: ..." \
-H "OPENFISH_PASSPHRASE: ..."