Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Polymarket Get tick size by path parameter

Documentación de la 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.

Precio
$0.012USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Token ID (asset ID)
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Polymarket Get tick size by path parameter?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/polymarket/tick-size-by-token-id con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Polymarket Get tick size by path parameter?

$0.012 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Polymarket Get tick size by path parameter?

Requeridos: token_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Polymarket Get tick size by path parameter?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Polymarket?

No. Polymarket Get tick size by path parameter funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Polymarket por separado.