Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Polymarket User Stats

เอกสาร API
https://api.sandbase.ai/v1/api/polymarket/traded

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

ราคา
$0.012USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
The wallet whose profile stats to return. Required; `0x` followed by 40 hexadecimal characters.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Polymarket User Stats API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/polymarket/traded โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Polymarket User Stats API ราคาเท่าไร?

$0.012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Polymarket User Stats API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: user (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Polymarket User Stats API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Polymarket ไหม?

ไม่จำเป็น Polymarket User Stats ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Polymarket API แยกต่างหาก