Trending repositories
get_trendingRanked recent star growth in the latest measured ranking week. window=30d returns 30-day growth and rank. Returned ranks are site-wide, even when filtering by category/topic.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results, up to 100. | |
| offset | No | Zero-based offset; use next_offset/next from the response. Narrow the query if truncated=true. | |
| window | No | Growth window. | 7d |
| category | No | Curated category or GitHub topic slug; canonical URL aliases are accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| as_of | Yes | Data-derived observation time or ranking week_start; null if unavailable. Individual repositories can have different freshness. | |
| count | Yes | ||
| items | Yes | ||
| window | Yes | ||
| category | Yes | ||
| has_more | Yes | ||
| truncated | Yes | ||
| week_start | Yes | ||
| next_offset | Yes | ||
| generated_at | Yes | ||
| schema_version | Yes |