Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Polymarket Get sampling simplified markets

API दस्तावेज़
https://api.sandbase.ai/v1/api/polymarket/sampling-simplified-markets

Returns sampling simplified markets with reward and token summaries.

मूल्य
$0.012USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
0 आवश्यक · 1 वैकल्पिक

प्लेग्राउंड

इनपुट
next_cursor
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Polymarket Get sampling simplified markets API

Returns a page of Polymarket markets that have reward programs, with each market's reward settings and its outcome tokens with prices. The call needs no input for the first page, and takes an optional next_cursor to fetch later pages.

Use cases

  • List markets that pay liquidity rewards and compare their rewards_daily_rate values.
  • Find the token_id for each Yes and No outcome to use in order book or price calls.
  • Track current outcome prices for reward-eligible markets.
  • Filter for markets that are active and still accepting orders before quoting.

Request

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

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

Parameters

NameTypeRequiredDescription
next_cursorstringNonext_cursor

Example response

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

{
  "count": 1000,
  "data": [
    {
      "accepting_orders": true,
      "active": true,
      "archived": false,
      "closed": false,
      "condition_id": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
      "rewards": {
        "max_spread": 3.5,
        "min_size": 200,
        "rates": [
          {
            "asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
            "rewards_daily_rate": 5
          }
        ]
      },
      "tokens": [
        {
          "outcome": "Yes",
          "price": 0.0205,
          "token_id": "32338220…",
          "winner": false
        }
      ],
      "version": "v1"
    }
  ],
  "limit": 1000,
  "next_cursor": "aWQ6MTMyODAxOQ=="
}

Response fields

FieldMeaning
countNumber of markets in this response page.
limitPage size limit for the response. The sample shows 1000.
next_cursorCursor string to pass as next_cursor to get the next page.
data[].condition_idHex ID of the market condition. Use it to identify the market in other calls.
data[].active / data[].closed / data[].archived / data[].accepting_ordersBoolean flags for market state. They show whether the market is live, finished, archived, or taking orders.
data[].rewards.max_spreadMaximum spread value allowed for an order to count toward rewards.
data[].rewards.min_sizeMinimum order size value for an order to count toward rewards.
data[].rewards.rates[].rewards_daily_rateDaily reward rate for the asset listed in asset_address.
data[].tokens[].outcome / data[].tokens[].priceOutcome label such as Yes or No, and its current price. Prices of the two outcomes add up to about 1.
data[].tokens[].token_id / data[].tokens[].winnerLong numeric ID of the outcome token, and a flag that shows whether that outcome won.

Notes

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

प्रश्न

FAQ

Polymarket Get sampling simplified markets API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/polymarket/sampling-simplified-markets पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Polymarket Get sampling simplified markets API की लागत कितनी है?

$0.012 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Polymarket Get sampling simplified markets API कौन-से parameters स्वीकार करती है?

कोई parameters आवश्यक नहीं हैं। वैकल्पिक: next_cursor (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Polymarket Get sampling simplified markets API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Polymarket developer account या API key चाहिए?

नहीं। Polymarket Get sampling simplified markets SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Polymarket API access के लिए आवेदन करने की आवश्यकता नहीं है।