Official `Polymarket/polymarket-subgraph` On-Chain Whale Positions & PnL GraphQL Explorer
Query Polymarket's official Goldsky-hosted Subgraph (`Polymarket/polymarket-subgraph`) with zero API keys to inspect whale `avgPrice`, `realizedPnl`, and institutional CTF split/merge events.
01 · Tool Overview & Quantitative Mechanism
Ever wondered how institutional desks compute a whale's exact average entry price (`avgPrice`) and cumulative realized profit (`realizedPnl`) across thousands of Polygon blocks? The answer is Polymarket's official `Polymarket/polymarket-subgraph` repository.
Hosted publicly on Goldsky with zero authentication required, the official subgraph exposes three specialized endpoints: `positions-subgraph` (live token balances), `pnl-subgraph` (`avgPrice` and `realizedPnl` per user), and `activity-subgraph` (on-chain CTF `splits` and `merges`).
02 · Live Interactive Simulator & Demo Workbench
REAL-TIME BROWSER ENGINE · 0 LATENCYOfficial Polymarket Subgraph GraphQL Explorer: Query Whale Positions, Avg Cost & CTF Minting
Built on Polymarket's official `polymarket-subgraph` manifest (hosted on Goldsky/TheGraph): Every Polygon CTF token position, whale cost basis, and split/merge event is indexed on-chain. Switch between the 3 official GraphQL query templates below to preview live indexed telemetry and copy the Python query script:
03 · Step-by-Step Usage Guide (4-Stage Walkthrough)
Click `01 · userPositions`, `02 · accounts PnL`, or `03 · splits & merges` to load the corresponding Goldsky endpoint and GraphQL query.
Note that USDC amounts and CTF token balances in the Subgraph use 6-decimal fixed-point representation (`1000000` = `$1.00 USDC`).
Copy `polymarket_subgraph_whale_query.py`—it requires only standard Python `requests` and zero API keys.
Run the PnL query daily to discover wallets with `realizedPnl > $100,000`, then feed those addresses into Tool #06.
04 · Automated CLI, Python & Docker VPS Deployment Guide
To run this tool 24/7 on your local workstation or an isolated cloud server (such as a low-latency RAKsmart VPS in Tokyo or Frankfurt), copy or download the production deployment script below:
#!/usr/bin/env python3
# Official Polymarket Subgraph CLI Runner (Zero API Key Required)
import requests, json
PNL_SUBGRAPH = "https://api.goldsky.com/api/public/project_cl6mb8i9h0003e201j6li0diw/subgraphs/pnl-subgraph/0.0.14/gn"
QUERY = '''
query TopRealizedProfitWhales {
userPositions(where: { realizedPnl_gt: "100000000000" }, first: 10, orderBy: realizedPnl, orderDirection: desc) {
user
tokenId
amount
avgPrice
realizedPnl
}
}
'''
res = requests.post(PNL_SUBGRAPH, json={"query": QUERY}, timeout=15).json()
for row in res.get("data", {}).get("userPositions", []):
pnl_usd = int(row["realizedPnl"]) / 1e6
avg_c = int(row["avgPrice"]) / 1e4
print(f"Whale {row['user']} | Realized PnL: +${pnl_usd:,.2f} USDC | Avg Entry: {avg_c:.1f}c")
Explore More Standalone Polymarket Pro Tools
← Back to Pro Tools Directory (All 10 Tools)Poly Day (p.day) — ポリマーケット(Polymarket)とは?予測市場の日本での合法性・使い方・株価とリアルタイムオッズ
「ポリマーケットとは」「polymarket 日本 合法 / 違法」「予測市場 日本」の疑問解消と国内取引所からのPolygon USDC送金手順
日本国内でも「ポリマーケット(Polymarket)」「ポリマーケットとは」「polymarketとは」「予測市場 日本」の検索数が急増しています。ポリマーケットはPolygonブロックチェーン上で稼働する世界最大の分散型予測市場(Prediction Market)であり、日銀の政策金利・ドル円相場、衆議院選挙、米大統領選・FRB利下げ、ビットコイン価格、大谷翔平やワールドカップまで、あらゆるイベントの確率が1¢〜99¢のリアルタイム価格として取引されています。
よく検索される「polymarket 日本 合法」「polymarket 違法」「予測市場 日本 合法」については、Poly Day日本語版(p.day/ja/)のような情報端末でリアルタイム確率やクジラ動向を閲覧・分析することは日本国内から100%完全に合法で自由に行えます。また「ポリマーケット 株価」を探す方もいますが、Polymarketは現在未上場のWeb3プロジェクトであり、株式ではなくイベント結果のシェア(1株=的中時$1.00 USDC償還)をCLOB板取引で売買する仕組みです。