Predict API (Beta)
  1. Markets
Predict API (Beta)
  • FAQs
  • Deployed Contracts
  • 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
  • Accounts
    • Get connected account
      GET
    • Set a referral
      POST
  • Orders
    • Get order by hash
      GET
    • Get orders
      GET
    • Create an order
      POST
    • Remove orders from the orderbook
      POST
  • Categories
    • Get categories
      GET
    • Get category by slug
      GET
  • Markets
    • Get markets
      GET
    • Get market by ID
      GET
    • Get market statistics
      GET
    • Get market last sale information
      GET
    • Get the orderbook for a market
      GET
  • Positions
    • Get positions
      GET
  • OAuth
    • Finalize a OAuth connection
      POST
    • Get the orders for a OAuth connection
      POST
    • Create an order for a OAuth connection
      POST
    • Cancel the orders for a OAuth connection
      POST
    • Get the positions for a OAuth connection
      POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Markets

Get market statistics

Prod Env
https://api.predict.fun
Prod Env
https://api.predict.fun
GET
https://api.predict.fun
/v1/markets/{id}/stats
Get statistics about a specific market

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Path Params

Responses

🟢200
application/json
Response 200
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.predict.fun/v1/markets//stats' \
--header 'x-api-key: <api-key>'
Response Response Example
{
    "success": true,
    "data": {
        "totalLiquidityUsd": 0,
        "volumeTotalUsd": 0,
        "volume24hUsd": 0
    }
}
Modified at 2025-12-12 17:28:17
Previous
Get market by ID
Next
Get market last sale information
Built with