/v1/hub
Top articles in a hub (topic community)
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/habr-api/v1/hub" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/habr-api/v1/hub", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/habr-api/v1/hub");
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/habr-api/v1/hub",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"hub": "infosecurity",
"note": "The top articles in a Habr hub (a topic community), ranked by rating over a period or by date. Each carries its signed score, votes, reads, bookmarks, comments, author, hubs and reading time. Pass hub (the alias, from /v1/hubs), sort (rating/date), period and limit (1-50). Live, cached ~10m.",
"sort": "rating",
"count": 20,
"period": "weekly",
"source": "Habr public API (habr.com/kek/v2/articles), keyless",
"articles": [
{
"id": 1046710,
"url": "https://habr.com/ru/articles/1046710/",
"hubs": [
"Реверс-инжиниринг",
"Информационная безопасность",
"Android",
"Аналитика мобильных приложений",
"Законодательство в IT"
],
"reads": 71139,
"score": 472,
"title": "RuStore качает MAX без спроса и мониторит GPS каждые 5 минут и ему даже не стыдно",
"votes": 448,
"author": "zarazaexe",
"comments": 383,
"bookmarks": 200,
"published": "2026-06-11T23:29:53+00:00",
"reading_time_min": 22
},
{
"id": 1045080,
"url": "https://habr.com/ru/articles/1045080/",
"hubs": [
"Информационная безопасность",
"Мессенджеры"
],
"reads": 28426,
"score": 69,
"title": "Как был взломан “самый надежный” бот в мессенджере MAX? Эксплойт бота Отложка",
"votes": 66,
"author": "Pakistanis",
"comments": 47,
"bookmarks": 31,
"published": "2026-06-08T14:42:32+00:00",
"reading_time_min": 5
},
{
"id": 1043626,
"url": "https://habr.com/ru/articles/1043626/",
"hubs": [
"Блог компании RUVDS.com",
"Информационная безопасность",
"Реверс-инжиниринг",
"Звук"
],
"reads": 3050,
"score": 58,
"title": "Pwnd Blaster: беспроводной взлом компьютера через саундбар",
"votes": 39,
"author": "interpres",
"comments": 16,
"bookmarks": 20,
"published": "2026-06-08T13:01:02+00:00",
"reading_time_min": 12
},
{
"id": 1045452,
"url": "https://habr.com/ru/articles/1045452/",
"hubs": [
"Блог компании МТС",
"Искусственный интеллект",
"Информационная безопасность"
],
"read
…