Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Polymarket User Stats

API dokümanları
https://api.sandbase.ai/v1/api/polymarket/traded

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

Fiyat
$0.012USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
The wallet whose profile stats to return. Required; `0x` followed by 40 hexadecimal characters.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON

Sorular

SSS

Polymarket User Stats API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/polymarket/traded adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Polymarket User Stats API'sinin fiyatı nedir?

çağrı başına $0.012, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Polymarket User Stats API'si hangi parametreleri kabul eder?

Gerekli: user (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Polymarket User Stats API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Polymarket geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Polymarket User Stats, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Polymarket API erişimi için ayrıca başvuru yapmanız gerekmez.