Μετάβαση στο περιεχόμενο
GET /v1/meta

Service metadata

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/habr-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/habr-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/habr-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/habr-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "note": "articles takes sort (rating or date, default rating), period (rating only: daily/weekly/monthly/yearly/alltime, default daily) and limit (1-50). article takes id (a numeric Habr article id). hubs takes limit (1-100). meta takes no parameters. score is signed (up-votes minus down-votes) and can be negative — that is real, not an error; reads is the article's view count, bookmarks are saves. Russian text returned as published. A ~10-minute cache fronts the upstream.",
        "sample": {
            "reads": 94,
            "score": 0,
            "title": "Заметки на полях: алгебра матриц Паули"
        },
        "source": "Habr public API (habr.com/kek/v2), keyless, live",
        "service": "habr-api",
        "endpoints": {
            "GET /v1/hubs": "Topic hubs with subscribers and rating (limit=30).",
            "GET /v1/meta": "This document.",
            "GET /v1/article": "One article in full by id.",
            "GET /v1/articles": "Top articles by rating/date (sort=rating, period=weekly)."
        },
        "description": "Articles, ratings and topic hubs from Habr (habr.com), the largest Russian-speaking technology community, keyless. The articles endpoint lists top articles ranked by rating over a period or by date (signed score, votes, reads, bookmarks, comments, author, hubs, reading time); the article endpoint returns one by id; the hubs endpoint lists Habr's topic hubs with subscribers and hub rating. The Habr platform cut — distinct from the Western (dev.to) and Japanese (Qiita) developer communities, with its own signed-rating model (a score that can go negative) and Russian-language community.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-13T04:42:02.090Z",
        "request_id": "2bd60df3-ada9-47eb-ab76-634cb4e62d47"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}