List positions
curl --request GET \
--url https://partner-api.bravadotrade.com/v2/trade/positions \
--header 'X-BRAVADO-API-KEY: <api-key>' \
--header 'X-BRAVADO-SIGNATURE: <api-key>' \
--header 'X-BRAVADO-TIMESTAMP: <api-key>'import requests
url = "https://partner-api.bravadotrade.com/v2/trade/positions"
headers = {
"X-BRAVADO-API-KEY": "<api-key>",
"X-BRAVADO-TIMESTAMP": "<api-key>",
"X-BRAVADO-SIGNATURE": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-BRAVADO-API-KEY': '<api-key>',
'X-BRAVADO-TIMESTAMP': '<api-key>',
'X-BRAVADO-SIGNATURE': '<api-key>'
}
};
fetch('https://partner-api.bravadotrade.com/v2/trade/positions', 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://partner-api.bravadotrade.com/v2/trade/positions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-BRAVADO-API-KEY: <api-key>",
"X-BRAVADO-SIGNATURE: <api-key>",
"X-BRAVADO-TIMESTAMP: <api-key>"
],
]);
$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://partner-api.bravadotrade.com/v2/trade/positions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-BRAVADO-API-KEY", "<api-key>")
req.Header.Add("X-BRAVADO-TIMESTAMP", "<api-key>")
req.Header.Add("X-BRAVADO-SIGNATURE", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partner-api.bravadotrade.com/v2/trade/positions")
.header("X-BRAVADO-API-KEY", "<api-key>")
.header("X-BRAVADO-TIMESTAMP", "<api-key>")
.header("X-BRAVADO-SIGNATURE", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/trade/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-BRAVADO-API-KEY"] = '<api-key>'
request["X-BRAVADO-TIMESTAMP"] = '<api-key>'
request["X-BRAVADO-SIGNATURE"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"positions": [
{
"status": "active",
"proxy_wallet": "<string>",
"token_id": "<string>",
"condition_id": "<string>",
"size": "<string>",
"avg_price": "<string>",
"current_value": "<string>",
"cur_price": "<string>",
"initial_value": "<string>",
"cash_pnl": "<string>",
"percent_pnl": "<string>",
"realized_pnl": "<string>",
"percent_realized_pnl": "<string>",
"total_bought": "<string>",
"redeemable": true,
"mergeable": true,
"negative_risk": true,
"title": "<string>",
"slug": "<string>",
"outcome": "<string>",
"outcome_index": 123,
"end_date": "<string>"
}
],
"count": 123
}trade.read
List positions
Returns the user’s positions sourced from the Polymarket data-api, normalised to snake_case with numeric fields encoded as JSON strings. Use ?status=active (default) for currently-held positions with a live mark price and on-chain ERC1155 enrichment, or ?status=closed for fully-sold positions with realized PnL only (live-only fields like size/current_value/mergeable are zeroed). Each row carries a status discriminator for clarity when sources are mixed downstream.
GET
/
v2
/
trade
/
positions
List positions
curl --request GET \
--url https://partner-api.bravadotrade.com/v2/trade/positions \
--header 'X-BRAVADO-API-KEY: <api-key>' \
--header 'X-BRAVADO-SIGNATURE: <api-key>' \
--header 'X-BRAVADO-TIMESTAMP: <api-key>'import requests
url = "https://partner-api.bravadotrade.com/v2/trade/positions"
headers = {
"X-BRAVADO-API-KEY": "<api-key>",
"X-BRAVADO-TIMESTAMP": "<api-key>",
"X-BRAVADO-SIGNATURE": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-BRAVADO-API-KEY': '<api-key>',
'X-BRAVADO-TIMESTAMP': '<api-key>',
'X-BRAVADO-SIGNATURE': '<api-key>'
}
};
fetch('https://partner-api.bravadotrade.com/v2/trade/positions', 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://partner-api.bravadotrade.com/v2/trade/positions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-BRAVADO-API-KEY: <api-key>",
"X-BRAVADO-SIGNATURE: <api-key>",
"X-BRAVADO-TIMESTAMP: <api-key>"
],
]);
$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://partner-api.bravadotrade.com/v2/trade/positions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-BRAVADO-API-KEY", "<api-key>")
req.Header.Add("X-BRAVADO-TIMESTAMP", "<api-key>")
req.Header.Add("X-BRAVADO-SIGNATURE", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partner-api.bravadotrade.com/v2/trade/positions")
.header("X-BRAVADO-API-KEY", "<api-key>")
.header("X-BRAVADO-TIMESTAMP", "<api-key>")
.header("X-BRAVADO-SIGNATURE", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/trade/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-BRAVADO-API-KEY"] = '<api-key>'
request["X-BRAVADO-TIMESTAMP"] = '<api-key>'
request["X-BRAVADO-SIGNATURE"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"positions": [
{
"status": "active",
"proxy_wallet": "<string>",
"token_id": "<string>",
"condition_id": "<string>",
"size": "<string>",
"avg_price": "<string>",
"current_value": "<string>",
"cur_price": "<string>",
"initial_value": "<string>",
"cash_pnl": "<string>",
"percent_pnl": "<string>",
"realized_pnl": "<string>",
"percent_realized_pnl": "<string>",
"total_bought": "<string>",
"redeemable": true,
"mergeable": true,
"negative_risk": true,
"title": "<string>",
"slug": "<string>",
"outcome": "<string>",
"outcome_index": 123,
"end_date": "<string>"
}
],
"count": 123
}Authorizations
Query Parameters
Available options:
active Required range:
1 <= x <= 500Required range:
x >= 0Trading venue; omitted = polymarket.
Available options:
polymarket