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

Polymarket List events

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

List events with offset based pagination and filter parameters.

ราคา
$0.00044USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 26 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

Playground

อินพุต
active
archived
ascending
Filter by closed state. Omitted includes open and closed events. Use true for closed events, false for open events, or any (case-insensitive) for both states. Unlike markets, any does not require an identifier filter. Invalid closed values return 422.
cyom
end_date_max
end_date_min
exclude_tag_id
id
include_chat
include_template
limit ขั้นต่ำ: 0.
liquidity_max
liquidity_min
offset ขั้นต่ำ: 0.
Comma-separated list of fields to order by
recurrence
slug
start_date_max
start_date_min
tag_id
tag_slug
volume_max
volume_min
เอาต์พุตพร้อมใช้งาน

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

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

API README

Polymarket List events API

Returns a list of Polymarket events, each with its nested markets, series and tags. All inputs are optional filters, such as active, closed, tag_slug, slug, volume_min and end_date_max, plus limit and offset for paging.

Use cases

  • Pull all open events under one tag, such as sports, and sort them by volume or liquidity.
  • Find events by slug or id and read the markets inside each one.
  • Track events that belong to a recurring series such as the NBA.
  • Build a list of closed events in a date range for backtesting.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/events" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 1, "active": true}'

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

Parameters

NameTypeRequiredDescription
activebooleanNoactive
archivedbooleanNoarchived
ascendingbooleanNoascending
closedbooleanNoFilter by closed state. Omitted includes open and closed events. Use true for closed events, false for open events, or any (case-insensitive) for both states. Unlike markets, any does not require an identifier filter. In
cyombooleanNocyom
end_date_maxstringNoend_date_max
end_date_minstringNoend_date_min
exclude_tag_idarrayNoexclude_tag_id
featuredbooleanNofeatured
idarrayNoid
include_chatbooleanNoinclude_chat
include_templatebooleanNoinclude_template
limitintegerNolimit
liquidity_maxnumberNoliquidity_max
liquidity_minnumberNoliquidity_min
offsetintegerNooffset
orderstringNoComma-separated list of fields to order by
recurrencestringNorecurrence
related_tagsbooleanNorelated_tags
slugarrayNoslug
start_date_maxstringNostart_date_max
start_date_minstringNostart_date_min
tag_idintegerNotag_id
tag_slugstringNotag_slug
volume_maxnumberNovolume_max
volume_minnumberNovolume_min

Example response

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

[
  {
    "active": true,
    "archived": false,
    "category": "Sports",
    "closed": true,
    "closedTime": "2022-07-27T14:40:02.074Z",
    "commentCount": 8128,
    "competitive": 0,
    "createdAt": "2022-07-27T14:40:02.074Z",
    "creationDate": "2021-12-04T00:00:00Z",
    "cyom": false,
    "deploying": false,
    "description": "In the upcoming NBA game, scheduled for December 4:\n\nIf the Dallas Mavericks win…"
  }
]

Response fields

FieldMeaning
id / slug / tickerIdentifiers for the event. id is a string, and slug is the text used in the event URL.
title / description / categoryThe event name, its resolution rules in text, and a category label such as Sports.
active / closed / archivedState flags for the event. In the sample, active and closed are both true, so do not assume active means open.
startDate / endDate / closedTimeEvent start and end times, and the time the event closed, as ISO 8601 timestamps.
commentCountNumber of comments on the event.
liquidity / openInterestNumeric liquidity and open interest values for the event.
resolutionSourceURL of the source named for resolving the event.
markets[]The markets inside the event. Each one has its own id, conditionId, endDate, bestBid, bestAsk, lastTradePrice and closed state.
markets[].clobTokenIdsA JSON string holding the token IDs for the market outcomes.
series[].slug / series[].title / series[].recurrenceThe series the event belongs to, its name, and how often it recurs, such as daily.
tags[].id / tags[].label / tags[].slugTags on the event. Use id with tag_id and slug with tag_slug to filter.

Notes

Pricing

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

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

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

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

คำถาม

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

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

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

Polymarket List events API ราคาเท่าไร?

$0.00044 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน

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

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: active (boolean), archived (boolean), ascending (boolean), closed (หนึ่งใน any), cyom (boolean) และ end_date_max (string) และอีก 20 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Polymarket List events API ส่งคืนอะไร?

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

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

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