Skip to main content
GET
/
v3
/
wallets
/
{addr}
/
credits
/
totals
Wallet Credit Totals
curl --request GET \
  --url https://api.polynode.dev/v3/wallets/{addr}/credits/totals \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.polynode.dev/v3/wallets/{addr}/credits/totals"

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/wallets/{addr}/credits/totals', 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/wallets/{addr}/credits/totals",
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/wallets/{addr}/credits/totals"

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/wallets/{addr}/credits/totals")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.polynode.dev/v3/wallets/{addr}/credits/totals")

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
{
  "end_ts": null,
  "identity": {
    "eoa": "0xafcd9f5f78cb559c99d93f1914880df74cc3fc21",
    "other_wallets": [],
    "username": "swisstony",
    "wallet_type": null
  },
  "start_ts": null,
  "total_amount": "1667868.567600",
  "totals": {
    "maker_rebate": {
      "amount": "303821.696700",
      "count": 130,
      "first_ts": 1772075366,
      "last_ts": 1783730716
    },
    "taker_rebate": {
      "amount": "1364046.870900",
      "count": 39,
      "first_ts": 1781914210,
      "last_ts": 1783728617
    }
  },
  "wallet": "0x204f72f35326db932158cba6adff0b9a1da95e14"
}
Total credits received by a wallet, per program, in one call. Add start_ts/end_ts for time-windowed totals (for example, rebates earned this month).
The response includes an identity block: username, controlling eoa, wallet_type, and other_wallets — the user’s other deployed Polymarket wallets (same controlling account). Polymarket’s own API does not expose this anywhere.

Credit types

Every credits endpoint accepts these values in type/types:
ValueProgram
rewardLiquidity rewards
yieldYield on balances
maker_rebateMaker rebates
taker_rebateTaker rebates
referral_rewardReferral rewards
types accepts a comma-separated set (types=maker_rebate,taker_rebate) or all.

Examples

All five programs at once:
curl "https://api.polynode.dev/v3/wallets/0x204f72f35326db932158cba6adff0b9a1da95e14/credits/totals" \
  -H "x-api-key: $POLYNODE_API_KEY"
Rebates only, June 2026:
curl "https://api.polynode.dev/v3/wallets/0x204f72f35326db932158cba6adff0b9a1da95e14/credits/totals?types=maker_rebate,taker_rebate&start_ts=1780272000&end_ts=1782950400" \
  -H "x-api-key: $POLYNODE_API_KEY"

Authorizations

x-api-key
string
header
required

Path Parameters

addr
string
required

Wallet (proxy) address.

Query Parameters

types
string

Comma-separated set of credit types (One of reward, yield, maker_rebate, taker_rebate, referral_reward), or all for every type.

start_ts
integer

Unix seconds start bound (inclusive).

end_ts
integer

Unix seconds end bound (inclusive).

Response

200 - application/json

Success