Home

ordersHistory InjectiveSpotExchangeRPC

GET
https://inj-indexer.nownodes.io/api/exchange/spot/v1/ordersHistory

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Lists history orders posted from this subaccount

Parameters

subaccountIdstringquery

subaccount ID to filter orders for specific subaccount

marketIdstringquery

Market ID to filter orders for specific market

marketIdsArray<string>query
activeMarketsOnlybooleanfalsequery

Return only orders for active markets

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned

orderTypesArray<string>buysellstop_buystop_selltake_buytake_sellbuy_posell_poquery

filter by order types

directionstringquery

order side filter

startTimeinteger<int64>query

Search for orders which createdAt >= startTime, time in millisecond

endTimeinteger<int64>query

Search for orders which createdAt <= endTime, time in millisecond

statestringbookedpartial_filledfilledcanceledquery

Filter by order state

executionTypesArray<string>marketlimitquery
tradeIdstringquery

TradeId of the order we want to fetch

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.