curl -sS \
-H "Authorization: Bearer $OXINSIDER_API_KEY" \
'https://api.0xinsider.com/api/v1/trader/{address}/context'import requests
url = "https://api.0xinsider.com/api/v1/trader/{address}/context"
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/trader/{address}/context', 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/trader/{address}/context",
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/trader/{address}/context"
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/trader/{address}/context")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/trader/{address}/context")
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": "trader_context",
"data": {
"data_as_of": "2026-09-10T02:04:30.398422Z",
"freshness_note": "Point-in-time snapshot. data_as_of is the open-position clock -- the trader's latest position (/positions) snapshot, else the last completed sync. The snapshot advances only open positions; resolved counts and win rate can include settled markets recorded after the last full sync. Native realized P&L follows its accounting snapshot, whose freshness this clock does not establish. Not a live feed; re-fetch for fresher data.",
"trader": {
"address": "0xabc1230000000000000000000000000000000abc",
"category_records": [
{
"as_of": "2026-09-22T03:17:17.488299Z",
"brier_event_avg": null,
"canonical_category": "Esports",
"edge_lower_95": null,
"edge_mean": null,
"edge_sd": null,
"edge_se": null,
"independent_event_count": 0,
"latest_observation_at": null,
"model_version": "category-skill-v2.0.0",
"observation_started_at": "2026-09-01T21:50:07.762477Z",
"platform": "polymarket",
"resolved_condition_count": 0,
"scope": "observed_goldsky_primary_taker_fill",
"source_coverage": "partial_whale_threshold_fills",
"source_last_success_at": null,
"status": "degraded",
"taxonomy_version": "category-taxonomy-643",
"unresolved_observation_count": 0
},
{
"as_of": "2026-09-22T03:17:17.488299Z",
"brier_event_avg": null,
"canonical_category": "Tennis",
"edge_lower_95": null,
"edge_mean": null,
"edge_sd": null,
"edge_se": null,
"independent_event_count": 0,
"latest_observation_at": null,
"model_version": "category-skill-v2.0.0",
"observation_started_at": "2026-09-01T21:50:07.762477Z",
"platform": "polymarket",
"resolved_condition_count": 0,
"scope": "observed_goldsky_primary_taker_fill",
"source_coverage": "partial_whale_threshold_fills",
"source_last_success_at": null,
"status": "degraded",
"taxonomy_version": "category-taxonomy-643",
"unresolved_observation_count": 0
}
],
"category_skill_model": {
"as_of": "2026-09-22T03:17:17.488299Z",
"model_version": "category-skill-v2.0.0",
"observation_started_at": "2026-09-01T21:50:07.762477Z",
"source_last_success_at": null,
"status": "degraded",
"taxonomy_version": "category-taxonomy-643"
},
"data_quality": {
"status": "partial",
"as_of": "2026-09-10T02:04:30.398422Z",
"field_groups": [
{
"group": "sync",
"owner": "traders.last_synced",
"status": "fresh",
"as_of": "2026-09-10T02:04:30.398422Z",
"max_age_s": 604800
},
{
"group": "sports_record",
"owner": "trader_product_scope_records.computed_at",
"status": "fresh",
"as_of": "2026-09-10T04:18:02.551204Z"
},
{
"group": "ranking",
"owner": "trader_rankings.computed_at",
"status": "fresh",
"as_of": "2026-09-10T06:12:44.120031Z",
"max_age_s": 604800
},
{
"group": "leaderboard_rank",
"owner": "leaderboard_rank_refresh_state.completed_at",
"status": "untracked",
"reason": "only S, A and B wallets are given a leaderboard rank"
},
{
"group": "volume",
"owner": "traders.last_synced",
"status": "fresh",
"as_of": "2026-09-10T02:04:30.398422Z",
"max_age_s": 604800
},
{
"group": "positions",
"owner": "trader_position_snapshots.last_refreshed_at|traders.last_synced",
"status": "unavailable",
"reason": "open-position unrealized P&L is unavailable for this wallet"
}
]
},
"grade": "D",
"id": "trd_0xabc1230000000000000000000000000000000abc",
"last_active": "2026-09-09T21:47:12Z",
"pnl": {
"in_scope": {
"as_of": "2026-09-10T04:18:02.551204Z",
"basis": "polymarket_sports_esports_v1",
"markets": 412,
"markets_out_of_scope": 1477,
"markets_resolved": 398,
"realized_pnl": -1204.37,
"win_rate": 0.5812
}
},
"score": 40.17,
"stats": {
"markets_traded": 412,
"total_volume": 48210.55,
"win_rate": 0.5812
},
"strategy": {
"description": "Mixed activity across 1,802 stored markets. No single observed behavior has a clear lead. Category shares describe recorded USD cost basis; style is separate from performance.",
"strategy_type": "mixed"
},
"sync_status": "synced",
"synced_at": "2026-09-10T02:04:30.398422Z",
"username": "example_trader"
}
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}Trader context
Get a wallet profile and position summary together, with timestamps for their data.
curl -sS \
-H "Authorization: Bearer $OXINSIDER_API_KEY" \
'https://api.0xinsider.com/api/v1/trader/{address}/context'import requests
url = "https://api.0xinsider.com/api/v1/trader/{address}/context"
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/trader/{address}/context', 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/trader/{address}/context",
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/trader/{address}/context"
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/trader/{address}/context")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/trader/{address}/context")
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": "trader_context",
"data": {
"data_as_of": "2026-09-10T02:04:30.398422Z",
"freshness_note": "Point-in-time snapshot. data_as_of is the open-position clock -- the trader's latest position (/positions) snapshot, else the last completed sync. The snapshot advances only open positions; resolved counts and win rate can include settled markets recorded after the last full sync. Native realized P&L follows its accounting snapshot, whose freshness this clock does not establish. Not a live feed; re-fetch for fresher data.",
"trader": {
"address": "0xabc1230000000000000000000000000000000abc",
"category_records": [
{
"as_of": "2026-09-22T03:17:17.488299Z",
"brier_event_avg": null,
"canonical_category": "Esports",
"edge_lower_95": null,
"edge_mean": null,
"edge_sd": null,
"edge_se": null,
"independent_event_count": 0,
"latest_observation_at": null,
"model_version": "category-skill-v2.0.0",
"observation_started_at": "2026-09-01T21:50:07.762477Z",
"platform": "polymarket",
"resolved_condition_count": 0,
"scope": "observed_goldsky_primary_taker_fill",
"source_coverage": "partial_whale_threshold_fills",
"source_last_success_at": null,
"status": "degraded",
"taxonomy_version": "category-taxonomy-643",
"unresolved_observation_count": 0
},
{
"as_of": "2026-09-22T03:17:17.488299Z",
"brier_event_avg": null,
"canonical_category": "Tennis",
"edge_lower_95": null,
"edge_mean": null,
"edge_sd": null,
"edge_se": null,
"independent_event_count": 0,
"latest_observation_at": null,
"model_version": "category-skill-v2.0.0",
"observation_started_at": "2026-09-01T21:50:07.762477Z",
"platform": "polymarket",
"resolved_condition_count": 0,
"scope": "observed_goldsky_primary_taker_fill",
"source_coverage": "partial_whale_threshold_fills",
"source_last_success_at": null,
"status": "degraded",
"taxonomy_version": "category-taxonomy-643",
"unresolved_observation_count": 0
}
],
"category_skill_model": {
"as_of": "2026-09-22T03:17:17.488299Z",
"model_version": "category-skill-v2.0.0",
"observation_started_at": "2026-09-01T21:50:07.762477Z",
"source_last_success_at": null,
"status": "degraded",
"taxonomy_version": "category-taxonomy-643"
},
"data_quality": {
"status": "partial",
"as_of": "2026-09-10T02:04:30.398422Z",
"field_groups": [
{
"group": "sync",
"owner": "traders.last_synced",
"status": "fresh",
"as_of": "2026-09-10T02:04:30.398422Z",
"max_age_s": 604800
},
{
"group": "sports_record",
"owner": "trader_product_scope_records.computed_at",
"status": "fresh",
"as_of": "2026-09-10T04:18:02.551204Z"
},
{
"group": "ranking",
"owner": "trader_rankings.computed_at",
"status": "fresh",
"as_of": "2026-09-10T06:12:44.120031Z",
"max_age_s": 604800
},
{
"group": "leaderboard_rank",
"owner": "leaderboard_rank_refresh_state.completed_at",
"status": "untracked",
"reason": "only S, A and B wallets are given a leaderboard rank"
},
{
"group": "volume",
"owner": "traders.last_synced",
"status": "fresh",
"as_of": "2026-09-10T02:04:30.398422Z",
"max_age_s": 604800
},
{
"group": "positions",
"owner": "trader_position_snapshots.last_refreshed_at|traders.last_synced",
"status": "unavailable",
"reason": "open-position unrealized P&L is unavailable for this wallet"
}
]
},
"grade": "D",
"id": "trd_0xabc1230000000000000000000000000000000abc",
"last_active": "2026-09-09T21:47:12Z",
"pnl": {
"in_scope": {
"as_of": "2026-09-10T04:18:02.551204Z",
"basis": "polymarket_sports_esports_v1",
"markets": 412,
"markets_out_of_scope": 1477,
"markets_resolved": 398,
"realized_pnl": -1204.37,
"win_rate": 0.5812
}
},
"score": 40.17,
"stats": {
"markets_traded": 412,
"total_volume": 48210.55,
"win_rate": 0.5812
},
"strategy": {
"description": "Mixed activity across 1,802 stored markets. No single observed behavior has a clear lead. Category shares describe recorded USD cost basis; style is separate from performance.",
"strategy_type": "mixed"
},
"sync_status": "synced",
"synced_at": "2026-09-10T02:04:30.398422Z",
"username": "example_trader"
}
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}Parameters
| Parameter | Description |
|---|---|
address | The wallet to look up: a 0x... address, a Polymarket username, or a trd_ id. All three return the same document. |
Key response fields
| Field | Meaning |
|---|---|
trader | The Trader profile, with the strategy and categories expansions already applied. trust is never included here. |
trader.data_quality | The age and availability of the profile’s field groups. Always sent. It covers the trader object only; data_as_of below covers the positions. See Data age. |
position_summary | The object is omitted when 0xinsider has no record of the wallet or Polymarket’s net figures for it are unavailable. Check that the field exists before accessing it. The market counts, unrealized_mtm, cost_basis_locked, and the win figures cover the wallet’s sports and esports markets. A wallet with no sports or esports market can still show older markets of other categories until 0xinsider deletes them. |
position_summary.markets_total | The number of markets the wallet traded in every category, as Polymarket reports it. |
position_summary.markets_pruned | Markets of other categories that the wallet traded and whose rows 0xinsider deleted, counted when they were deleted. 0 when none were. No other count in position_summary includes them. |
position_summary.markets_unstored | Markets of other categories that the wallet first traded on or after October 26, 2026. 0xinsider does not store them and counts them as the wallet syncs. 0 when there are none. No other count in position_summary includes them. |
position_summary.markets_combo | Combo markets the wallet traded, as maker or taker. Polymarket counts each combo as one market in markets_total, and no position list includes a combo. 0 when the wallet traded none. No other count in position_summary includes them. |
position_summary.sync_coverage | markets_synced plus markets_pruned plus markets_unstored plus markets_combo, divided by markets_total, capped at 1.0. Both sides count every category, so a fully synced wallet reads 1.0. When markets_total is null, 0, or negative, a positive sum makes this 1.0, so check markets_total before you read 1.0 as full coverage. |
position_summary.total_realized_pnl | Profit and loss on settled positions in USD over every market the wallet traded, as Polymarket reports it, with rebates included. It does not depend on sync_coverage. For the sports and esports figure, read trader.pnl.in_scope.realized_pnl. |
position_summary.resolved_win_rate | A percentage from 0 to 100: resolved_wins divided by resolved_decided. A market that settled at exactly 0 is neither a win nor a loss, so it is in neither count. It uses the same rule as trader.stats.win_rate but reads the wallet’s markets when you call, so the two can differ for a few minutes after new settled markets are recorded. |
data_as_of | How fresh the open positions are: the time of the wallet’s latest positions snapshot, or the last completed sync if there is no snapshot. Resolved counts and win rate can include settled markets recorded after the last full sync. |
Example
curl -H "Authorization: Bearer $OXINSIDER_API_KEY" \
"https://api.0xinsider.com/api/v1/trader/swisstony/context"
What it does not return
- A
404for a wallet 0xinsider does not track yet. You get a200,trader.sync_statusset tounknown, and noposition_summary. trust. It is anexpandvalue on Trader.- A live feed. This is a snapshot of one moment, which
freshness_notestates in the response itself. Request it again for fresher numbers. - A freshness time for the settled P&L figures.
data_as_ofcovers open positions only. - A briefing without its
position_summarywhen that part takes too long. For a wallet with a long history whose data is not in the database cache, the route can return503witherror.reason: "read_model_warming"instead. Retry after theRetry-Afterheader, which is 2 seconds.
Caching
Save the response’sETag and send it in If-None-Match on your next request. If the briefing has not changed, the server returns 304 Not Modified with no body.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
Was this page helpful?