TypeScript
const res = await fetch('https://app.trdrs.co/api/market/quotes?symbols=ESU6%2CNQU6%2CBTC-PERP', {
headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },
})
const data = await res.json()curl 'https://app.trdrs.co/api/market/quotes?symbols=ESU6%2CNQU6%2CBTC-PERP' \
-H "Authorization: Bearer $TRDRS_API_KEY"import requests
url = "https://app.trdrs.co/api/market/quotes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/market/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trdrs.co/api/market/quotes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.trdrs.co/api/market/quotes")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/market/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"quotes": [
{
"symbol": "ESU6",
"last": 6481.25,
"open": 6470.5,
"high": 6488,
"low": 6465.75,
"prevClose": 6474.5,
"volume": 812450,
"change": 6.75,
"changePct": 0.1,
"bid": 6481,
"ask": 6481.25,
"spark": [
6459.25,
6462,
6474.5,
6481.25
]
},
{
"symbol": "XAUUSD",
"last": null,
"prevClose": null,
"change": null,
"changePct": null,
"bid": null,
"ask": null,
"spark": []
}
]
}{
"error": "invalid_instrument"
}Market data
Get quote snapshots
Returns quote snapshots for up to 50 symbols in one call, answered in request order. Every unknown value is a true null, never a fabricated 0, and a symbol with no feed comes back all-null rather than dropped, so a watchlist renders one row per ask no matter what. For live updates use the stream; this route is the snapshot.
GET
/
api
/
market
/
quotes
TypeScript
const res = await fetch('https://app.trdrs.co/api/market/quotes?symbols=ESU6%2CNQU6%2CBTC-PERP', {
headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },
})
const data = await res.json()curl 'https://app.trdrs.co/api/market/quotes?symbols=ESU6%2CNQU6%2CBTC-PERP' \
-H "Authorization: Bearer $TRDRS_API_KEY"import requests
url = "https://app.trdrs.co/api/market/quotes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/market/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trdrs.co/api/market/quotes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.trdrs.co/api/market/quotes")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/market/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"quotes": [
{
"symbol": "ESU6",
"last": 6481.25,
"open": 6470.5,
"high": 6488,
"low": 6465.75,
"prevClose": 6474.5,
"volume": 812450,
"change": 6.75,
"changePct": 0.1,
"bid": 6481,
"ask": 6481.25,
"spark": [
6459.25,
6462,
6474.5,
6481.25
]
},
{
"symbol": "XAUUSD",
"last": null,
"prevClose": null,
"change": null,
"changePct": null,
"bid": null,
"ask": null,
"spark": []
}
]
}{
"error": "invalid_instrument"
}Authorizations
Your firm’s API key (the API calls this the tenant key; trdrs_sk_…), server-to-server only.
Query Parameters
Comma-separated, max 50; answers come back in request order
Response
QuotesResponse. A symbol with no feed comes back all-null (render a dash), never dropped.
Show child attributes
Show child attributes