/v1/top
Top topics by period
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/discourse-api/v1/top" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/discourse-api/v1/top", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/discourse-api/v1/top");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/discourse-api/v1/top",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"feed": "top",
"count": 30,
"period": "weekly",
"topics": [
{
"id": 404427,
"url": "https://meta.discourse.org/t/is-anyone-experiencing-an-odd-spam-user-attack-any-way-to-block/404427",
"slug": "is-anyone-experiencing-an-odd-spam-user-attack-any-way-to-block",
"tags": [],
"likes": 38,
"posts": 15,
"title": "Is anyone experiencing an odd spam user attack? Any way to block?",
"views": 287,
"closed": false,
"pinned": false,
"replies": 14,
"created_at": "2026-06-03T13:59:07.092Z",
"category_id": 6,
"last_posted_at": "2026-06-07T16:36:28.163Z"
},
{
"id": 403635,
"url": "https://meta.discourse.org/t/introducing-a-new-post-type-composer-actions-dropdown/403635",
"slug": "introducing-a-new-post-type-composer-actions-dropdown",
"tags": [],
"likes": 21,
"posts": 3,
"title": "Introducing a new \"Post Type\" Composer actions dropdown",
"views": 209,
"closed": false,
"pinned": false,
"replies": 2,
"created_at": "2026-06-01T20:07:07.770Z",
"category_id": 67,
"last_posted_at": "2026-06-02T21:37:00.609Z"
},
{
"id": 404204,
"url": "https://meta.discourse.org/t/new-topic-still-available-when-users-dont-have-permission/404204",
"slug": "new-topic-still-available-when-users-dont-have-permission",
"tags": [],
"likes": 14,
"posts": 10,
"title": "New Topic still available when users don't have permission",
"views": 179,
"closed": false,
"pinned": false,
"replies": 9,
"created_at": "2026-06-01T13:17:19.585Z",
"category_id": 9,
"last_posted_at": "2026-06-06T10:23:10.355Z"
},
{
"id": 404620,
"url": "https://meta.discourse.org/t/accent-theme/404620",
"slug": "accent-theme",
"tags": [],
"likes": 13,
"posts": 1,
"title": "Accent Theme",
"views": 106,
"closed": false,
"pinned": false,
"replies": 0,
"created_at": "2026-06-05T17:45:16.685Z",
"category_id": 61,
"last_posted_at": "2026-06-05T17:45:16.920Z"
},
{
"id": 404458,
"url": "https://meta.discourse.org/t/discourse-health-check-one-shot-cli-overview-of-your-dis
…