event_idstringobbligatorio
Event id(s), comma-separated (at most 20 distinct values). Required. `event_id` is the unified key across v2 (same as the feeds); `id` and `eventId` are accepted aliases.
https://api.sandbase.ai/v1/api/polymarket/live-volumeLive taker volume for an event by event ID, in total and per market.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns the live taker volume for one or more Polymarket events. The response gives a total for the event and a volume figure for each market (condition) inside it. The only input is event_id.
taker_volume to find where trading is concentrated.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/live-volume" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"event_id": "1262243"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | Yes | Event id(s), comma-separated (at most 20 distinct values). Required. event_id is the unified key across v2 (same as the feeds); id and eventId are accepted aliases. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"conditions": [
{
"condition_id": "0xa32317ba83c3c83dc43ef260c3744c22ed8000db53d30bc09372c45cff5fb07a",
"taker_volume": 5836737.706408
}
],
"taker_volume_total": 61577729.177805
}
}
| Field | Meaning |
|---|---|
data.taker_volume_total | Total taker volume for the event, summed across its markets. |
data.conditions[] | One entry per market (condition) in the event. |
data.conditions[].condition_id | Identifier of the market condition. It is a hex string that starts with 0x. |
data.conditions[].taker_volume | Taker volume for that single market. |
event_id accepts several IDs separated by commas, with at most 20 distinct values. id and eventId work as aliases.$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/live-volume" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event_id": "1262243"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
event_idstringobbligatorioEvent id(s), comma-separated (at most 20 distinct values). Required. `event_id` is the unified key across v2 (same as the feeds); `id` and `eventId` are accepted aliases.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Polymarket Live Event VolumeQuesta API Polymarket | $0.00044 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/polymarket/live-volume con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.00044 per chiamata. Ogni organizzazione riceve 100 chiamate gratuite al giorno UTC, condivise tra le API SandBase idonee, inclusa questa; dopo, ogni chiamata viene addebitata a questo prezzo dal tuo saldo SandBase. Non c'è alcun abbonamento.
Richiesti: event_id (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Polymarket Live Event Volume funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Polymarket.