- FAQs
- Guides
- Authorization
- Orders
- Categories
- Markets
- Positions
- Season
- Blast
- OAuth
- ZeroDev
Get orders
GET
/orders
Orders
Request
Query Params
first
string
optional
after
string
optional
status
enum<string>
optional
Allowed values:
OPENFILLED
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/orders'
Responses
🟢200OK
application/json
Body
success
boolean
required
cursor
string | null
required
data
array [object {10}]
required
order
object
required
id
string
required
>= 1 characters
marketId
integer
required
currency
string
required
amount
string
required
>= 1 characters
amountFilled
string
required
>= 1 characters
isNegRisk
boolean
required
strategy
enum<string>
required
Allowed values:
LIMITMARKET
status
enum<string>
required
Allowed values:
OPENFILLEDEXPIREDCANCELLEDINVALIDATED
rewardEarningRate
number
required
Example
{
"success": true,
"cursor": "string",
"data": [
{
"order": {
"hash": "string",
"salt": "string",
"maker": "string",
"signer": "string",
"taker": "0x0000000000000000000000000000000000000000",
"tokenId": "string",
"makerAmount": "string",
"takerAmount": "string",
"expiration": "string",
"nonce": "string",
"feeRateBps": "string",
"side": 0,
"signatureType": 0,
"signature": "string"
},
"id": "string",
"marketId": 0,
"currency": "string",
"amount": "string",
"amountFilled": "string",
"isNegRisk": true,
"strategy": "LIMIT",
"status": "OPEN",
"rewardEarningRate": 0
}
]
}
Modified at 2024-12-11 12:14:21