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 CLOB market info

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

Returns all CLOB-level parameters for a market in a single call — tokens, tick size, base fees, rewards, RFQ status, and fee details.

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

Phòng thử nghiệm

Đầu vào
The condition ID of the market
Đầ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 CLOB market info API

Returns the CLOB trading settings for one Polymarket market. These include its outcome tokens, tick size, base fees, rewards settings and fee details. It needs the market's condition_id.

Use cases

  • Look up the Yes and No token IDs for a market before you query prices or order books.
  • Read the tick size before you build limit orders for a market.
  • Check whether a market has rewards settings before you plan market making.
  • Compare the fee settings of several markets by calling this API once per condition_id.

Request

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

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

Parameters

NameTypeRequiredDescription
condition_idstringYesThe condition ID of the market

Example response

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

{
  "ao": true,
  "aot": "2025-07-03T20:36:33Z",
  "c": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
  "cbos": true,
  "fd": {
    "e": 1,
    "r": 0.04,
    "to": true
  },
  "ibce": true,
  "mbf": 1000,
  "mos": 5,
  "mts": 0.001,
  "r": {
    "e": true,
    "ma": 3.5,
    "mi": 200,
    "moas": 4
  },
  "t": [
    {
      "o": "Yes",
      "t": "32338220190071351435772801779725302244575775216413325951443816017994629993401"
    }
  ],
  "tbf": 1000
}

Response fields

FieldMeaning
cThe condition ID of the market. It matches the condition_id you sent.
t[].o / t[].tOne row per outcome. o is the outcome label, such as Yes or No. t is the token ID for that outcome, as a long decimal string.
mtsThe tick size setting for the market. The value is 0.001 in this example.
mbf / tbfThe base fee settings for the market. Both are 1000 in this example.
r.e / r.ma / r.mi / r.moasThe rewards settings for the market. e is true when rewards are set up. The response gives these keys in short form only, so check the numbers against Polymarket's rewards docs.
fd.e / fd.r / fd.toThe fee details for the market. The example returns e as 1, r as 0.04 and to as true.
aotA timestamp in ISO 8601 UTC format, such as 2025-07-03T20:36:33Z.
vA version string. The value is v1 in this example.

Notes

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 CLOB market info?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/clob-markets 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 CLOB market info 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 CLOB market info chấp nhận những tham số nào?

Bắt buộc: condition_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Polymarket Get CLOB market info 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 CLOB market info 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.