Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Polymarket Open Interest

Dokumentacja API
https://api.sandbase.ai/v1/api/polymarket/oi

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

Cena
$0.00044USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych
100 darmowych wywołań / dzieńPierwsze 100 wywołań dziennie za darmo (współdzielone w ramach organizacji) · Reset o 00:00 UTC. Później płatność za każde wywołanie.

Playground

Wejście
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.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Polymarket$0.00044 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON

Pytania

FAQ

Jak używać API Polymarket Open Interest?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/polymarket/oi z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Polymarket Open Interest?

$0.00044 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.

Jakie parametry przyjmuje API Polymarket Open Interest?

Wymagane: condition (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Polymarket Open Interest?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Polymarket lub klucza API?

Nie. Polymarket Open Interest działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Polymarket.