token_idstringobrigatório
Token ID (asset ID)
https://api.sandbase.ai/v1/api/polymarket/tick-size-by-token-idRetrieves the minimum tick size (price increment) for a specific token ID using the token ID as a path parameter.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
token_id | string | Yes | Token ID (asset ID) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"minimum_tick_size": 0.001
}
| Field | Meaning |
|---|---|
minimum_tick_size | The smallest price increment allowed for the token. The response contains only this one field. |
minimum_tick_size | In 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_size | The value is a JSON number, not a string. You can compare it or divide by it without parsing text. |
token_id. It is a long decimal string, so send it as a string and keep every digit.$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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": "0xabc123def456..."
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
token_idstringobrigatórioToken ID (asset ID)
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/polymarket/tick-size-by-token-id com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.012 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: token_id (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Polymarket Get tick size by path parameter funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Polymarket separadamente.