const res = await fetch('https://app.trdrs.co/api/pre-registration/registrations', {
method: 'POST',
headers: {
'content-type': 'application/json',
Authorization: `Bearer ${process.env.TRDRS_API_KEY}`,
},
body: JSON.stringify({
"email": "trader@example.com",
"accountNumber": "PA-4821-07",
"venueLogin": "jsmith-apex"
}),
})
const data = await res.json()curl -X POST 'https://app.trdrs.co/api/pre-registration/registrations' \
-H "Authorization: Bearer $TRDRS_API_KEY" \
-H 'content-type: application/json' \
-d '{"email":"trader@example.com","accountNumber":"PA-4821-07","venueLogin":"jsmith-apex"}'import requests
url = "https://app.trdrs.co/api/pre-registration/registrations"
payload = {
"email": "trader@example.com",
"accountNumber": "PA-4821-07",
"venueLogin": "jsmith-apex"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/pre-registration/registrations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'email' => 'trader@example.com',
'accountNumber' => 'PA-4821-07',
'venueLogin' => 'jsmith-apex'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.trdrs.co/api/pre-registration/registrations"
payload := strings.NewReader("{\n \"email\": \"trader@example.com\",\n \"accountNumber\": \"PA-4821-07\",\n \"venueLogin\": \"jsmith-apex\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.trdrs.co/api/pre-registration/registrations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"trader@example.com\",\n \"accountNumber\": \"PA-4821-07\",\n \"venueLogin\": \"jsmith-apex\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/pre-registration/registrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"trader@example.com\",\n \"accountNumber\": \"PA-4821-07\",\n \"venueLogin\": \"jsmith-apex\"\n}"
response = http.request(request)
puts response.read_body{
"registration": {
"id": "5c2e8f14-7a39-4d6b-b0e2-91f3c4a8d7e6",
"email": "trader@example.com",
"provider": "rithmic",
"system": "Apex",
"accountNumber": "PA-4821-07",
"venueLogin": "jsmith-apex",
"status": "pending",
"expiresAt": "2026-09-23T14:32:00Z",
"createdAt": "2026-08-24T14:32:00Z",
"linkedAt": null
}
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}Pre-register a trader’s account (deprecated)
Deprecated: trdrs’s Connect lists no venue’s accounts, and this route goes in the next release. Tells trdrs that a trader has an account at your built-in provider, so Connect shows it to them ready to link when they sign in with email. Your tile opens with your system filled in, and the trader signs in to the provider themselves to finish. Sending the same email and account number again refreshes the 30-day expiry instead of creating a second pre-registration. You notify the trader and give them their login yourself: trdrs sends them no email.
Required key: pre-registration key.
const res = await fetch('https://app.trdrs.co/api/pre-registration/registrations', {
method: 'POST',
headers: {
'content-type': 'application/json',
Authorization: `Bearer ${process.env.TRDRS_API_KEY}`,
},
body: JSON.stringify({
"email": "trader@example.com",
"accountNumber": "PA-4821-07",
"venueLogin": "jsmith-apex"
}),
})
const data = await res.json()curl -X POST 'https://app.trdrs.co/api/pre-registration/registrations' \
-H "Authorization: Bearer $TRDRS_API_KEY" \
-H 'content-type: application/json' \
-d '{"email":"trader@example.com","accountNumber":"PA-4821-07","venueLogin":"jsmith-apex"}'import requests
url = "https://app.trdrs.co/api/pre-registration/registrations"
payload = {
"email": "trader@example.com",
"accountNumber": "PA-4821-07",
"venueLogin": "jsmith-apex"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/pre-registration/registrations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'email' => 'trader@example.com',
'accountNumber' => 'PA-4821-07',
'venueLogin' => 'jsmith-apex'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.trdrs.co/api/pre-registration/registrations"
payload := strings.NewReader("{\n \"email\": \"trader@example.com\",\n \"accountNumber\": \"PA-4821-07\",\n \"venueLogin\": \"jsmith-apex\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.trdrs.co/api/pre-registration/registrations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"trader@example.com\",\n \"accountNumber\": \"PA-4821-07\",\n \"venueLogin\": \"jsmith-apex\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/pre-registration/registrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"trader@example.com\",\n \"accountNumber\": \"PA-4821-07\",\n \"venueLogin\": \"jsmith-apex\"\n}"
response = http.request(request)
puts response.read_body{
"registration": {
"id": "5c2e8f14-7a39-4d6b-b0e2-91f3c4a8d7e6",
"email": "trader@example.com",
"provider": "rithmic",
"system": "Apex",
"accountNumber": "PA-4821-07",
"venueLogin": "jsmith-apex",
"status": "pending",
"expiresAt": "2026-09-23T14:32:00Z",
"createdAt": "2026-08-24T14:32:00Z",
"linkedAt": null
}
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}Authorizations
The pre-registration key (trdrs_sk_…), issued to a venue for Connect pre-registration and conformance runs in the sandbox. It works only on those routes under /api/pre-registration/, outside the venue routes. It looks like a Trading API key but has a different scope: a Trading API key is refused here, and a pre-registration key is refused everywhere else. A venue’s backend calls the venue routes with its Venue key.
Body
The trader to pre-register. Send their sign-in email, and the account number and login name when you have them. Never send a password.