Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mobula.io/llms.txt

Use this file to discover all available pages before exploring further.

Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Query Parameters

period
string
default:"24h"
Trending period. Possible values: 1h, 24h, 7d, 30d.
filters
string
JSON object with optional filter fields: platforms (comma-separated or array of platform names), categories (comma-separated or array of category names). Example: {"platforms":"polymarket","categories":"crypto"}.
limit
number
default:"20"
Number of markets to return (1 to 100).
offset
number
default:"0"
Pagination offset.

Response

data
array
Array of trending market results (extends search results with trending data).
pagination
object
Pagination metadata.
hostname
string
Server hostname that handled the request.
took
number
Time taken in milliseconds.

Usage Example

curl -X GET "https://api.mobula.io/api/2/pm/trending?period=24h&limit=10"

Example Response

{
  "data": [
    {
      "platform": "polymarket",
      "marketId": "0x1234...",
      "slug": "will-eth-reach-10k-2026",
      "question": "Will ETH reach $10,000 by end of 2026?",
      "category": "crypto",
      "status": "active",
      "volume24hUSD": 45000,
      "totalVolumeUSD": 1250000,
      "liquidityUSD": 320000,
      "endDate": "2026-12-31T23:59:59.000Z",
      "createdAt": "2026-01-15T00:00:00.000Z",
      "logo": "https://polymarket.com/images/market.png",
      "tradesCount": 8500,
      "trendingScore": 92.5,
      "volumeChange24hPercentage": 156.3,
      "rank": 1,
      "outcomes": [
        { "outcomeId": "71321...", "label": "Yes", "priceUSD": 0.35 },
        { "outcomeId": "71322...", "label": "No", "priceUSD": 0.65 }
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "offset": 0,
    "limit": 20,
    "pageEntries": 1
  },
  "hostname": "node-xyz",
  "took": 42
}