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

Live comment stream with story context

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

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

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

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

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

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

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

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

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

{
    "data": {
        "sort": "date",
        "count": 20,
        "total": 33490573,
        "results": [
            {
                "id": "48517851",
                "text": "Just use Plexus [1].  The maintainer is not trying to be a hero or raise seed dollars or even really trying to promote it.  He&#x27;s just making an excellent, useful product.  (Unaffiliated, just a happy user).  It&#x27;s not a full-on &quot;LLMOps&quot; platform (whatever that is), it&#x27;s just a proxy that works very well and has some nice features.<p>[1] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;mcowger&#x2F;plexus\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;mcowger&#x2F;plexus</a>",
                "author": "indigodaddy",
                "hn_url": "https://news.ycombinator.com/item?id=48517851",
                "story_id": "48516504",
                "parent_id": "48516504",
                "created_at": "2026-06-13T14:46:21Z",
                "story_title": "AI OSS tool repo goes archived over night after raising $7.3M Seed"
            },
            {
                "id": "48517850",
                "text": "Very nice idea but please, check the performance: I had to close the tab 3 seconds in because it got stuck and my CPU fan got noisy.<p>So I couldn&#x27;t even check it out properly.",
                "author": "jdthedisciple",
                "hn_url": "https://news.ycombinator.com/item?id=48517850",
                "story_id": "48481400",
                "parent_id": "48481400",
                "created_at": "2026-06-13T14:46:20Z",
                "story_title": "Show HN: I am building a map of people who lived in the Roman Empire"
            },
            {
                "id": "48517849",
                "text": "Tons of great options, for sure, but community efforts and corporate sponsorship ends up fragmented if there isn’t a clear winner.<p>For desktop app development, if I don’t care about native controls (and what does that mean in Linux or even post-Win32, anyway?) and don’t want to deal with Electron, why not use something a bit more established like Avalonia or Flutter?",
                "author": "chem83",
                "hn_url": "https://news.ycombinator.com/item?id=48517849",
                "story_id": "48479008",
                "parent_id": "48479008",
                "created_at": "2026-06-13T14:46:07Z",
                "story_title": "The state of building user interfaces in Rust"
            },
            {
                "id": "48517847",
                "text": "[delayed]",
                "author": "gcanyon",
                "hn_url": "https://news.ycombinator.com/item?id=48517847",
                "story_id": "48513536",
                "parent_id": "48517672",
                "created_at": "2026-06-13T14:46:00Z",
                "story_title": "There is a shadow hanging over this Fable thing"
            },
            {
                "id": "48517846",
                "text": "Sure, but that doesn’t excuse t
…