Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Polymarket Get fee rate

API-Dokumentation
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.

Preis
$0.012USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 1 optional

Playground

Eingabe
Token ID (asset ID)
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die Polymarket Get fee rate API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/polymarket/fee-rate mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Polymarket Get fee rate API?

$0.012 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Polymarket Get fee rate API?

Es sind keine Parameter erforderlich. Optional: token_id (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Polymarket Get fee rate API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Polymarket-Entwicklerkonto oder einen API-Schlüssel?

Nein. Polymarket Get fee rate läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Polymarket API beantragen.