Skip to main content
GET
/
api
/
v1
/
pfun
/
{market_id}
/
market
{
  "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>"
}

Authorizations

X-API-Key
string
header
required

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

Path Parameters

market_id
string
required

Pfun market identifier

Response

Market details

exchange
string

Exchange identifier

market_id
string

Market identifier

venue_market_id
string

Venue-specific market ID

event_id
string

Event identifier

event_ticker
string

Event ticker symbol

market_title
string

Market title

market_subtitle
string

Market subtitle

question
string

Market question

category
string

Market category

symbol
string

Market symbol

side
string

Side

strike_label
string

Strike label

strike
number

Strike price

expiration
string

Expiration date/time

payout
number

Payout amount

conid_yes
integer

Contract ID for YES outcome

conid_no
integer

Contract ID for NO outcome

underlying_conid
integer

Underlying contract ID

paired_conid
integer

Paired contract ID

rules
string

Market rules (encoded)

market_name
string

Market name

raw_json
string

Raw JSON data from the exchange

retrieved_at
string<date-time>

When this data was retrieved

x
(string | null)[]

X entity tags

action
(string | null)[]

Action entity tags

y
(string | null)[]

Y entity tags

rules_unencoded
string | null

Human-readable market rules (unencoded). Prefer this over the encoded rules field.

closed
boolean

Whether the market is closed

closed_time
integer

Unix timestamp when market closed

resolution
string

Market resolution status