Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Polymarket Get fee rate

API dokümanları
https://api.sandbase.ai/v1/api/polymarket/fee-rate

Retrieves the base fee rate for a specific token ID. The fee rate can be provided either as a query parameter or as a path parameter.

Fiyat
$0.012USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 1 isteğe bağlı

Oynatma Alanı

Girdi
Token ID (asset ID)
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

Polymarket Get fee rate API

Returns the base fee rate for one Polymarket outcome token. You pass the token ID (asset ID) as token_id.

Use cases

  • Check the fee rate for a token before you build an order for it.
  • Compare the fee rate across several outcome tokens in a trading bot.
  • Include the fee in a cost or profit estimate for a Polymarket trade.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/fee-rate" \
  -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_idstringNoToken ID (asset ID)

Example response

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

{
  "base_fee": 1000
}

Response fields

FieldMeaning
base_feeThe base fee rate for the token ID you sent. This is the only field in the response.
base_feeA whole number. The sample request returned 1000.
base_feeThe response shows no unit label, so check the Polymarket documentation before you convert it to a percentage.

Notes

Pricing

$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON
Polymarket$0.012 çağrı başınaJSON

Sorular

SSS

Polymarket Get fee rate API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/polymarket/fee-rate adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Polymarket Get fee rate API'sinin fiyatı nedir?

çağrı başına $0.012, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Polymarket Get fee rate API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: token_id (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Polymarket Get fee rate API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Polymarket geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Polymarket Get fee rate, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Polymarket API erişimi için ayrıca başvuru yapmanız gerekmez.