Injective-indexer services API doc
v1.0https://inj-indexer.nownodes.ioNowNodes indexerInjective Indexer Services provide APIs to work with orders, orderbook and transactions on Injective chain
Authentication
api-keyAuthapiKeyAPI Key: api-key in header
Indexer
Aggregator
Aggregator implements coingecko/cmc integration API spec
derivativeContracts Aggregator
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
This endpoint provides a summary of all derivative contracts traded on the exchange
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
derivativeOrderbook Aggregator
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
This endpoint provide order book information with at least depth = 100 (50 each side) returned for a given market pair/ticker
Parameters
ticker_idstringrequiredquerySpecify unique ticker to search.
depthinteger<int64>queryOrders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
spotHistoricalTrades Aggregator
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
This endpoint provide data on historical completed trades for a given market pair.
Parameters
ticker_idstringrequiredquerySpecify unique ticker to search.
typestringrequiredqueryTo indicate nature of trade - buy/sell - for a given market pair.
limitinteger<int64>queryNumber of historical trades to retrieve from time of query. [0, 200, 500...]. 0 returns full history.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
spotOrderbook Aggregator
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
This endpoint provide order book information with at least depth = 100 (50 each side) returned for a given market pair/ticker
Parameters
ticker_idstringrequiredquerySpecify unique ticker to search.
depthinteger<int64>queryOrders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
spotPairs Aggregator
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Provides a summary of cryptoasset trading pairs available on injective exchange.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
spotTickers Aggregator
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
This endpoint provides 24-hour pricing and volume information on each market pair available on injective exchange.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
Swagger
The API Swagger specification
Download ./swagger/index.html
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Provide Swagger-UI html document
Response
File downloaded
Download ./swagger/
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Serve static content.
Parameters
pathstringrequiredpathRelative file path
Response
File not found
File not found
ChronosAPI
ChronosAPI implements historical data API for e.g. TradingView.
derivativeMarketConfig ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Data feed configuration data for TradingView.
Response
OK response.
Bad Request response.
Internal Server Error response.
derivativeMarketHistory ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Request for history bars of derivativeMarket for TradingView.
Parameters
symbolstringquerySpecify unique ticker to search.
marketIdstringqueryAs an alternative is possible to provide a marketId
resolutionstringrequiredquerySymbol resolution. Possible resolutions are daily (D or 1D, 2D ... ), weekly (1W, 2W ...), monthly (1M, 2M...) and an intra-day resolution – minutes(1, 2 ...).
frominteger<int64>queryUnix timestamp (UTC) of the leftmost required bar, including from
tointeger<int64>requiredqueryUnix timestamp (UTC) of the rightmost required bar, including to. It can be in the future. In this case, the rightmost required bar is the latest available bar.
countbackinteger<int64>queryNumber of bars (higher priority than from) starting with to. If countback is set, from should be ignored.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
derivativeMarketSummary ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Gets derivative market summary for the latest interval (hour, day, month)
Parameters
marketIdstringrequiredqueryMarket ID of the derivative market
indexPricebooleanqueryRequest the summary of index price feed
resolutionstringhour60mday24hweek7daysmonth30daysrequiredquerySpecify the resolution
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
allDerivativeMarketSummary ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Gets batch summary for all active markets, for the latest interval (hour, day, month)
Parameters
indexPricebooleanqueryRequest the summary of index price feed
resolutionstringhour60mday24hweek7daysmonth30daysrequiredquerySpecify the resolution
Response
OK response.
Bad Request response.
Internal Server Error response.
derivativeMarketSymbolInfo ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get a list of all derivativeMarket instruments for TradingView.
Parameters
groupstringqueryID of a symbol group. It is only required if you use groups of symbols to restrict access to instrument's data.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
derivativeMarketSymbolSearch ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get info about specific derivative market symbol by ticker.
Parameters
symbolstringrequiredquerySpecify unique ticker to search.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
exchangeInfo ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
returns exchange infos for all markets
Response
OK response.
Bad Request response.
Internal Server Error response.
Leaderboard ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Request sorted account list by balance on current relayer
Parameters
resolutionstring1d7d28dcustom1dqueryLeaderboard time range. Default is 1d
limitinteger[1, 100]100queryNumber of leaderboard entries to retrieve. Default is 100
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
LeaderboardRank ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Request account rank in leaderboard
Parameters
resolutionstring1d7d28dcustom1dqueryLeaderboard time range. Default is 1d
subaccountIDstringrequiredquerySubaccount ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
MarketSnapshot ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Request for cached markets history bars. Max age is 1h.
Parameters
marketIDsArray<string>requiredquerySpecify multiple marketIDs to search.
resolutionstring1515306012024072014401querySymbols resolution(minutes). Default is 1
countbackinteger[1, 1440]1440queryNumber of bars returned, starting from the recent ones.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
spotMarketConfig ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Data feed configuration data for TradingView.
Response
OK response.
Bad Request response.
Internal Server Error response.
spotMarketHistory ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Request for history bars of spotMarket for TradingView.
Parameters
symbolstringquerySpecify unique ticker to search
marketIdstringqueryAs an alternative is possible to provide a marketId
resolutionstringrequiredquerySymbol resolution. Possible resolutions are daily (D or 1D, 2D ... ), weekly (1W, 2W ...), monthly (1M, 2M...) and an intra-day resolution – minutes(1, 2 ...).
frominteger<int64>queryUnix timestamp (UTC) of the leftmost required bar, including from
tointeger<int64>requiredqueryUnix timestamp (UTC) of the rightmost required bar, including to. It can be in the future. In this case, the rightmost required bar is the latest available bar.
countbackinteger<int64>queryNumber of bars (higher priority than from) starting with to. If countback is set, from should be ignored.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
spotMarketSummary ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Gets spot market summary for the latest interval (hour, day, month)
Parameters
marketIdstringrequiredqueryMarket ID of the spot market
resolutionstringhour60mday24hweek7daysmonth30daysrequiredquerySpecify the resolution
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
allSpotMarketSummary ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Gets batch summary for all active markets, for the latest interval (hour, day, month)
Parameters
resolutionstringhour60mday24hweek7daysmonth30daysrequiredquerySpecify the resolution
Response
OK response.
Bad Request response.
Internal Server Error response.
spotMarketSymbolInfo ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get a list of all spotMarket instruments for TradingView.
Parameters
groupstringqueryID of a symbol group. It is only required if you use groups of symbols to restrict access to instrument's data.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
spotMarketSymbolSearch ChronosAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get info about specific spot market symbol by ticker.
Parameters
symbolstringrequiredquerySpecify unique ticker to search.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectiveAuctionRPC
InjectiveAuctionRPC defines gRPC API of the Auction API.
auctions InjectiveAuctionRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Provide the historical auctions info
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
auctionEndpoint InjectiveAuctionRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Provide historical auction info for a given auction
Parameters
roundinteger<int64>requiredpathThe auction round number. -1 for latest.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
EventProviderAPI
EventProviderAPI provides processed block events for different backends.
GetABCIBlockEvents EventProviderAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get raw block events for selected height
Body
eventTypesArray<string>Array of event types
heightinteger<int64>requiredResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetBlockEvents EventProviderAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get processed block events for selected backend
Parameters
backendstringexchangeexplorerchronoscampaignsexchangerequiredpathSelect backend processor
heightinteger<int64>requiredpathResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetCustomEvents EventProviderAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get custom processed block events for selected backend
Parameters
eventsstringrequiredquerySpecify custom events to get
backendstringexchangeexplorerchronosexchangerequiredpathSelect backend processor
heightinteger<int64>requiredpathResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetLatestHeight EventProviderAPI
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get latest block from event provider
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectiveExchangeRPC
InjectiveExchangeRPC defines gRPC API of an Injective Exchange service.
broadcastCosmosTx InjectiveExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
BroadcastCosmosTx broadcasts a signed Web3 transaction
Body
pubKeyCosmosPubKeysenderAddressstringsender address
signaturestringHex-encoded ethsecp256k1 sender signature bytes
txstring<binary>proto encoded tx
Response
OK response.
Not Found response.
Internal Server Error response.
broadcastTx InjectiveExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
BroadcastTx broadcasts a signed Web3 transaction
Body
chainIDintegerSpecify Web3 chainID (from prepateTx) for the target Tx
feePayerstringFee payer address provided by service
feePayerSigstringHex-encoded ethsecp256k1 signature bytes from fee payer
modestringsyncasyncblocksyncBroadcast mode
msgsArray<string>List of Cosmos proto3-encoded Msgs from tx
pubKeyCosmosPubKeysignaturestringHex-encoded ethsecp256k1 signature bytes
txstring<binary>Amino-encoded Tx JSON data (except Msgs)
Response
OK response.
Not Found response.
Internal Server Error response.
getFeePayer InjectiveExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Return fee payer information's
Response
OK response.
Internal Server Error response.
getTx InjectiveExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetTx gets transaction details by hash.
Parameters
hashstringrequiredpathTransaction hash in hex without 0x prefix (Cosmos-like).
Response
OK response.
Not Found response.
Internal Server Error response.
prepareCosmosTx InjectiveExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
PrepareCosmosTx generates a Web3-signable body for a Cosmos transaction
Body
chainIDintegerSpecify chainID for the target tx
feeCosmosTxFeememostringTextual memo information to attach with tx
msgsArray<string>List of Cosmos proto3-encoded Msgs to include in a single tx
senderAddressstringsender address provided
timeoutHeightintegerBlock height until which the transaction is valid.
Response
OK response.
Not Found response.
Internal Server Error response.
prepareTx InjectiveExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
PrepareTx generates a Web3-signable body for a Cosmos transaction
Body
chainIDintegerSpecify chainID for the target tx
feeCosmosTxFeememostringTextual memo information to attach with tx
msgsArray<string>List of Cosmos proto3-encoded Msgs to include in a single tx
sequenceintegerAccount sequence number (nonce) of signer
signerAddressstringSpecify Ethereum address of a signer
timeoutHeightintegerBlock height until which the transaction is valid.
Response
OK response.
Not Found response.
Internal Server Error response.
InjectiveAccountsRPC
InjectiveAccountsRPC defines API of Exchange Accounts provider.
orderStates InjectiveAccountsRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
List order states by order hashes
Parameters
spotOrderHashesArray<string>queryderivativeOrderHashesArray<string>queryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
portfolio InjectiveAccountsRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Provide the account's portfolio value in USD.
Parameters
accountAddressstringrequiredpathAccount address
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
rewards InjectiveAccountsRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Provide historical trading rewards
Parameters
epochinteger<int64>queryThe distribution epoch sequence number. -1 for latest.
accountAddressstringqueryAccount address for the rewards distribution
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
subaccountBalanceEndpoint InjectiveAccountsRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Gets a balance for specific coin denom
Parameters
subaccountIdstringrequiredpathSubaccountId of the trader we want to get the trades from
denomstringrequiredpathSpecify denom to get balance
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
subaccountBalancesList InjectiveAccountsRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
List subaccount balances for the provided denoms.
Parameters
denomsArray<string>queryFilter balances by denoms. If not set, the balances of all the denoms for the subaccount are provided.
subaccountIdstringrequiredpathSubaccountId of the trader we want to get the trades from
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
subaccountHistory InjectiveAccountsRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get subaccount's deposits and withdrawals history
Parameters
denomstringqueryFilter history by denom
transferTypesArray<string>internalexternalwithdrawdepositqueryFilter history by transfer type
skipinteger0querySkip will skip the first n item from the result
limitinteger<= 100100queryLimit is used to specify the maximum number of items to be returned
endTimeinteger<int64>queryUpper bound of account transfer history's executedAt
subaccountIdstringrequiredpathSubaccountId of the trader we want to get the history from
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
subaccountOrderSummary InjectiveAccountsRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get subaccount's orders summary
Parameters
marketIdstringqueryMarketId is limiting order summary to specific market only
orderDirectionstringbuysellqueryFilter by direction of the orders
subaccountIdstringrequiredpathSubaccountId of the trader we want to get the summary from
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
subaccountsList InjectiveAccountsRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
List all subaccounts IDs of an account address
Parameters
accountAddressstringrequiredpathAccount address, the subaccounts owner
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectiveCampaignRPC
InjectiveCampaignRPC defined a gRPC service for Injective Campaigns.
campaigns InjectiveCampaignRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
List current round active campaigns
Parameters
accountAddressstringqueryAddress of login account, if not specified it will return no user rewards
roundIdinteger<int64>queryRound ID, if not specified, it will return latest roundId
toRoundIdinteger<int32>queryThis will return campaign x where x.roundId <= toRoundId. Useful for listing multiple rounds
contractAddressstringqueryContract address that manages the round and reward
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
ranking InjectiveCampaignRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Lists all participants in campaign
Parameters
marketIdstringqueryMarketId of the campaign
accountAddressstringqueryAccount address
limitinteger<int64>queryskipintegerquerycontractAddressstringqueryContract address that manages the round and reward
campaignIdstringrequiredpathCampaign ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
listGuilds InjectiveCampaignRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
List guilds by campaign
Parameters
limitinteger[1, 100]100queryLimit number of returned guilds
skipinteger<int64>0querySkip some first guilds in the list for next page
sortBystringvolumetvlquerySort by some metrics
campaignContractstringrequiredpathCampaign contract address
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
listGuildMembers InjectiveCampaignRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
List guild members of given campaign and guildId
Parameters
limitinteger[1, 100]100queryLimit number of returned guild members
skipinteger<int64>0querySkip some first guild members in the list for next page
includeGuildInfobooleanfalsequerywhether to include guild summary info, it's better to use this in terms of latency, instead of sending 2 requests we just need once
sortBystringvolumetvlquerySort by some metrics
campaignContractstringrequiredpathCampaign contract address
guildIdstringrequiredpathID of guild, inside campaign
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
getGuildMember InjectiveCampaignRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get single member guild info
Parameters
campaignContractstringrequiredpathCampaign contract address
addressstringrequiredpathUser address
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectiveDerivativeExchangeRPC
InjectiveDerivativeExchangeRPC defines gRPC API of Derivative Markets provider.
binaryOptionsMarkets InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
BinaryOptionsMarkets gets a list of Binary Options Markets
Parameters
marketStatusstringactivepausedsuspendeddemolishedexpiredactivequeryFilter by market status
quoteDenomstringqueryFilter by the Coin denomination of the quote currency
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
binaryOptionsMarket InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
BinaryOptionMarket gets details of a single binary options market
Parameters
marketIdstringrequiredpathMarketId of the market we want to fetch
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
fundingPayments InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
FundingPayments gets the funding payments for a trader.
Parameters
subaccountIdstringquerySubaccountId of the trader we want to get the positions from
skipintegerquerySkip will skip the first n item from the result
limitinteger<int64>queryLimit is used to specify the maximum number of items to be returned.
marketIdstringqueryMarketIds of the funding payment we want to fetch. Using this for only one market id. This field is prioritized
marketIdsArray<string>queryFilter by market ids. Using this field for fetching funding payments from multiple market ids
endTimeinteger<int64>queryUpper bound of funding payment updatedAt
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
fundingRates InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
FundingRates gets the historical funding rates for a market.
Parameters
skipinteger[0, 10000]0querySkip will skip the first n item from the result
limitinteger<int64>queryLimit is used to specify the maximum number of items to be returned.
marketIdstringqueryMarketId of the position we want to fetch
endTimeinteger<int64>queryUpper bound of funding timestamp
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
liquidablePositions InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
LiquidablePositions gets all the liquidable positions.
Parameters
marketIdstringqueryMarket ID to filter orders for specific market
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
markets InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Markets gets a list of Derivative Markets
Parameters
marketStatusstringactivepausedsuspendeddemolishedexpiredactivequeryFilter by market status
quoteDenomstringqueryFilter by the Coin denomination of the quote currency
marketStatusesArray<string>activepausedsuspendeddemolishedexpiredqueryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
market InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Market gets details of a single derivative market
Parameters
marketIdstringrequiredpathMarketId of the market we want to fetch
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
orders InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
DerivativeLimitOrders gets the limit orders of a derivative Market.
Parameters
marketIdstringqueryMarketId of market we want to fetch orders from. Using this field for one single marketId
marketIdsArray<string>queryMarketIds of the markets of which we want to get order from, use this field for fetching orders from multiple markets
orderSidestringbuysellqueryLook for specific order side
subaccountIdstringqueryLook for specific subaccountId of an order
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
isConditionalstringtruefalsequeryOnly search for conditional/non-conditional orders
orderTypestringbuysellstop_buystop_selltake_buytake_sellbuy_posell_poquerySearch for specific order type
includeInactivebooleanfalsequeryShould include inactive orders
subaccountTotalOrdersbooleanfalsequeryChoose to return subaccount total orders
tradeIdstringqueryTradeId of the order we want to fetch
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
ordersHistory InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Lists history orders posted from a subaccount
Parameters
subaccountIdstringquerysubaccount ID to filter orders for specific subaccount
marketIdsArray<string>querymarketIdstringqueryMarket ID to filter orders for specific market
activeMarketsOnlybooleanfalsequeryReturn only orders for active markets
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned
orderTypesArray<string>buysellstop_buystop_selltake_buytake_sellbuy_posell_poqueryfilter by order types
directionstringqueryorder side filter
startTimeinteger<int64>querySearch for orders which createdAt >= startTime, time in millisecond
endTimeinteger<int64>querySearch for orders which createdAt <= endTime, time in millisecond
isConditionalstringtruefalsequeryOnly search for conditional/non-conditional orders
orderTypestringbuysellstop_buystop_selltake_buytake_sellbuy_posell_poqueryfilter by order type
statestringbookedpartial_filledfilledcanceledqueryFilter by order state
executionTypesArray<string>marketlimitquerytradeIdstringqueryTradeId of the order we want to fetch
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
positions InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Positions gets the positions for a trader.
Parameters
subaccountIdstringquerySubaccountId of the trader we want to get the positions from
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
marketIdstringqueryMarketId of the position we want to fetch. Use this field for fetching from single market
marketIdsArray<string>queryMarketIds of the markets we want to filter. Use this field for fetching from multiple markets
directionstringlongshortqueryfilter by direction of the position
subaccountTotalPositionsbooleanfalsequeryset to True to return subaccount total positions
accountAddressstringqueryfilter by account address
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
trades InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Trades gets the trades of a Derivative Market.
Parameters
marketIdstringqueryMarketId of the market's orderbook we want to fetch
marketIdsArray<string>queryMarketIds of the markets of which we want to get trades
executionSidestringmakertakerqueryFilter by execution side of the trade
directionstringbuysellqueryFilter by direction the trade
skipintegerquerySkip will skip the first n item from the result
limitinteger<int64>queryLimit is used to specify the maximum number of items to be returned.
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
subaccountIdsArray<string>querySubaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts
subaccountIdstringquerySubaccountId of the trader we want to get the trades from
executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquerytradeIdstringqueryFilter by the tradeId of the trade
accountAddressstringqueryAccount address
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
orderbookV2 InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Orderbook gets the Orderbook of a Derivative Market
Parameters
marketIdstringrequiredpathMarketId of the market's orderbook we want to fetch
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
orderbooksV2 InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Orderbooks gets the Orderbooks of requested derivative markets
Parameters
marketIdsArray<string>requiredqueryMarketIds of the markets
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
positionsV2 InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Positions gets the positions for a trader. V2 removed some redundant fields and had performance improvements
Parameters
subaccountIdstringquerySubaccountId of the trader we want to get the positions from
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
marketIdstringqueryMarketId of the position we want to fetch. Use this field for fetching from single market
marketIdsArray<string>queryMarketIds of the markets we want to filter. Use this field for fetching from multiple markets
directionstringlongshortqueryfilter by direction of the position
subaccountTotalPositionsbooleanfalsequeryset to True to return subaccount total positions
accountAddressstringqueryfilter by account address
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
tradesV2 InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Trades gets the trades of a Derivative Market.
Parameters
marketIdstringqueryMarketId of the market's orderbook we want to fetch
marketIdsArray<string>queryMarketIds of the markets of which we want to get trades
executionSidestringmakertakerqueryFilter by execution side of the trade
directionstringbuysellqueryFilter by direction the trade
skipintegerquerySkip will skip the first n item from the result
limitinteger<int64>queryLimit is used to specify the maximum number of items to be returned.
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
subaccountIdsArray<string>querySubaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts
subaccountIdstringquerySubaccountId of the trader we want to get the trades from
executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquerytradeIdstringqueryFilter by the tradeId of the trade
accountAddressstringqueryAccount address
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectiveExplorerRPC
ExplorerAPI implements explorer data API for e.g. Blockchain Explorer
GetAccountTxs InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetAccountTxs returns tranctions involving in an account based upon params.
Parameters
beforeintegerqueryReturn transactions before this block number
afterintegerqueryReturn transactions after this block number
limitinteger<int64>queryskipintegerquerytypestringqueryfrom_numberinteger<int64>queryto_numberinteger<int64>querymodulestringquerystart_timeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the txs must be equal or older than
end_timeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the txs must be equal or younger than
statusstringfailsuccessqueryThe status of the txs to be returned
addressstringrequiredpathAddress of account
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetBankTransfers InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetBankTransfers returns bank transfers.
Parameters
sendersArray<string>queryTransfer sender address
recipientsArray<string>queryTransfer recipient address
addressArray<string>queryTransfers where either the sender or the recipient is one of the addresses
is_community_pool_relatedbooleanqueryReturns transfers with the community pool address as either sender or recipient
limitinteger<int64>queryskipintegerquerystart_timeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the transfers must be equal or older than
end_timeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the transfers must be equal or younger than
perPageinteger<int64>querytokenstringqueryResponse
OK response.
Bad Request response.
Internal Server Error response.
GetBlocks InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetBlocks returns blocks based upon the request params
Parameters
beforeintegerqueryafterintegerquerylimitinteger<int64>queryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetBlock InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetBlock returns block based upon the height or hash
Parameters
idstringrequiredpathResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetContractTxs InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetContractTxs returns contract-related transactions
Parameters
limitinteger[0, 100]100queryskipinteger<= 10000queryfrom_numberinteger<int64>queryto_numberinteger<int64>queryaddressstringrequiredpathAddress of contract
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetIBCTransferTxs InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetIBCTransferTxs returns the ibc transfer transactions based upon the request params
Parameters
senderstringqueryreceiverstringquerysrc_channelstringquerysrc_portstringquerydest_channelstringquerydest_portstringquerylimitinteger<int64>queryskipintegerqueryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetOrder InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetOrder returns order information based up on order id
Parameters
idstringrequiredpathResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetPeggyDepositTxs InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetPeggyDepositTxs returns the peggy deposit transactions based upon the request params
Parameters
senderstringquerySender address of deposit request
receiverstringqueryAddress of receiveer upon deposit
limitinteger<int64>queryskipintegerqueryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetPeggyWithdrawalTxs InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetPeggyWithdrawalTxs returns the peggy withdrawal transactions based upon the request params
Parameters
senderstringquerySender address of withdrawal request
receiverstringqueryAddress of receiveer upon withdrawal
limitinteger<int64>queryskipintegerqueryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
Relayers InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Request relayers infos by marketIDs. If no ids are provided, all market with associated relayers are returned
Parameters
marketIDsArray<string>querySpecify multiple marketIDs to search.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetStatus InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetStatus returns current status on the active chain
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetTxs InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetTxs returns transactions based upon the request params
Parameters
beforeintegerqueryafterintegerquerylimitinteger<int64>queryskipintegerquerytypestringquerymodulestringqueryfrom_numberinteger<int64>queryto_numberinteger<int64>querystart_timeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the txs must be equal or older than
end_timeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the txs must be equal or younger than
statusstringfailsuccessqueryThe status of the txs to be returned
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetTxByTxHash InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetTxByTxHash returns certain transaction information by its tx hash.
Parameters
hashstringrequiredpathResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetValidatorUptime InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetValidatorUptime returns validator uptime information on the active chain
Parameters
addressstringrequiredpathResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetValidators InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetValidators returns validators on the active chain
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetValidator InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetValidator returns validator information on the active chain
Parameters
addressstringrequiredpathResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetWasmCodes InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetWasmCodes lists all stored code
Parameters
limitinteger[1, 100]100queryfrom_numberinteger<int64>queryto_numberinteger<int64>queryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetWasmCodeById InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetWasmCodeById list cosmwasm code infor by ID
Parameters
code_idinteger<int64>requiredpathCode ID of the code
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetWasmContracts InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetWasmContracts lists all contracts
Parameters
limitinteger[1, 100]100querycode_idinteger<int64>queryfrom_numberinteger<int64>queryto_numberinteger<int64>queryassets_onlybooleanfalsequeryskipinteger<int64>0querylabelstringqueryLabel of the contract
Response
OK response.
GetWasmContractByAddress InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetWasmContractByAddress list cosmwasm contract info by its address
Parameters
contract_addressstringrequiredpathContract address
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
GetCw20Balance InjectiveExplorerRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
GetCw20Balance lists all cw20 balances of an injective account
Parameters
limitinteger[1, 100]100queryaddressstringrequiredpathaddress to list balance of
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
health
HealthAPI allows to check if backend data is up-to-date and reliable or not.
GetStatus health
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get current backend health status
Response
OK response.
Internal Server Error response.
InjectiveInsuranceRPC
InjectiveInsuranceRPC defines gRPC API of Insurance provider.
funds InjectiveInsuranceRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Funds lists all insurance funds.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
redemptions InjectiveInsuranceRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
PendingRedemptions lists all pending redemptions according to a filter
Parameters
redeemerstringqueryAccount address of the redemption owner
redemptionDenomstringqueryDenom of the insurance pool token.
statusstringqueryStatus of the redemption. Either pending or disbursed.
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectiveMetaRPC
InjectiveMetaRPC is a special API subset to get info about server.
info InjectiveMetaRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Gets connection info
Parameters
timestampinteger<int64>queryProvide current system UNIX timestamp in millis
Response
OK response.
ping InjectiveMetaRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Endpoint for checking server health.
Response
OK response.
tokenMetadata InjectiveMetaRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get tokens metadata. Can be filtered by denom
Parameters
denomsArray<string>queryResponse
OK response.
Not Found response.
Internal Server Error response.
version InjectiveMetaRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns injective-exchange version.
Response
OK response.
InjectiveOracleRPC
InjectiveOracleRPC defines gRPC API of Exchange Oracle provider.
oracleList InjectiveOracleRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
List all oracles
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
price InjectiveOracleRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Gets the price of the oracle
Parameters
baseSymbolstringrequiredqueryOracle base currency
quoteSymbolstringrequiredqueryOracle quote currency
oracleTypestringrequiredqueryOracle Type
oracleScaleFactorintegerrequiredqueryOracleScaleFactor
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectivePortfolioRPC
InjectivePortfolioRPC defines gRPC API of Exchange Portfolio provider.
accountPortfolio InjectivePortfolioRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Provide the account's portfolio
Parameters
accountAddressstringrequiredpathAccount address
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
accountPortfolioBalances InjectivePortfolioRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Provide the account's portfolio balances
Parameters
accountAddressstringrequiredpathAccount address
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectiveSpotExchangeRPC
InjectiveSpotExchangeRPC defines gRPC API of Spot Exchange provider.
atomicSwapHistory InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get historical atomic swaps
Parameters
addressstringrequiredquerysender of the atomic swap
contract_addressstringqueryatomic swap contract address to filter
limitinteger<int32>100querylimit number of swaps returned by this API
skipinteger<= 100000queryskip some swaps
from_numberinteger<int32>querylowerbound of atomic swap index
to_numberinteger<int32>queryupperbound of atomic swap index
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
markets InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get a list of Spot Markets
Parameters
marketStatusstringactivepausedsuspendeddemolishedexpiredactivequeryFilter by market status
quoteDenomstringqueryFilter by the Coin denomination of the quote currency
baseDenomstringqueryFilter by the Coin denomination of the base currency
marketStatusesArray<string>activepausedsuspendeddemolishedexpiredqueryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
market InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Get details of a single spot market
Parameters
marketIdstringrequiredpathMarketId of the market we want to fetch
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
orders InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Orders of a Spot Market
Parameters
marketIdstringqueryMarketId of the market's orderbook we want to fetch
marketIdsArray<string>queryMarketIds of the markets of which we want to get trades
orderSidestringbuysellqueryLook for specific order side
subaccountIdstringqueryLook for specific subaccountId of an order
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned.
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
includeInactivebooleanfalsequeryShould include inactive orders
subaccountTotalOrdersbooleanfalsequeryChoose to return subaccount total orders
tradeIdstringqueryTradeId of the order we want to fetch
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
ordersHistory InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Lists history orders posted from this subaccount
Parameters
subaccountIdstringquerysubaccount ID to filter orders for specific subaccount
marketIdstringqueryMarket ID to filter orders for specific market
marketIdsArray<string>queryactiveMarketsOnlybooleanfalsequeryReturn only orders for active markets
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned
orderTypesArray<string>buysellstop_buystop_selltake_buytake_sellbuy_posell_poqueryfilter by order types
directionstringqueryorder side filter
startTimeinteger<int64>querySearch for orders which createdAt >= startTime, time in millisecond
endTimeinteger<int64>querySearch for orders which createdAt <= endTime, time in millisecond
statestringbookedpartial_filledfilledcanceledqueryFilter by order state
executionTypesArray<string>marketlimitquerytradeIdstringqueryTradeId of the order we want to fetch
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
trades InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Trades of a Spot Market
Parameters
marketIdstringqueryMarketId of the market's orderbook we want to fetch
marketIdsArray<string>queryMarketIds of the markets of which we want to get trades
executionSidestringmakertakerqueryFilter by execution side of the trade
directionstringbuysellqueryFilter by direction the trade
skipintegerquerySkip will skip the first n item from the item result
limitinteger<int64>queryLimit is used to specify the maximum number of items to be returned.
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
subaccountIdstringquerySubaccountId of the trader we want to get the trades from
subaccountIdsArray<string>querySubaccount ids of traders we want to get trades
executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquerytradeIdstringqueryFilter by the tradeId of the trade
accountAddressstringqueryAccount address
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
orderbookV2 InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Orderbook of a Spot Market
Parameters
marketIdstringrequiredpathMarketId of the market's orderbook we want to fetch
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
orderbooksV2 InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Orderbook of Spot Markets
Parameters
marketIdsArray<string>requiredqueryMarketIds of the markets
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
tradesV2 InjectiveSpotExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Trades of a Spot Market
Parameters
marketIdstringqueryMarketId of the market's orderbook we want to fetch
marketIdsArray<string>queryMarketIds of the markets of which we want to get trades
executionSidestringmakertakerqueryFilter by execution side of the trade
directionstringbuysellqueryFilter by direction the trade
skipintegerquerySkip will skip the first n item from the item result
limitinteger<int64>queryLimit is used to specify the maximum number of items to be returned.
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
subaccountIdstringquerySubaccountId of the trader we want to get the trades from
subaccountIdsArray<string>querySubaccount ids of traders we want to get trades
executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquerytradeIdstringqueryFilter by the tradeId of the trade
accountAddressstringqueryAccount address
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.
InjectiveTradingRPC
InjectiveTradingStrategiesRPC defined a gRPC service for Injective Trading Strategies.
listTradingStrategies InjectiveTradingRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Lists all trading strategies
Parameters
statestringactiveremovedquerymarketIdstringqueryMarketId of the trading strategy
subaccountIdstringquerysubaccount ID to filter by
accountAddressstringqueryAccount address
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds for the creation time of the trading strategy
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds for the creation time of the trading strategy
pendingExecutionbooleanqueryIndicates whether the trading strategy is pending execution
limitinteger<int64>queryskipintegerqueryResponse
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.