Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Polymarket Get sampling simplified markets

Documentazione API
https://api.sandbase.ai/v1/api/polymarket/sampling-simplified-markets

Returns sampling simplified markets with reward and token summaries.

Prezzo
$0.012USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
0 obbligatori · 1 opzionali

Playground

Input
next_cursor
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Polymarket Get sampling simplified markets API

Returns a page of Polymarket markets that have reward programs, with each market's reward settings and its outcome tokens with prices. The call needs no input for the first page, and takes an optional next_cursor to fetch later pages.

Use cases

  • List markets that pay liquidity rewards and compare their rewards_daily_rate values.
  • Find the token_id for each Yes and No outcome to use in order book or price calls.
  • Track current outcome prices for reward-eligible markets.
  • Filter for markets that are active and still accepting orders before quoting.

Request

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

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

Parameters

NameTypeRequiredDescription
next_cursorstringNonext_cursor

Example response

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

{
  "count": 1000,
  "data": [
    {
      "accepting_orders": true,
      "active": true,
      "archived": false,
      "closed": false,
      "condition_id": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
      "rewards": {
        "max_spread": 3.5,
        "min_size": 200,
        "rates": [
          {
            "asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
            "rewards_daily_rate": 5
          }
        ]
      },
      "tokens": [
        {
          "outcome": "Yes",
          "price": 0.0205,
          "token_id": "32338220…",
          "winner": false
        }
      ],
      "version": "v1"
    }
  ],
  "limit": 1000,
  "next_cursor": "aWQ6MTMyODAxOQ=="
}

Response fields

FieldMeaning
countNumber of markets in this response page.
limitPage size limit for the response. The sample shows 1000.
next_cursorCursor string to pass as next_cursor to get the next page.
data[].condition_idHex ID of the market condition. Use it to identify the market in other calls.
data[].active / data[].closed / data[].archived / data[].accepting_ordersBoolean flags for market state. They show whether the market is live, finished, archived, or taking orders.
data[].rewards.max_spreadMaximum spread value allowed for an order to count toward rewards.
data[].rewards.min_sizeMinimum order size value for an order to count toward rewards.
data[].rewards.rates[].rewards_daily_rateDaily reward rate for the asset listed in asset_address.
data[].tokens[].outcome / data[].tokens[].priceOutcome label such as Yes or No, and its current price. Prices of the two outcomes add up to about 1.
data[].tokens[].token_id / data[].tokens[].winnerLong numeric ID of the outcome token, and a flag that shows whether that outcome won.

Notes

Pricing

$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON
Polymarket$0.012 per chiamataJSON

Domande

FAQ

Come uso l'API Polymarket Get sampling simplified markets?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/polymarket/sampling-simplified-markets 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.

Quanto costa l'API Polymarket Get sampling simplified markets?

$0.012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Polymarket Get sampling simplified markets?

Nessun parametro richiesto. Facoltativi: next_cursor (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Polymarket Get sampling simplified markets?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Polymarket?

No. Polymarket Get sampling simplified markets 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.