curl -sS \
-H "Authorization: Bearer $OXINSIDER_API_KEY" \
'https://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out?window=24h'import requests
url = "https://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out', 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.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out",
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://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out"
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://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out")
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{
"object": "market_wallets_in_out",
"data": {
"condition_id": "0xcond",
"window": "24h",
"window_start": "2026-10-31T23:00:00Z",
"window_end": "2026-11-01T23:00:00Z",
"summary": {
"wallets_in": 412,
"wallets_out": 288,
"net_usd": 18342.57
},
"net_buyers": [
{
"address": "0x1111111111111111111111111111111111111111",
"display_name": "sharpwallet",
"grade": "A",
"net_usd": 52310.4,
"trades": 14,
"last_traded_at": "2026-11-01T22:58:41Z"
}
],
"net_sellers": [
{
"address": "0x2222222222222222222222222222222222222222",
"display_name": "0x2222...2222",
"grade": null,
"net_usd": -30115.02,
"trades": 6,
"last_traded_at": "2026-11-01T22:58:41Z"
}
]
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}Market wallets in and out
See which wallets put the most money into one market and which took the most out, over the last 24 hours or 7 days.
curl -sS \
-H "Authorization: Bearer $OXINSIDER_API_KEY" \
'https://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out?window=24h'import requests
url = "https://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out', 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.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out",
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://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out"
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://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/market/{condition_id}/wallets-in-out")
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{
"object": "market_wallets_in_out",
"data": {
"condition_id": "0xcond",
"window": "24h",
"window_start": "2026-10-31T23:00:00Z",
"window_end": "2026-11-01T23:00:00Z",
"summary": {
"wallets_in": 412,
"wallets_out": 288,
"net_usd": 18342.57
},
"net_buyers": [
{
"address": "0x1111111111111111111111111111111111111111",
"display_name": "sharpwallet",
"grade": "A",
"net_usd": 52310.4,
"trades": 14,
"last_traded_at": "2026-11-01T22:58:41Z"
}
],
"net_sellers": [
{
"address": "0x2222222222222222222222222222222222222222",
"display_name": "0x2222...2222",
"grade": null,
"net_usd": -30115.02,
"trades": 6,
"last_traded_at": "2026-11-01T22:58:41Z"
}
]
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}Parameters
| Parameter | Meaning |
|---|---|
condition_id | Polymarket’s own ID for the market, or the market’s mkt_ ID. |
window | Optional. 24h (the default) or 7d. Any other value answers 400 with error.param window. |
Key response fields
| Field | Meaning |
|---|---|
window_start, window_end | The window’s bounds. window_end is the time of the read. |
summary.wallets_in, summary.wallets_out | How many wallets have a positive net and how many have a negative net in the window. They count every wallet, not only the listed ones. |
summary.net_usd | The sum of every wallet’s net in the window. A wallet that bought and sold the same amount nets zero and is on neither side. |
net_buyers | Up to 25 wallets with the largest positive net, largest first. |
net_sellers | Up to 25 wallets with the largest negative net, most negative first. |
net_buyers[].address, display_name, grade | The wallet, the name the site shows, and today’s grade. grade is null for an ungraded wallet. |
net_buyers[].net_usd | The wallet’s buys minus its sells in the window, in USD. It counts the matched amount and leaves out fees. |
net_buyers[].trades | The wallet’s fills in this market in the window. |
net_buyers[].last_traded_at | The wallet’s newest trade on any market, at or before window_end. |
Example
curl -sS \
-H "Authorization: Bearer $OXINSIDER_API_KEY" \
'https://api.0xinsider.com/api/v1/market/0x6e988ea96e8f18fb71f7635bbedb07cda76063ad6c496eaa5bd468a59013cc0e/wallets-in-out?window=7d'
Freshness
The numbers are cached for 60 seconds. Send the lastETag as If-None-Match, and you get a 304 with an empty body when nothing changed.
What it does not return
- A market 0xinsider does not track. That is a
404witherror.paramcondition_id. A market outside sports and esports is a404witherror.reasonmarket_out_of_scope. - Windows other than 24 hours and 7 days.
- More than 25 wallets per side. The
summarycounts cover the rest.
Authorizations
Legacy default or named integration API key, or OAuth 2.1 access token, in the Authorization header as Bearer oxi_sk_live_... or Bearer oxi_at_.... Default keys retain full access; integration keys are limited to their approved read, webhooks, export and usage scopes and expire within 90 days. All credentials share the owner's account limits. Data calls require an active Pro subscription and return live data. A 401 carries WWW-Authenticate: Bearer resource_metadata="https://api.0xinsider.com/.well-known/oauth-protected-resource" (RFC 6750 section 3, RFC 9728).
Scopes
Headers
Opt into strict query-name validation. The default is compatible: unknown names are ignored and reported in X-Query-Ignored. With strict, an unknown name returns 400 bad_request with error.reason unknown_query_parameter before the handler runs, including when its percent escape is incomplete.
strict Path Parameters
Query Parameters
Response
The market's net buyers and sellers
Was this page helpful?