- FAQs
- Guides
- Authorization
- Orders
- Categories
- Markets
- Positions
- Season
- Blast
- OAuth
- ZeroDev
Get markets
GET
/markets
Markets
Request
Query Params
first
string
optional
after
string
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-sepolia.predict.fun/markets'
Responses
🟢200OK
application/json
Body
success
boolean
required
cursor
string | null
required
data
array [object {21}]
required
id
number
required
imageUrl
string
required
>= 1 characters
title
string
required
>= 1 characters
question
string
required
>= 1 characters
description
string
required
>= 1 characters
status
enum<string>
required
Allowed values:
REGISTEREDPRICE_PROPOSEDPRICE_DISPUTEDPAUSEDUNPAUSEDRESOLVED
isNegRisk
boolean
required
feeRateBps
number
required
resolution
object | null
required
oracleQuestionId
string
required
conditionId
string
required
>= 1 characters
resolverAddress
string
required
outcomes
array [object {4}]
required
questionIndex
integer | null
required
pointAllocationBps
integer | null
required
spreadThreshold
number
required
shareThreshold
number
required
polymarketConditionIds
array[string]
required
categorySlug
string
required
>= 1 characters
createdAt
string
required
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
}
]
}
Modified at 2024-12-11 12:14:21