substack_leaderboard
One page of a Substack category's bestseller leaderboard, pairing each ranked publication with its author. A different surface from substack_category: it exposes the trending ranking (the site's "Rising" tab), validates its ranking values instead of silently defaulting, accepts the extra cross-category id "bestseller", and returns the author alongside the publication. type must be trending, paid, or all. Use a category_id from substack_categories whose in_leaderboard is true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category_id": "<category_id>"
},
"name": "substack_leaderboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page. Upstream accepts 0-25 inclusive; 25 rows per page. | |
| type | No | Ranking to read: trending, paid, or all. Defaults to trending. | |
| category_id | Yes | Required category id from /substack/categories whose in_leaderboard is true. Numeric, or the string ids podcast or bestseller. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |