Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Polymarket Open Interest

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

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

Prix
$0.00044USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 0 facultatifs
100 appels gratuits / jourLes 100 premiers appels par jour sont gratuits (partagés par organisation) · Réinitialisation à 00:00 UTC. Ensuite, paiement à l'appel.

Bac à sable

Entrée
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.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Polymarket$0.00044 par appelJSON
Polymarket$0.012 par appelJSON
Polymarket$0.012 par appelJSON
Polymarket$0.012 par appelJSON
Polymarket$0.012 par appelJSON
Polymarket$0.012 par appelJSON

Questions

FAQ

Comment utiliser l’API Polymarket Open Interest ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/polymarket/oi avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Polymarket Open Interest ?

$0.00044 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.

Quels paramètres l’API Polymarket Open Interest accepte-t-elle ?

Obligatoire : condition (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Polymarket Open Interest ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Polymarket ?

Non. Polymarket Open Interest fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Polymarket séparément.