Skip to main content
GET
/
v1
/
funding
/
balance-ledger
/
download
Download account balance ledger as CSV
curl --request GET \
  --url https://api.prod.polymarketexchange.com/v1/funding/balance-ledger/download
import requests

url = "https://api.prod.polymarketexchange.com/v1/funding/balance-ledger/download"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.prod.polymarketexchange.com/v1/funding/balance-ledger/download', 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.prod.polymarketexchange.com/v1/funding/balance-ledger/download",
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.prod.polymarketexchange.com/v1/funding/balance-ledger/download"

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.prod.polymarketexchange.com/v1/funding/balance-ledger/download")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.prod.polymarketexchange.com/v1/funding/balance-ledger/download")

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
"<string>"

Query Parameters

account
string
required

Required. Fully qualified resource name of the account.

currency
string

Optional. ISO currency code.

start_time
string<date-time>

Optional. Inclusive lower bound on update_time. Clamped to 2026-05-01T00:00:00Z.

end_time
string<date-time>

Optional. Inclusive upper bound on update_time.

entry_types
enum<string>[]

Optional. Filter by one or more entry types from the allowlist. When omitted, the gateway substitutes the full allowlist before forwarding upstream.

Allowlist of balance-ledger entry types that are exposed to clients. Internal exchange types (NETTING, SECURITY_*, CONTRACT_EXPIRATION, BEGINNING_OF_DAY, INTEREST, SETTLEMENT_FEE, etc.) are suppressed: requesting a suppressed type returns Aborted (409), and any suppressed types in upstream responses are silently filtered.

Available options:
DEPOSIT,
WITHDRAWAL,
ORDER_EXECUTION,
CORRECTION,
RESOLUTION,
MANUAL_ADJUSTMENT,
ACCOUNT_PROPERTY_ADJUSTMENT,
COMMISSION,
WITHDRAWAL_REJECTION,
MANUAL_TRANSFER,
PENDING_WITHDRAWAL_CREATION
symbol
string

Optional. Filter by instrument symbol.

description
string

Optional. Substring filter on the entry description. Maximum 200 Unicode characters.

Maximum string length: 200
newest_first
boolean

Optional. If true, rows are emitted in descending update_time order.

page_size
integer<int32>

Optional. Maximum entries per page (max 1000). Values above 1000 return InvalidArgument.

Required range: x <= 1000
page_token
string

Optional. Resume token from a previous download.

Response

200 - text/csv

A successful response (streaming).

CSV file stream containing balance ledger entries.