Wallet Positions
curl --request GET \
--url https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/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://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/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 => [
"Authorization: Bearer <token>"
],
]);
$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://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"wallet_address": "<string>",
"position_count": 123,
"positions": [
{
"market_title": "<string>",
"condition_id": "<string>",
"token_id": "<string>",
"side": "<string>",
"shares": 123,
"market_slug": "<string>",
"current_price": 123,
"current_value": 123
}
],
"total_value": 123
}Wallet
Wallet Positions
Fetch Polymarket positions for any wallet address.
Requires API key in Authorization header (rate limited: 60/minute). Cached for 30s per wallet to prevent heavy pollers from saturating the API.
GET
/
markets
/
wallet
/
{walletAddress}
/
positions
Wallet Positions
curl --request GET \
--url https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/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://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/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 => [
"Authorization: Bearer <token>"
],
]);
$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://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.aionmarket.com/bvapi/markets/wallet/{walletAddress}/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"wallet_address": "<string>",
"position_count": 123,
"positions": [
{
"market_title": "<string>",
"condition_id": "<string>",
"token_id": "<string>",
"side": "<string>",
"shares": 123,
"market_slug": "<string>",
"current_price": 123,
"current_value": 123
}
],
"total_value": 123
}Fetch Polymarket positions for any wallet address.
Overview
This endpoint retrieves all current positions held by a specific wallet address on Polymarket. It returns a structured summary including each position’s market title, side, shares, current price, and value.Rate Limiting
- 60 requests per minute per API key
- 30-second cache per wallet address to prevent heavy pollers from saturating the API
Response Fields
| Field | Type | Description |
|---|---|---|
wallet_address | string | The queried wallet address |
position_count | integer | Number of active positions |
positions | array | List of position objects |
total_value | number | null | Total portfolio value across all positions |
Position Object
| Field | Type | Description |
|---|---|---|
market_title | string | Title of the market |
condition_id | string | Polymarket condition ID |
token_id | string | Token asset ID |
side | string | Position side (e.g. “Yes”, “No”) |
shares | number | Number of shares held |
market_slug | string | Market URL slug |
current_price | number | Current market price |
current_value | number | Current value of the position |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Polymarket wallet address (0x-prefixed, 40 hex chars)
Pattern:
^0x[a-fA-F0-9]{40}$