/v1/article
One article in full by id
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/article" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/habr-api/v1/article", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/habr-api/v1/article");
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/article",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"id": 1046918,
"url": "https://habr.com/ru/articles/1046918/",
"hubs": [
"Машинное обучение"
],
"note": "One Habr article in full: its signed score (up-votes minus down-votes, can be negative), total votes, reads, bookmarks, comments, author, hubs, reading time and publish date. Live, cached ~10m.",
"reads": 1281,
"score": 6,
"title": "Почему тебе нужно стать нейро-панком прямо сейчас",
"votes": 9,
"author": "Imperius14",
"source": "Habr public API (habr.com/kek/v2/articles), keyless",
"comments": 6,
"bookmarks": 7,
"published": "2026-06-12T20:30:04+00:00",
"reading_time_min": 5
},
"meta": {
"timestamp": "2026-06-13T04:42:01.581Z",
"request_id": "9fabce02-d129-4800-bffc-ef8c246a410f"
},
"status": "ok",
"message": "Article retrieved successfully",
"success": true
}