// First-party cookie auth: this runs in a signed-in trdrs session, not under an API key.
const res = await fetch('https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts', {
credentials: 'include',
})
const data = await res.json()curl 'https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts' \
-b "session=$TRDRS_SESSION"import requests
url = "https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts"
headers = {"cookie": "session="}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "session=",
]);
$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/operator/venues/{venueId}/connections/{connectionId}/accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "session=")
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/operator/venues/{venueId}/connections/{connectionId}/accounts")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"discoverySnapshotId": "00000000-0000-0000-0000-000000000001",
"expiresAt": "2026-09-14T12:00:00.000Z",
"items": [
{
"externalAccountId": "EXTERNAL-1",
"label": "Example account",
"currency": "USD",
"positionModel": "net",
"permissions": {
"read": true,
"trade": true
}
}
],
"nextCursor": null,
"tradingReady": false
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}List discovered provider accounts
Private preview, disabled unless VENUE_CONFIGURATION_ENABLED is enabled and the vault is configured. This branch has not enabled these routes in the public sandbox. Existing trdrs_sk partner/tenant keys do not authorize these routes. Verified venue member session required. Returns the complete saved discovery in pages of up to 500 accounts; provider authorization references remain internal. Discovery expires with its original grant (at most 60 seconds). Expiry, a newer discovery generation or a changed credential returns 409; request validation again and use its new snapshot. This read never connects, invites or trades for an account.
// First-party cookie auth: this runs in a signed-in trdrs session, not under an API key.
const res = await fetch('https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts', {
credentials: 'include',
})
const data = await res.json()curl 'https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts' \
-b "session=$TRDRS_SESSION"import requests
url = "https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts"
headers = {"cookie": "session="}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "session=",
]);
$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/operator/venues/{venueId}/connections/{connectionId}/accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "session=")
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/operator/venues/{venueId}/connections/{connectionId}/accounts")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/operator/venues/{venueId}/connections/{connectionId}/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"discoverySnapshotId": "00000000-0000-0000-0000-000000000001",
"expiresAt": "2026-09-14T12:00:00.000Z",
"items": [
{
"externalAccountId": "EXTERNAL-1",
"label": "Example account",
"currency": "USD",
"positionModel": "net",
"permissions": {
"read": true,
"trade": true
}
}
],
"nextCursor": null,
"tradingReady": false
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}Authorizations
The signed session cookie of a logged-in trdrs user. First-party/browser only; a firm API key cannot reach a route secured this way.
Query Parameters
Copy nextCursor unchanged. A cursor belongs to one discovery snapshot.