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

Polymarket Open Interest

API-Dokumentation
https://api.sandbase.ai/v1/api/polymarket/oi

Open interest in USDC for one or more markets by condition ID.

Preis
$0.00044USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 0 optional
100 kostenlose Aufrufe / TagDie ersten 100 Aufrufe pro Tag kostenlos (organisationsweit geteilt) · Zurücksetzung um 00:00 UTC. Danach Abrechnung pro Aufruf.

Playground

Eingabe
Condition id(s), comma-separated (at most 20 distinct values). `condition` is the unified key across v2 (same as the feeds); `condition_id` / `conditionId` are accepted aliases. Omit for global open interest.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

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

API-README

Polymarket Open Interest API

Returns the open interest in USDC for one or more Polymarket markets. You pass one or more condition IDs in condition, separated by commas.

Use cases

  • Track how much money is still committed to a market before deciding whether it is liquid enough to trade.
  • Rank a set of markets by open interest to find the most active ones.
  • Chart open interest for a market over time by calling the API on a schedule and storing the value.
  • Compare open interest across up to 20 related markets in a single call.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/oi" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"condition": "0xc5eae79d1ffe716572353962eb926b1e3964c500a4880a7a94f58408218ee76b"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
conditionstringYesCondition id(s), comma-separated (at most 20 distinct values). condition is the unified key across v2 (same as the feeds); condition_id / conditionId are accepted aliases. Omit for global open interest.

Example response

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

{
  "data": [
    {
      "condition_id": "0xc5eae79d1ffe716572353962eb926b1e3964c500a4880a7a94f58408218ee76b",
      "value": 7708257.285468
    }
  ]
}

Response fields

FieldMeaning
dataList of results. Each row covers one condition ID.
data[].condition_idThe condition ID of the market. It matches the value you sent in condition.
data[].valueOpen interest for that market in USDC, as a decimal number.

Notes

Pricing

$0.00044 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.00044 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 Open Interest API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/polymarket/oi 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 Open Interest API?

$0.00044 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.

Welche Parameter akzeptiert die Polymarket Open Interest API?

Erforderlich: condition (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Polymarket Open Interest 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 Open Interest 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.