Get Current Positions
curl --request GET \
--url https://www.aionmarket.com/bvapi/markets/current-positions \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.aionmarket.com/bvapi/markets/current-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/current-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/current-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/current-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/current-positions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.aionmarket.com/bvapi/markets/current-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[
{
"marketId": "<string>",
"title": "<string>",
"outcome": "<string>",
"size": 123,
"avgPrice": 123,
"currentPrice": 123,
"unrealizedPnl": 123
}
]Market Operations
Get Current Positions
Retrieve current open positions for a wallet across Polymarket / Kalshi.
GET
/
markets
/
current-positions
Get Current Positions
curl --request GET \
--url https://www.aionmarket.com/bvapi/markets/current-positions \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.aionmarket.com/bvapi/markets/current-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/current-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/current-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/current-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/current-positions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.aionmarket.com/bvapi/markets/current-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[
{
"marketId": "<string>",
"title": "<string>",
"outcome": "<string>",
"size": 123,
"avgPrice": 123,
"currentPrice": 123,
"unrealizedPnl": 123
}
]Returns the list of currently open positions for a wallet. Polymarket positions are proxied from Polymarket Data API, Kalshi positions are read from
mk_kalshi_position. Use the venue parameter to switch between markets.
Query Parameters
string
required
Wallet address used by the data source. Polymarket: EVM address; Kalshi: Solana address.
string
Market
conditionId filter; supports comma-separated values. Mutually exclusive with eventId.string
Keyword filter applied to market title. Max 100 chars.
number
default:"1"
Minimum position size threshold.
boolean
default:"false"
Polymarket only: return only redeemable positions.
boolean
default:"false"
Polymarket only: return only mergeable positions.
integer
default:"100"
Per-page result count (0–500).
integer
default:"0"
Pagination offset (0–10000).
string
default:"TOKENS"
Sort field. One of
CURRENT, INITIAL, TOKENS, CASHPNL, PERCENTPNL, TITLE, RESOLVING, PRICE, AVGPRICE.string
default:"DESC"
Sort direction. One of
ASC, DESC.string
default:"polymarket"
Trading venue:
polymarket or kalshi.Response
array
Array of position records. Polymarket records and Kalshi records share core fields (
marketId / outcome / size / avgPrice / currentPrice / unrealizedPnl) but venue-specific fields may differ.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Wallet address. polymarket uses EVM address; kalshi uses Solana address.
Filter by venue
Available options:
polymarket, kalshi Market filter. For kalshi this maps to marketTicker (supports comma-separated values).
Title keyword filter. For kalshi, fuzzy match on marketTicker.
Minimum position size filter.
Polymarket-only filter.
Polymarket-only filter.
Required range:
0 <= x <= 500Required range:
0 <= x <= 10000Available options:
CURRENT, INITIAL, TOKENS, CASHPNL, PERCENTPNL, TITLE, RESOLVING, PRICE, AVGPRICE Available options:
ASC, DESC