Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Polymarket Get multiple markets with rewards

Tài liệu API
https://api.sandbase.ai/v1/api/polymarket/rewards-markets-multi

Returns multiple markets with rewards and supports filtering and sorting.

Giá
$0.012USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 14 tùy chọn

Phòng thử nghiệm

Đầu vào
Filter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200)
Search event titles using case-insensitive pattern matching
Maximum first token price filter
Maximum spread filter
Maximum 24-hour volume filter
Minimum first token price filter
Minimum spread filter
Minimum 24-hour volume filter
Pagination cursor from previous response
Field to sort results by
Number of items per page (max 500, values above are capped) Tối đa: 500.
Sort direction
Text search on market question/description
Filter by tag slug. Can be repeated for OR logic (e.g., ?tag_slug=sports&tag_slug=politics)
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Polymarket Get multiple markets with rewards API

Returns a page of Polymarket markets that have liquidity rewards, with prices, spread, 24-hour volume and reward settings for each market. No input is required. You can filter by event, tag, text, price, spread or volume, and sort the results.

Use cases

  • List markets in one event with a reward minimum size and maximum spread to find where to quote orders.
  • Find reward markets with a wide spread and high volume_24hr to rank quoting opportunities.
  • Pull token_id values for reward markets to feed into order book or price calls.
  • Track which markets in a tag such as sports or politics currently offer rewards.

Request

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

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

Parameters

NameTypeRequiredDescription
event_idstringNoFilter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200)
event_titlestringNoSearch event titles using case-insensitive pattern matching
max_pricenumberNoMaximum first token price filter
max_spreadnumberNoMaximum spread filter
max_volume_24hrnumberNoMaximum 24-hour volume filter
min_pricenumberNoMinimum first token price filter
min_spreadnumberNoMinimum spread filter
min_volume_24hrnumberNoMinimum 24-hour volume filter
next_cursorstringNoPagination cursor from previous response
order_bystringNoField to sort results by
page_sizeintegerNoNumber of items per page (max 500, values above are capped)
positionstringNoSort direction
qstringNoText search on market question/description
tag_slugstringNoFilter by tag slug. Can be repeated for OR logic (e.g., ?tag_slug=sports&tag_slug=politics)

Example response

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

{
  "count": 100,
  "data": [
    {
      "condition_id": "0x2d3c4fc5cde6dfb43448402b912e41bd4453e3f030448ed026bff8f1a0bc072e",
      "created_at": "2025-07-08T19:05:57.129881Z",
      "end_date": "2028-11-08 04:59:00+00",
      "event_id": "31552",
      "event_slug": "presidential-election-winner-2028",
      "group_item_title": "Eric Trump",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/eric-trump-eb65c618d6.png",
      "market_competitiveness": 0,
      "market_id": "561263",
      "market_slug": "will-eric-trump-win-the-2028-us-presidential-election",
      "one_day_price_change": 0,
      "question": "Will Eric Trump win the 2028 US Presidential Election?"
    }
  ],
  "limit": 100,
  "next_cursor": "MTAw"
}

Response fields

FieldMeaning
count / limitNumber of markets in this page and the page size used.
next_cursorCursor for the next page. Send it back as next_cursor.
data[].market_id / data[].condition_idIdentifiers for the market. market_id is a numeric string and condition_id is a hex string.
data[].question / data[].group_item_titleThe market question and the short label of the item inside its event, such as a candidate name.
data[].event_id / data[].event_slugThe event the market belongs to.
data[].tokens[].outcome / data[].tokens[].priceThe outcome name (Yes or No) and its current price.
data[].tokens[].token_idToken ID for each outcome. Use it in order book, price and spread calls.
data[].spread / data[].volume_24hrCurrent spread of the market and its 24-hour volume.
data[].rewards_max_spread / data[].rewards_min_sizeReward settings for the market: the maximum spread and the minimum order size.
data[].one_day_price_change / data[].market_competitivenessPrice change over one day and the competitiveness score of the market.

Notes

  • Send the next_cursor value from the response as the next_cursor parameter to get the next page.
  • page_size defaults to 100 and is capped at 500.
  • order_by accepts values such as volume_24hr, spread, rate_per_day and reward_end_date. Set position to ASC or DESC.
  • To read the full details of one market, call Polymarket Get market by id. To see its order book, call Polymarket Get order book with a token_id.

Pricing

$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Polymarket Get multiple markets with rewards?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/rewards-markets-multi với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Polymarket Get multiple markets with rewards có giá bao nhiêu?

$0.012 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Polymarket Get multiple markets with rewards chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: event_id (string), event_title (string), max_price (number), max_spread (number), max_volume_24hr (number) và min_price (number) và 8 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Polymarket Get multiple markets with rewards trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Polymarket không?

Không. Polymarket Get multiple markets with rewards chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Polymarket.