Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Polymarket Get sampling simplified markets

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

Returns sampling simplified markets with reward and token summaries.

Harga
$0.012USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib · 1 opsional

Playground

Input
next_cursor
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API Polymarket Get sampling simplified markets?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/polymarket/sampling-simplified-markets dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Polymarket Get sampling simplified markets?

$0.012 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Polymarket Get sampling simplified markets?

Tidak ada parameter yang wajib. Opsional: next_cursor (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Polymarket Get sampling simplified markets?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Polymarket?

Tidak. Polymarket Get sampling simplified markets berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Polymarket secara terpisah.