Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Polymarket User Stats

Documentazione API
https://api.sandbase.ai/v1/api/polymarket/traded

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

Prezzo
$0.012USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

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

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON

Domande

FAQ

Come uso l'API Polymarket User Stats?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/polymarket/traded con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Polymarket User Stats?

$0.012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Polymarket User Stats?

Richiesti: user (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Polymarket User Stats?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Polymarket?

No. Polymarket User Stats funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Polymarket.