userstringआवश्यक
The wallet whose profile stats to return. Required; `0x` followed by 40 hexadecimal characters.
https://api.sandbase.ai/v1/api/polymarket/tradedA wallet's profile stats: total trades, biggest win, profile views and join date.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
user | string | Yes | The wallet whose profile stats to return. Required; 0x followed by 40 hexadecimal characters. |
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
}
}
| Field | Meaning |
|---|---|
data.proxy_wallet | The wallet address the stats belong to. |
data.trades | Number of trades for the wallet shown on its profile. |
data.biggest_win | Largest single win for the wallet. |
data.join_date | When the wallet joined, as a Unix timestamp in seconds. |
data.views | Number of profile views. |
data.all_time_pnl.economic_pnl / data.all_time_pnl.settled_pnl | All-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_pnl | Realized profit and loss from closed results, and unrealized profit and loss on positions still open. Unrealized can be negative. |
data.all_time_pnl.trade_count | Number of trades counted in the all-time profit and loss calculation. |
data.all_time_pnl.volume / data.all_time_pnl.volume_usdc | Total 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.fees | Fees 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_income | Income from maker rebates, taker rebates and rewards. |
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.cashflow_net, deposits and withdrawals can be null.$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
userstringआवश्यकThe wallet whose profile stats to return. Required; `0x` followed by 40 hexadecimal characters.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Polymarket User Statsयह 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 |
प्रश्न
https://api.sandbase.ai/v1/api/polymarket/traded पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.012 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: user (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Polymarket User Stats SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Polymarket API access के लिए आवेदन करने की आवश्यकता नहीं है।