Skip to main content
GET
/
api
/
v1
/
pfun
/
markets
{
  "markets": [
    {
      "exchange": "<string>",
      "market_id": "<string>",
      "venue_market_id": "<string>",
      "event_id": "<string>",
      "event_ticker": "<string>",
      "market_title": "<string>",
      "market_subtitle": "<string>",
      "question": "<string>",
      "category": "<string>",
      "symbol": "<string>",
      "side": "<string>",
      "strike_label": "<string>",
      "strike": 123,
      "expiration": "<string>",
      "payout": 123,
      "conid_yes": 123,
      "conid_no": 123,
      "underlying_conid": 123,
      "paired_conid": 123,
      "rules": "<string>",
      "market_name": "<string>",
      "raw_json": "<string>",
      "retrieved_at": "2023-11-07T05:31:56Z",
      "x": [
        "<string>"
      ],
      "action": [
        "<string>"
      ],
      "y": [
        "<string>"
      ],
      "rules_unencoded": "<string>",
      "closed": true,
      "closed_time": 123,
      "resolution": "<string>"
    }
  ],
  "count": 123,
  "limit": 123,
  "offset": 123
}

Authorizations

X-API-Key
string
header
required

Your API key (get one from the test-key endpoint above)

Query Parameters

limit
integer
default:100

Maximum number of markets to return (default: 100, max: 1000)

Required range: x <= 1000
offset
integer
default:0

Number of markets to skip for pagination

Response

200 - application/json

Paginated list of Pfun markets

markets
object[]
count
integer

Number of markets returned

limit
integer

Limit used

offset
integer

Offset used