Skip to content

Leaderboards API

The Leaderboards API provides platform-wide rankings, trending content, and discovery features. All endpoints are public and do not require authentication.

Base URL

EnvironmentURL
Mainnethttps://api.grapevine.fyi/v1/leaderboards
Testnethttps://api.grapevine.markets/v1/leaderboards

Endpoints

EndpointDescriptionPeriod Filter
GET /trendingFeeds by revenue velocityNo
GET /most-popularFeeds by purchase countYes
GET /top-revenueFeeds by total revenueYes
GET /top-feedsFeeds by entry countNo
GET /top-providersCreators by revenueYes
GET /top-buyersUsers by purchase volumeYes
GET /category-statsAggregated category statisticsNo
GET /recent-entriesLatest entries platform-wideNo

Period Filter

Endpoints that support period filtering accept these query parameter values:

ValueDescription
1dLast 24 hours
7dLast 7 days
30dLast 30 days
allAll time (default)

Quick Examples

# Get trending feeds
curl https://api.grapevine.fyi/v1/leaderboards/trending
 
# Get most popular feeds this week
curl "https://api.grapevine.fyi/v1/leaderboards/most-popular?period=7d&page_size=10"
 
# Get top content providers this month
curl "https://api.grapevine.fyi/v1/leaderboards/top-providers?period=30d"
 
# Get category statistics
curl https://api.grapevine.fyi/v1/leaderboards/category-stats
 
# Get recent entries with pagination
curl "https://api.grapevine.fyi/v1/leaderboards/recent-entries?page_size=50"

Response Format

Most leaderboard endpoints return data in this format:

{
  "data": [...],
  "period": "7d"
}

The recent-entries endpoint returns paginated data:

{
  "data": [...],
  "pagination": {
    "page_size": 20,
    "next_page_token": "...",
    "has_more": true
  }
}

Use Cases

Homepage Discovery

Display trending feeds and recent content on your homepage.

Category Browser

Show category statistics to help users find interesting content areas.

Creator Profiles

Display provider rankings and statistics.

Analytics Dashboard

Track platform activity and identify top performers.

Related