Skip to Content

GET /api/v1/trending/composite

Trending names ranked by a weighted composite score combining all signals. The response includes the breakdown by signal and the scoring weights.

Authentication: Optional

Cache: None

Query Parameters

ParameterTypeDefaultDescription
periodstring24hTime period: 24h or 7d
limitnumber20Results to return (1-100)
FieldTypeDescription
trending_scorenumberWeighted composite score
breakdown.viewsnumberViews in the period
breakdown.watchlist_addsnumberWatchlist additions
breakdown.votesnumberTotal votes
breakdown.offersnumberOffers received
breakdown.salesnumberSales count

Score Weights

SignalWeight
Views1
Watchlist adds5
Upvotes3
Downvotes-1
Offers10
Listings8
Sales50

Sample Request

curl "https://api.grails.app/api/v1/trending/composite?period=24h&limit=10"

Response

// 200 OK { "success": true, "data": { "names": [ { // ... standard SearchResult fields (id, name, token_id, owner, etc.) "trending_metrics": { "period": "24h", "trending_score": 285.5, "breakdown": { "views": 150, "watchlist_adds": 5, "votes": 12, "offers": 3, "sales": 1 } } } ], "meta": { "period": "24h", "type": "composite", "limit": 10, "score_weights": { "views": 1, "watchlist_adds": 5, "upvotes": 3, "downvotes": -1, "offers": 10, "listings": 8, "sales": 50 } } }, "meta": { "timestamp": "2026-04-07T12:00:00.000Z", "version": "1.0.0" } }
Last updated on