const res = await fetch('https://app.trdrs.co/api/venues/{venueId}/money-flow?from=2026-11-02T00%3A00%3A00Z&to=2026-11-03T00%3A00%3A00Z', {
headers: { Authorization: `Bearer ${process.env.TRDRS_VENUE_KEY}` },
})
const data = await res.json()curl 'https://app.trdrs.co/api/venues/{venueId}/money-flow?from=2026-11-02T00%3A00%3A00Z&to=2026-11-03T00%3A00%3A00Z' \
-H "Authorization: Bearer $TRDRS_VENUE_KEY"import requests
url = "https://app.trdrs.co/api/venues/{venueId}/money-flow"
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/venues/{venueId}/money-flow",
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/venues/{venueId}/money-flow"
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/venues/{venueId}/money-flow")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/venues/{venueId}/money-flow")
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{
"moneyFlow": {
"venueId": "00000000-0000-0000-0000-000000000001",
"environment": "sandbox",
"asOf": "2026-11-03T12:00:00.000000Z",
"period": {
"from": "2026-11-02T00:00:00.000Z",
"to": "2026-11-03T00:00:00.000Z"
},
"currencies": [
{
"currency": "USD",
"totals": {
"brokerage": {
"credits": {
"amount": "15000",
"count": 3
},
"debits": {
"amount": "-2500",
"count": 1
},
"payouts": {
"amount": "0",
"count": 0
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "12500"
},
"evaluation": {
"credits": {
"amount": "0",
"count": 0
},
"debits": {
"amount": "0",
"count": 0
},
"payouts": {
"amount": "-1000",
"count": 1
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "-1000"
},
"unstated": {
"credits": {
"amount": "0",
"count": 0
},
"debits": {
"amount": "0",
"count": 0
},
"payouts": {
"amount": "0",
"count": 0
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "0"
}
},
"byDay": [
{
"day": "2026-11-02",
"brokerage": {
"credits": "15000",
"debits": "-2500",
"payouts": "0",
"adjustments": "0",
"net": "12500"
},
"evaluation": {
"credits": "0",
"debits": "0",
"payouts": "-1000",
"adjustments": "0",
"net": "-1000"
},
"unstated": {
"credits": "0",
"debits": "0",
"payouts": "0",
"adjustments": "0",
"net": "0"
}
}
],
"byGroup": [
{
"groupId": "broker-pro",
"name": "Broker Pro",
"programKind": "brokerage",
"programStated": true,
"credits": {
"amount": "15000",
"count": 3
},
"debits": {
"amount": "-2500",
"count": 1
},
"payouts": {
"amount": "0",
"count": 0
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "12500"
},
{
"groupId": "funded",
"name": "Funded",
"programKind": "evaluation",
"programStated": false,
"credits": {
"amount": "0",
"count": 0
},
"debits": {
"amount": "0",
"count": 0
},
"payouts": {
"amount": "-1000",
"count": 1
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "-1000"
}
]
}
]
}
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}Read the money in and out of your accounts
Reads what the balance operations of every account whose books trdrs keeps moved in and out over a period, in one snapshot at asOf: the credits, debits, payouts and adjustments you sent, by the currency the accounts are kept in, by UTC day and by group. Only those count: an issued account’s starting balance, a reset back to it, the history an account carried onto the book when it moved there, and trading are not money in or out. A recorded credit or payout is your record, not evidence that money moved outside trdrs, and a deposit or payment you never recorded is absent. Every amount is signed as it moved the balance, so a debit or a payout is negative. An evaluation’s money is simulated, so every total is kept apart by the program kind the account’s group is counted under, and evaluation money is never added to a brokerage’s. A funded group that states no program is counted with the evaluation whose stage passes accounts into it. An operation falls in the period, and on a day, by when the book recorded it, and counts in the group its account is in now. A day the period starts or ends within counts only the part inside it. It changes nothing. Required scope: account:read. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.
const res = await fetch('https://app.trdrs.co/api/venues/{venueId}/money-flow?from=2026-11-02T00%3A00%3A00Z&to=2026-11-03T00%3A00%3A00Z', {
headers: { Authorization: `Bearer ${process.env.TRDRS_VENUE_KEY}` },
})
const data = await res.json()curl 'https://app.trdrs.co/api/venues/{venueId}/money-flow?from=2026-11-02T00%3A00%3A00Z&to=2026-11-03T00%3A00%3A00Z' \
-H "Authorization: Bearer $TRDRS_VENUE_KEY"import requests
url = "https://app.trdrs.co/api/venues/{venueId}/money-flow"
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/venues/{venueId}/money-flow",
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/venues/{venueId}/money-flow"
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/venues/{venueId}/money-flow")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/venues/{venueId}/money-flow")
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{
"moneyFlow": {
"venueId": "00000000-0000-0000-0000-000000000001",
"environment": "sandbox",
"asOf": "2026-11-03T12:00:00.000000Z",
"period": {
"from": "2026-11-02T00:00:00.000Z",
"to": "2026-11-03T00:00:00.000Z"
},
"currencies": [
{
"currency": "USD",
"totals": {
"brokerage": {
"credits": {
"amount": "15000",
"count": 3
},
"debits": {
"amount": "-2500",
"count": 1
},
"payouts": {
"amount": "0",
"count": 0
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "12500"
},
"evaluation": {
"credits": {
"amount": "0",
"count": 0
},
"debits": {
"amount": "0",
"count": 0
},
"payouts": {
"amount": "-1000",
"count": 1
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "-1000"
},
"unstated": {
"credits": {
"amount": "0",
"count": 0
},
"debits": {
"amount": "0",
"count": 0
},
"payouts": {
"amount": "0",
"count": 0
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "0"
}
},
"byDay": [
{
"day": "2026-11-02",
"brokerage": {
"credits": "15000",
"debits": "-2500",
"payouts": "0",
"adjustments": "0",
"net": "12500"
},
"evaluation": {
"credits": "0",
"debits": "0",
"payouts": "-1000",
"adjustments": "0",
"net": "-1000"
},
"unstated": {
"credits": "0",
"debits": "0",
"payouts": "0",
"adjustments": "0",
"net": "0"
}
}
],
"byGroup": [
{
"groupId": "broker-pro",
"name": "Broker Pro",
"programKind": "brokerage",
"programStated": true,
"credits": {
"amount": "15000",
"count": 3
},
"debits": {
"amount": "-2500",
"count": 1
},
"payouts": {
"amount": "0",
"count": 0
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "12500"
},
{
"groupId": "funded",
"name": "Funded",
"programKind": "evaluation",
"programStated": false,
"credits": {
"amount": "0",
"count": 0
},
"debits": {
"amount": "0",
"count": 0
},
"payouts": {
"amount": "-1000",
"count": 1
},
"adjustments": {
"amount": "0",
"count": 0
},
"net": "-1000"
}
]
}
]
}
}{
"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 Venue key (trdrs_vk_sandbox_… or trdrs_vk_production_…), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the /api/venues/{venueId} routes and, with trader:read or trader:trade, on the account, market, trading and Connect routes, reading the venue's own traders' accounts and Connect, routing their orders and connecting their own accounts, each request naming its trader in x-trdrs-trader. A trdrs_sk_… key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.