Get combo closed positions
curl --request GET \
--url https://api.orbscan.com/v1/trader/{address}/combo-positions/closed \
--header 'Authorization: <api-key>'import requests
url = "https://api.orbscan.com/v1/trader/{address}/combo-positions/closed"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.orbscan.com/v1/trader/{address}/combo-positions/closed', 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.orbscan.com/v1/trader/{address}/combo-positions/closed",
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: <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://api.orbscan.com/v1/trader/{address}/combo-positions/closed"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://api.orbscan.com/v1/trader/{address}/combo-positions/closed")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbscan.com/v1/trader/{address}/combo-positions/closed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "OK",
"status_code": "1",
"data": {
"items": [
{
"comboPositionId": "1806159698331040881191422092150869298275778236938264756488486412349341696001",
"comboConditionId": "0x03fe400a9f29d9d3469b8a762cfbca69440000000000000000000000000000",
"amount": "0",
"avgPrice": "0.978552",
"realizedPnl": "2.860071",
"totalBought": "133.349119",
"balance": "0",
"balanceTimestamp": 1787031040,
"totalFee": "0",
"recentTradeTime": 1787031040,
"firstTradeTime": 1787023944,
"currentPrice": "0",
"unrealizedPnl": "0",
"totalPnl": "2.860071",
"percentPnl": "2.19",
"legs": [
{
"comboPositionId": "1806159698331040881191422092150869298275778236938264756488486412349341696001",
"legIndex": 0,
"legPositionId": "458130169191096182666148879069006345232346455474071968405503421352008220672",
"marketId": "3619229",
"marketTitle": "Prague 2: Max Hans Rehberg vs Jakub Nicod",
"logo": "https://polymarket-upload.s3.us-east-2.amazonaws.com/atp-tour-b4390c4fb8.jpg",
"marketSlug": "atp-rehberg-nicod-2026-08-17",
"eventSlug": "atp-rehberg-nicod-2026-08-17",
"outcomeIndex": 0,
"outcome": "Max Hans Rehberg",
"outcomePrice": "0.69",
"resolved": false
}
]
}
],
"nextCursor": null
}
}{
"message": "Missing or invalid API key",
"status_code": "0",
"data": null
}Endpoints
Get Combo Closed Positions
Returns all closed combo (parlay) positions for a wallet — positions where the combo has fully resolved or been sold, with final PnL and leg details.
GET
/
v1
/
trader
/
{address}
/
combo-positions
/
closed
Get combo closed positions
curl --request GET \
--url https://api.orbscan.com/v1/trader/{address}/combo-positions/closed \
--header 'Authorization: <api-key>'import requests
url = "https://api.orbscan.com/v1/trader/{address}/combo-positions/closed"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.orbscan.com/v1/trader/{address}/combo-positions/closed', 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.orbscan.com/v1/trader/{address}/combo-positions/closed",
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: <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://api.orbscan.com/v1/trader/{address}/combo-positions/closed"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://api.orbscan.com/v1/trader/{address}/combo-positions/closed")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbscan.com/v1/trader/{address}/combo-positions/closed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "OK",
"status_code": "1",
"data": {
"items": [
{
"comboPositionId": "1806159698331040881191422092150869298275778236938264756488486412349341696001",
"comboConditionId": "0x03fe400a9f29d9d3469b8a762cfbca69440000000000000000000000000000",
"amount": "0",
"avgPrice": "0.978552",
"realizedPnl": "2.860071",
"totalBought": "133.349119",
"balance": "0",
"balanceTimestamp": 1787031040,
"totalFee": "0",
"recentTradeTime": 1787031040,
"firstTradeTime": 1787023944,
"currentPrice": "0",
"unrealizedPnl": "0",
"totalPnl": "2.860071",
"percentPnl": "2.19",
"legs": [
{
"comboPositionId": "1806159698331040881191422092150869298275778236938264756488486412349341696001",
"legIndex": 0,
"legPositionId": "458130169191096182666148879069006345232346455474071968405503421352008220672",
"marketId": "3619229",
"marketTitle": "Prague 2: Max Hans Rehberg vs Jakub Nicod",
"logo": "https://polymarket-upload.s3.us-east-2.amazonaws.com/atp-tour-b4390c4fb8.jpg",
"marketSlug": "atp-rehberg-nicod-2026-08-17",
"eventSlug": "atp-rehberg-nicod-2026-08-17",
"outcomeIndex": 0,
"outcome": "Max Hans Rehberg",
"outcomePrice": "0.69",
"resolved": false
}
]
}
],
"nextCursor": null
}
}{
"message": "Missing or invalid API key",
"status_code": "0",
"data": null
}Authorizations
Pass your Orbscan API key as a Bearer token, formatted as Bearer <your_api_key>.
Path Parameters
Trader address, 0x + 40 hex chars.
Example:
"0xb88a7733e9abb384f64579970ae17cecb8588cce"
Query Parameters
Page size. Defaults to 20, maximum 100.
Required range:
1 <= x <= 100Pagination cursor from the previous response's nextCursor. Omit for the first page.
Comma-separated market IDs to filter to (e.g. ?marketIds=1,2).
Example:
"3619229,3671211"
⌘I