TypeScript
const res = await fetch('https://app.trdrs.co/api/connect/providers', {
headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },
})
const data = await res.json()curl 'https://app.trdrs.co/api/connect/providers' \
-H "Authorization: Bearer $TRDRS_API_KEY"import requests
url = "https://app.trdrs.co/api/connect/providers"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/connect/providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/connect/providers"
req, _ := http.NewRequest("GET", url, nil)
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/connect/providers")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/connect/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"providers": [
{
"provider": "rithmic",
"name": "Rithmic",
"loginStyle": "trader_login",
"needsSystem": true
},
{
"provider": "tastytrade",
"name": "Tastytrade",
"loginStyle": "oauth",
"needsSystem": false
},
{
"provider": "hyperliquid",
"name": "Hyperliquid",
"loginStyle": "wallet_key",
"needsSystem": false
},
{
"provider": "binance",
"name": "Binance",
"loginStyle": "api_key",
"needsSystem": false
},
{
"provider": "bybit",
"name": "Bybit",
"loginStyle": "api_key",
"needsSystem": false
},
{
"provider": "paper",
"name": "trdrs paper book",
"loginStyle": "none",
"needsSystem": false
}
]
}Connect
List the built-in providers and how each is signed into
Returns the six built-in providers (Rithmic, Tastytrade, Hyperliquid, Binance, Bybit and the trdrs paper book) with the login style each declares. Connect draws its grid from this list and shows one form per login style, so the list is also what tells an embedding page which providers exist. Deliberately keyless and static: the declarations are not secret, and a page deciding what to show has not signed anyone in yet. Every tile on the Connect firm list carries the same loginStyle, derived from its provider. The values are additive: a new provider or style is appended, none is renamed.
GET
/
api
/
connect
/
providers
TypeScript
const res = await fetch('https://app.trdrs.co/api/connect/providers', {
headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },
})
const data = await res.json()curl 'https://app.trdrs.co/api/connect/providers' \
-H "Authorization: Bearer $TRDRS_API_KEY"import requests
url = "https://app.trdrs.co/api/connect/providers"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/connect/providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/connect/providers"
req, _ := http.NewRequest("GET", url, nil)
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/connect/providers")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/connect/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"providers": [
{
"provider": "rithmic",
"name": "Rithmic",
"loginStyle": "trader_login",
"needsSystem": true
},
{
"provider": "tastytrade",
"name": "Tastytrade",
"loginStyle": "oauth",
"needsSystem": false
},
{
"provider": "hyperliquid",
"name": "Hyperliquid",
"loginStyle": "wallet_key",
"needsSystem": false
},
{
"provider": "binance",
"name": "Binance",
"loginStyle": "api_key",
"needsSystem": false
},
{
"provider": "bybit",
"name": "Bybit",
"loginStyle": "api_key",
"needsSystem": false
},
{
"provider": "paper",
"name": "trdrs paper book",
"loginStyle": "none",
"needsSystem": false
}
]
}Response
200 - application/json
The built-in providers, in registry order
Show child attributes
Show child attributes