Account snapshot
curl --request GET \
--url https://api.bravadotrade.com/v2/trade/accountimport requests
url = "https://api.bravadotrade.com/v2/trade/account"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bravadotrade.com/v2/trade/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bravadotrade.com/v2/trade/account",
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://api.bravadotrade.com/v2/trade/account"
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://api.bravadotrade.com/v2/trade/account")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bravadotrade.com/v2/trade/account")
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{
"partner": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"display_name": "<string>"
},
"binding": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner_user_id": "<string>",
"bravado_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"api_key": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scopes": [
"<string>"
],
"rate_limit_per_min": 123,
"last4": "<string>",
"builder_code_override": "<string>"
},
"wallet": {
"eoa_address": "<string>",
"safe_address": "<string>"
},
"builder_code_resolved": "<string>",
"notional_cap_usdc": "<string>",
"onboarding_status": "ready"
}trade.read
Account snapshot
Returns the integration, binding, api key, wallet (EOA + Safe), and the builder code resolved for this key. Useful as the first call after onboarding to verify credentials and inspect quotas.
GET
/
v2
/
trade
/
account
Account snapshot
curl --request GET \
--url https://api.bravadotrade.com/v2/trade/accountimport requests
url = "https://api.bravadotrade.com/v2/trade/account"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bravadotrade.com/v2/trade/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bravadotrade.com/v2/trade/account",
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://api.bravadotrade.com/v2/trade/account"
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://api.bravadotrade.com/v2/trade/account")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bravadotrade.com/v2/trade/account")
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{
"partner": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"display_name": "<string>"
},
"binding": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner_user_id": "<string>",
"bravado_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"api_key": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scopes": [
"<string>"
],
"rate_limit_per_min": 123,
"last4": "<string>",
"builder_code_override": "<string>"
},
"wallet": {
"eoa_address": "<string>",
"safe_address": "<string>"
},
"builder_code_resolved": "<string>",
"notional_cap_usdc": "<string>",
"onboarding_status": "ready"
}Response
200 - application/json
Default Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
ready ⌘I