/v1/latest
Latest topics
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/discourse-api/v1/latest" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/discourse-api/v1/latest", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/discourse-api/v1/latest");
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/latest",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"feed": "latest",
"count": 30,
"topics": [
{
"id": 1,
"url": "https://meta.discourse.org/t/new-to-discourse-start-here/1",
"slug": "new-to-discourse-start-here",
"tags": [],
"likes": 431,
"posts": 1,
"title": "New to Discourse? Start here!",
"views": 115837,
"closed": true,
"pinned": true,
"replies": 0,
"created_at": "2013-02-01T04:52:28.073Z",
"category_id": 67,
"last_posted_at": "2013-02-01T04:52:28.397Z"
},
{
"id": 404728,
"url": "https://meta.discourse.org/t/introducing-the-unified-new-view-for-the-topic-list/404728",
"slug": "introducing-the-unified-new-view-for-the-topic-list",
"tags": [],
"likes": 0,
"posts": 1,
"title": "Introducing the unified new view for the topic list",
"views": 1,
"closed": false,
"pinned": false,
"replies": 0,
"created_at": "2026-06-09T02:56:43.294Z",
"category_id": 67,
"last_posted_at": "2026-06-09T02:56:43.294Z"
},
{
"id": 402812,
"url": "https://meta.discourse.org/t/introducing-nested-replies/402812",
"slug": "introducing-nested-replies",
"tags": [
{
"id": 1169,
"name": "nested-replies",
"slug": "nested-replies"
}
],
"likes": 173,
"posts": 47,
"title": "Introducing nested replies",
"views": 2008,
"closed": false,
"pinned": false,
"replies": 46,
"created_at": "2026-05-12T23:21:22.168Z",
"category_id": 67,
"last_posted_at": "2026-06-09T02:50:48.246Z"
},
{
"id": 404488,
"url": "https://meta.discourse.org/t/posts-from-the-topic-i-just-left-stay-rendered-in-the-next-topic-after-in-app-navigation/404488",
"slug": "posts-from-the-topic-i-just-left-stay-rendered-in-the-next-topic-after-in-app-navigation",
"tags": [
{
"id": 1169,
"name": "nested-replies",
"slug": "nested-replies"
}
],
"likes": 15,
"posts": 9,
"title": "Posts from the topic I just left stay rendered in the next topic after in-app navigation",
"views": 141,
"closed": false,
…