Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Polymarket User Stats

API-Dokumentation
https://api.sandbase.ai/v1/api/polymarket/traded

A wallet's profile stats: total trades, biggest win, profile views and join date.

Preis
$0.012USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 0 optional

Playground

Eingabe
The wallet whose profile stats to return. Required; `0x` followed by 40 hexadecimal characters.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Polymarket User Stats API

Returns profile stats for one Polymarket wallet: trade count, biggest win, profile views, join date and an all-time profit and loss breakdown. It needs one input, the wallet address in user.

Use cases

  • Check how active and how profitable a wallet is before copying its trades.
  • Compare the all-time profit and loss of several wallets side by side.
  • Show a trader card with join date, profile views and trade count in a dashboard.
  • Spot wallets that earn mostly from fees and rebates rather than from trading.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/traded" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user": "0xfe787d2da716d60e8acff57fb87eb13cd4d10319"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
userstringYesThe wallet whose profile stats to return. Required; 0x followed by 40 hexadecimal characters.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "all_time_pnl": {
      "cashflow_net": null,
      "deposits": null,
      "economic_pnl": 5542941.528962,
      "fees": -4819186.982857,
      "fees_paid": -2146855.218475,
      "fees_refunded": 2672331.764382,
      "maker_rebate": 1555886.072,
      "position_pnl": 2897083.283962,
      "realized_combo_pnl": 0.0,
      "realized_lp_pnl": 0.0,
      "realized_market_pnl": 2899267.130228,
      "realized_pnl": 2899267.130228
    },
    "biggest_win": 412361.928935,
    "join_date": 1774462766,
    "proxy_wallet": "0xfe787d2da716d60e8acff57fb87eb13cd4d10319",
    "trades": 87633,
    "views": 334708
  }
}

Response fields

FieldMeaning
data.proxy_walletThe wallet address the stats belong to.
data.tradesNumber of trades for the wallet shown on its profile.
data.biggest_winLargest single win for the wallet.
data.join_dateWhen the wallet joined, as a Unix timestamp in seconds.
data.viewsNumber of profile views.
data.all_time_pnl.economic_pnl / data.all_time_pnl.settled_pnlAll-time profit and loss figures for the wallet. They are computed differently, so the two values differ.
data.all_time_pnl.realized_pnl / data.all_time_pnl.unrealized_pnlRealized profit and loss from closed results, and unrealized profit and loss on positions still open. Unrealized can be negative.
data.all_time_pnl.trade_countNumber of trades counted in the all-time profit and loss calculation.
data.all_time_pnl.volume / data.all_time_pnl.volume_usdcTotal trading volume for the wallet. volume_usdc is the volume given in USDC.
data.all_time_pnl.fees_paid / data.all_time_pnl.fees_refunded / data.all_time_pnl.feesFees paid, fees refunded, and the net fees figure. Fee values are negative when they cost the wallet money.
data.all_time_pnl.maker_rebate / data.all_time_pnl.taker_rebate / data.all_time_pnl.reward_incomeIncome from maker rebates, taker rebates and rewards.

Notes

  • user must be 0x followed by 40 hexadecimal characters.
  • data.all_time_pnl.trade_count and data.trades are different numbers in the sample response, so do not treat them as the same count.
  • data.all_time_pnl.timestamp is a Unix timestamp in seconds, and source_block is a block number.
  • Fields such as cashflow_net, deposits and withdrawals can be null.
  • For the wallet's current holdings, call Polymarket Wallet Positions. For its recent trades, call Polymarket Wallet Activity.

Pricing

$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die Polymarket User Stats API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/polymarket/traded mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Polymarket User Stats API?

$0.012 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Polymarket User Stats API?

Erforderlich: user (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Polymarket User Stats API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Polymarket-Entwicklerkonto oder einen API-Schlüssel?

Nein. Polymarket User Stats läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Polymarket API beantragen.