Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Polymarket Get tick size by path parameter

Dokumentacja 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.

Cena
$0.012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
Token ID (asset ID)
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON

Pytania

FAQ

Jak używać API Polymarket Get tick size by path parameter?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/polymarket/tick-size-by-token-id z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Polymarket Get tick size by path parameter?

$0.012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Polymarket Get tick size by path parameter?

Wymagane: token_id (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Polymarket Get tick size by path parameter?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Polymarket lub klucza API?

Nie. Polymarket Get tick size by path parameter działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Polymarket.