/v1/articles
Top articles by rating or date
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/habr-api/v1/articles" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/habr-api/v1/articles", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/habr-api/v1/articles");
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/articles",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Habr's top articles, ranked by rating over the last week. Each carries its signed score (up-votes minus down-votes — can be negative), total votes, reads, bookmarks (saves), comments, author, hubs and reading time. sort: rating or date; period (rating only): daily/weekly/monthly/yearly/alltime; limit 1-50. Titles are Russian (decoded). Live, cached ~10m.",
"sort": "rating",
"count": 20,
"period": "weekly",
"source": "Habr public API (habr.com/kek/v2/articles), keyless",
"articles": [
{
"id": 1044904,
"url": "https://habr.com/ru/articles/1044904/",
"hubs": [
"Математика"
],
"reads": 94,
"score": 0,
"title": "Заметки на полях: алгебра матриц Паули",
"votes": 0,
"author": "BuddhaSugata",
"comments": 0,
"bookmarks": 0,
"published": "2026-06-13T04:01:27+00:00",
"reading_time_min": 7
},
{
"id": 1046998,
"url": "https://habr.com/ru/articles/1046998/",
"hubs": [
"Сетевые технологии",
"Системное администрирование",
"Rust",
"Высоконагруженные системы",
"Разработка мобильных приложений"
],
"reads": 428,
"score": 0,
"title": "EVERTY DESK — EVRT ПРОТОКОЛ, или почему я написал лучший протокол низкой задержки в мире",
"votes": 4,
"author": "arturwise",
"comments": 10,
"bookmarks": 1,
"published": "2026-06-13T01:28:00+00:00",
"reading_time_min": 13
},
{
"id": 1046996,
"url": "https://habr.com/ru/articles/1046996/",
"hubs": [
"Программирование",
"Искусственный интеллект",
"История IT",
"Функциональное программирование",
"Lisp"
],
"reads": 629,
"score": 6,
"title": "Язык, который придумали для ИИ в 1958-м",
"votes": 5,
"author": "ArthurEx",
"comments": 1,
"bookmarks": 3,
"published": "2026-06-13T00:30:51+00:00",
"reading_time_min": 6
},
{
"id": 1046994,
"url": "https://habr.com/ru/articles/1046994/",
"hubs": [
"Creative Commons",
"Фриланс",
"Развитие стартапа"
],
"reads": 211,
"score": -1,
"title": "Открытие компа
…