Skip to main content
GET
/
v3
/
perps
/
wallets
/
portfolios
Portfolios (batch)
curl --request GET \
  --url https://api.polynode.dev/v3/perps/wallets/portfolios \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.polynode.dev/v3/perps/wallets/portfolios"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.polynode.dev/v3/perps/wallets/portfolios', 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.polynode.dev/v3/perps/wallets/portfolios",
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-api-key: <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.polynode.dev/v3/perps/wallets/portfolios"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-api-key", "<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.polynode.dev/v3/perps/wallets/portfolios")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.polynode.dev/v3/perps/wallets/portfolios")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "data": [
    {
      "input": "0x4f78...8731",
      "wallet_type": "eoa",
      "registered": true,
      "equity": "255137.89",
      "positions": [
        {
          "symbol": "SP500-USD",
          "side": "short",
          "size": "-133.9",
          "notional": "1004179.30"
        }
      ],
      "timestamp": 1783605489339
    }
  ]
}
Fetch the enriched live portfolio for a list of wallets in one request (up to 20) — positions, equity, explicit side, live mark and derived notional, exactly as the single-wallet portfolio endpoint returns them, one entry per address. Pass a comma-separated addresses list. Each address is resolved automatically; a malformed or unresolvable address returns an error field inline rather than failing the whole batch. Because every entry is a live per-wallet fetch, this endpoint is capped tighter than the registration check.
curl "https://api.polynode.dev/v3/perps/wallets/portfolios?addresses=0xABC...,0xDEF...&key=$POLYNODE_API_KEY"

Authorizations

x-api-key
string
header
required

Query Parameters

addresses
string
required

Comma-separated Polymarket addresses (proxy wallet or signer). Resolution is automatic.

Response

200 - application/json

Success