const res = await fetch('https://app.trdrs.co/api/account/charges', {
headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },
})
const data = await res.json()curl 'https://app.trdrs.co/api/account/charges' \
-H "Authorization: Bearer $TRDRS_API_KEY"import requests
url = "https://app.trdrs.co/api/account/charges"
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/account/charges",
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/account/charges"
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/account/charges")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/account/charges")
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{
"charges": [
{
"id": "6f1d2c3a-8b4e-4f5a-9c7d-1e2f3a4b5c6d",
"providerType": "CFEE",
"detail": "Coin Pair Transaction Fee (Non USD)",
"instrument": "ALPACA:BTC/USD",
"amount": -0.17825,
"currency": "USD",
"asset": "BTC",
"assetQty": -0.0000025,
"price": 71300,
"occurredOn": "2026-08-24"
},
{
"id": "0a9b8c7d-6e5f-4a3b-8c2d-1e0f9a8b7c6d",
"providerType": "FEE",
"detail": "TAF",
"instrument": "NASDAQ:AAPL",
"amount": -0.02,
"currency": "USD",
"asset": null,
"assetQty": null,
"price": null,
"occurredOn": "2026-08-21"
}
],
"nextCursor": null
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}List charges stated apart from fills
Returns the charges the provider states on the account apart from its fills, newest day first: a fee the provider posts as an account record of its own, dated and naming no order, as Alpaca posts its CFEE and FEE records at the end of each day. They come from trdrs’s own stored copy of those records. On a paper account they are the trading days’ pass-through fees its book charged, one FEE record a day dated the trading day, “Regulatory fees for” the day, at the amount charged, and a stock’s corporate actions its book applied, one record for each position: SPLIT dated a split’s ex date and SDIV a stock dividend’s, at the cash it paid for a fraction, DIV dated a cash dividend’s pay date, at the dividend, RENAME dated a name change’s process date, at 0, as the position moved to the listing of the new symbol, BUYOUT dated a cash merger’s pay date, at the profit its close at the cash paid for a share realized, and DELIST dated the day the book closed a stock two of its source’s stock readings in a row state inactive or leave out, for a reason none of these states, at the profit its close at its last price realized; a stock its source states active but not tradable is halted and stays open.
Required key: Trading API key. A venue’s backend can also send it with its Venue key, which carries trader:read or trader:trade, naming one of its own traders in x-trdrs-trader: it then runs on that trader’s own accounts.
const res = await fetch('https://app.trdrs.co/api/account/charges', {
headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },
})
const data = await res.json()curl 'https://app.trdrs.co/api/account/charges' \
-H "Authorization: Bearer $TRDRS_API_KEY"import requests
url = "https://app.trdrs.co/api/account/charges"
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/account/charges",
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/account/charges"
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/account/charges")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/account/charges")
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{
"charges": [
{
"id": "6f1d2c3a-8b4e-4f5a-9c7d-1e2f3a4b5c6d",
"providerType": "CFEE",
"detail": "Coin Pair Transaction Fee (Non USD)",
"instrument": "ALPACA:BTC/USD",
"amount": -0.17825,
"currency": "USD",
"asset": "BTC",
"assetQty": -0.0000025,
"price": 71300,
"occurredOn": "2026-08-24"
},
{
"id": "0a9b8c7d-6e5f-4a3b-8c2d-1e0f9a8b7c6d",
"providerType": "FEE",
"detail": "TAF",
"instrument": "NASDAQ:AAPL",
"amount": -0.02,
"currency": "USD",
"asset": null,
"assetQty": null,
"price": null,
"occurredOn": "2026-08-21"
}
],
"nextCursor": null
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}