Predict API (Beta)
  1. Markets
Predict API (Beta)
  • FAQs
  • Guides
    • Understanding the Orderbook
    • How to authenticate your API requests
    • How to create or cancel orders
  • Authorization
    • Get auth message
      GET
    • Get JWT with valid signature
      POST
  • Orders
    • Get order by hash
      GET
    • Get orderbook for specific market
      GET
    • Get orders
      GET
    • Create an order
      POST
    • Optimistically cancel orders
      POST
  • Categories
    • Get categories
      GET
    • Get category by slug
      GET
  • Markets
    • Get markets
      GET
    • Get market statistics
      GET
    • Get market last sale information
      GET
    • Get market activity
      GET
  • Positions
    • Get your positions
      GET
  • Season
    • Get leaderboard
      GET
    • Get season totals
      GET
  • Blast
    • Blast multiplier addresses
      GET
  • OAuth
    • Finalize a OAuth connection
    • Get the orders for a OAuth connection
    • Create an order for a OAuth connection
    • Cancel the orders for a OAuth connection
    • Get the positions for a OAuth connection
  • ZeroDev
    • Validate a user op
  1. Markets

Get market activity

GET
/markets/{id}/activity
Markets
Get last matches for specific market

Request

Path Params
id
string 
required
a string that will be parsed into a number
Query Params
minValueUsdbWei
string 
optional
a string that will be parsed into a bigint
first
string 
optional
a string that will be parsed into a number
after
string 
optional
a string

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//activity'

Responses

🟢200OK
application/json
Response 200
Body
success
boolean 
required
a boolean
cursor
string  | null 
required
a string
data
array [object {7}] 
required
quoteType
enum<string> 
required
Allowed values:
AskBid
createdAt
string 
required
date string
transactionHash
string 
required
a non empty string
>= 1 characters
amountFilled
string 
required
bigint string
priceExecuted
string 
required
bigint string
marketId
integer 
required
an integer
outcome
object 
required
Example
{
  "success": true,
  "cursor": "string",
  "data": [
    {
      "quoteType": "Ask",
      "createdAt": "string",
      "transactionHash": "string",
      "amountFilled": "string",
      "priceExecuted": "string",
      "marketId": 0,
      "outcome": {
        "name": "string",
        "indexSet": 0,
        "onChainId": "string",
        "status": "WON"
      }
    }
  ]
}
Previous
Get market last sale information
Next
Get your positions
Built with