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 tick size by path parameter

Tài liệu API
https://api.sandbase.ai/v1/api/polymarket/tick-size-by-token-id

Retrieves the minimum tick size (price increment) for a specific token ID using the token ID as a path parameter.

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
Token ID (asset ID)
Đầ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 tick size by path parameter API

Returns the minimum tick size, which is the smallest allowed price step, for one Polymarket outcome token. It needs the token ID (asset ID) of that outcome.

Use cases

  • Round limit order prices to a valid increment before you place or simulate an order on a Polymarket outcome.
  • Validate a price grid in a trading bot before it submits quotes for a token.
  • Check the price step of a token before you draw an order book or a price ladder in a UI.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/tick-size-by-token-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"token_id": "32338220190071351435772801779725302244575775216413325951443816017994629993401"}'

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

Parameters

NameTypeRequiredDescription
token_idstringYesToken ID (asset ID)

Example response

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

{
  "minimum_tick_size": 0.001
}

Response fields

FieldMeaning
minimum_tick_sizeThe smallest price increment allowed for the token. The response contains only this one field.
minimum_tick_sizeIn the example response the value is 0.001. Prices for this token then move in steps of 0.001, such as 0.123 but not 0.1234.
minimum_tick_sizeThe value is a JSON number, not a string. You can compare it or divide by it without parsing text.

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 tick size by path parameter?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/tick-size-by-token-id 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 tick size by path parameter 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 tick size by path parameter chấp nhận những tham số nào?

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

API Polymarket Get tick size by path parameter 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 tick size by path parameter 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.