Skip to main content

GET Quote

Get a live quote NT8​

Retrieves real-time quote and contract metadata from the NT8 data feed. Unlike the legacy account-scoped quote endpoint (/v1/api/accounts/{account}/quote), this route does not require an account name. It resolves instruments by name and returns the latest quote from your NinjaTrader data feed.

Endpoint​

GET /v1/api/market/quote

Headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Query parameters​

NameTypeRequiredDescription
instrumentstringRequiredFull native NT8 instrument name, including the contract month and year for futures (e.g., "ES 12-26"). Supports CSV for multiple: "ES 12-26,NQ 12-26".

Code examples​

import requests

token = 'my-secret-token'
url = "https://app.crosstrade.io/v1/api/market/quote"
headers = {
"Authorization": f"Bearer {token}",
"Content-Type": "application/json"
}

# Quote by instrument
params = {"instrument": "ES 12-26"}

# Multi-instrument quote, returns a list of quote objects
# params = {"instrument": "ES 12-26,NQ 12-26,MBT 12-26"}

try:
response = requests.get(url, headers=headers, params=params)
print(f"Response Code: {response.status_code}, Response Text: {response.text}")
except Exception as e:
print(f"An error occurred: {e}")

Response​

// Multiple instruments return an array of these objects. No success wrapper.
{
"description": "E-mini S&P 500 Futures",
"type": "Future",
"tickSize": 0.25,
"pointValue": 50.0,
"tickValue": 12.5,
"exchange": "Globex",
"expiration": "2026-03-01",
"tradingHours": "CME US Index Futures ETH",
"instrument": "ES 12-26",
"bid": 6618.0,
"ask": 6618.25,
"last": 6617.75,
"open": 6722.5,
"high": 6762.25,
"low": 6604.0,
"close": 6626.0,
"volume": 204962,
"quoteTime": "03/18/2026 01:51:54 PM",
"quoteTimeUtc": "2026-03-18 20:51:54",
"epoch": 1773867114000,
"dataSource": {
"status": "Live",
"connectedFeeds": [
"Live"
]
},
"isMarketOpen": true
}

Success field types​

Fields are at the root for one instrument, or on each array item for multiple instruments. Float fields accept whole or fractional numbers.

FieldTypeDescription
instrument, description, type, exchange, expiration, tradingHoursstringInstrument metadata.
tickSize, pointValue, tickValuefloatTick increment, point value and tick value.
bid, ask, last, open, high, low, closefloatQuote and session prices.
volumeintegerReported volume.
quoteTime, quoteTimeUtcstringDisplay and UTC quote times.
epochintegerUnix milliseconds.
dataSourceobjectFeed metadata.
dataSource.statusstringFeed status.
dataSource.connectedFeedsarray of stringsFeed names; may be empty.
isMarketOpenbooleanMarket-open flag.

Platform nuances​

You can request multiple instruments in a single call by passing a comma-separated list. All instruments are quoted concurrently.

Supply the correct native instrument name for every requested contract. Your integration is responsible for contract selection and rollover; do not rely on continuous-symbol translation in direct NT8 API calls. See NT8 instrument names.

WebSocket API​

This request can also be made over the WebSocket API. Query parameters are passed inside args. Supply the full native name in instrument, or a CSV list of full native names.

{
"action": "rpc",
"id": "my-request-id",
"api": "GetQuote",
"args": {
"instrument": "ES 12-26"
}
}