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
instrumentstringConditionalFull instrument name (e.g., "ES 09-26"). Required when root is omitted. Supports CSV for multiple: "ES 09-26,NQ 09-26"
rootstringConditionalSupported NT8 instrument root (e.g., "ES"). Resolves the current front-month contract and is required when instrument is omitted.

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 09-26"}

# Multi-instrument quote, returns a list of quote objects
# params = {"instrument": "ES 09-26,NQ 09-26,MBT 09-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

{
"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 09-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": 1773867114,
"dataSource": {
"status": "Live",
"connectedFeeds": [
"Live"
]
},
"isMarketOpen": true
}

Platform nuances

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

Passing root resolves the current front-month NT8 instrument before requesting its quote and contract metadata. Root-based continuous-contract quotes require CrossTrade NT8 Add-On v1.8.3+.

WebSocket API

This request can also be made over the WebSocket API. Query parameters are passed inside args. Use instrument for an exact contract or CSV list, or root for front-month resolution.

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