Get markets
GET
/marketsGet markets information
Request
Query Params
first
string
optional
a string that will be parsed into a number
after
string
optional
a string
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Response 200
Data Schema
success
boolean
required
a boolean
cursor
string | null
required
a string
data
array [object {21}]
required
id
number
required
a number
imageUrl
string
required
a non empty string
>= 1 characters
title
string
required
a non empty string
>= 1 characters
question
string
required
a non empty string
>= 1 characters
description
string
required
a non empty string
>= 1 characters
status
enum<string>
required
Allowed values:
REGISTEREDPRICE_PROPOSEDPRICE_DISPUTEDPAUSEDUNPAUSEDRESOLVED
isNegRisk
boolean
required
a boolean
feeRateBps
number
required
a number
resolution
object | null
required
oracleQuestionId
string
required
a string
conditionId
string
required
a non empty string
>= 1 characters
resolverAddress
string
required
a string
outcomes
array [object {4}]
required
questionIndex
integer | null
required
an integer
pointAllocationBps
integer | null
required
an integer
spreadThreshold
number
required
a number
shareThreshold
number
required
a number
polymarketConditionIds
array[string]
required
categorySlug
string
required
a non empty string
>= 1 characters
createdAt
string
required
date string
decimalPrecision
enum<number>
required
Allowed values:
23
Example
{
"success": true,
"cursor": "string",
"data": [
{
"id": 0,
"imageUrl": "string",
"title": "string",
"question": "string",
"description": "string",
"status": "REGISTERED",
"isNegRisk": true,
"feeRateBps": 0,
"resolution": {
"name": "string",
"indexSet": 0,
"onChainId": "string",
"status": "WON"
},
"oracleQuestionId": "string",
"conditionId": "string",
"resolverAddress": "string",
"outcomes": [
{
"name": "string",
"indexSet": 0,
"onChainId": "string",
"status": "WON"
}
],
"questionIndex": 0,
"pointAllocationBps": 0,
"spreadThreshold": 0,
"shareThreshold": 0,
"polymarketConditionIds": [
"string"
],
"categorySlug": "string",
"createdAt": "string",
"decimalPrecision": 2
}
]
}
Last modified: 11 days ago