Hacker News-Story-API
Hole eine Hacker-News-Story per ID: Titel, Link, Autor, Punkte und Kommentarzahl als sauberes JSON.
1,50 USD/1k Anfr., Zahlung pro Anfrage, kein Abo.
Why we rewrote our build system in Rust (blog.tacitlabs.dev)
482 points by kvasir_dev on Sep 27, 2025 | hide | past | favorite | 214 comments
{"id": "45389217","title": "Why we rewrote our build system in Rust","url": "https://blog.tacitlabs.dev/rust-build-system","author": "kvasir_dev","points": 482,"comments": 214,"createdUtc": 1758978420,"permalink": "https://news.ycombinator.com/item?id=45389217"}
Preise und Anbieter
Preise der Hacker News-Story-API: eine API, 2 austauschbare Anbieter
Der günstigste Anbieter bedient zuerst. Fällt er aus, übernimmt der nächste im selben Aufruf.
Ausprobieren
Hacker News Story mit einer Anfrage abrufen
Dieses Beispiel zeigt 10 von 11 Feldern. Alle Felder ansehen
{
"found": true,
"data": {
"id": "45389217",
"title": "Why we rewrote our build system in Rust",
"url": "https://blog.tacitlabs.dev/rust-build-system",
"author": "kvasir_dev",
"points": 482,
"comments": 214,
"createdUtc": 1758978420,
"permalink": "https://news.ycombinator.com/item?id=45389217"
}
}Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.
Referenz
Eine Anfrage, eine Antwortstruktur.
Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.
Zuletzt geprüft 2026-11-21 · Verfügbarkeit und Latenz gemessen über 30d
Request-Body
JSON, per POST an diesen Endpoint gesendet.
- idstring
45389217
Hacker-News-Story-ID, z. B. „47340079“.
Antwort
JSON, ein Beispielwert pro Feld.
Story payload, or null when the id did not resolve.
- authorstring
kvasir_dev
Submitting user's username. Populated whenever the provider has data for the entity.
- commentsinteger
214
Number of comments on the story.
- createdUtcnumber
1758978420
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- idstring
45389217
Hacker News item ID of the story.
- permalinkstring
https://news.ycombinator.com/item?id=45389217
Permalink to the item on news.ycombinator.com.
- pointsinteger
482
Story score (upvotes).
- titlestring
Why we rewrote our build system in Rust
Story title. Populated whenever the provider has data for the entity.
- urlstring
https://blog.tacitlabs.dev/rust-build-system
Story link.
- foundboolean
true
True when the story id resolved.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
Über die Hacker News-Story-API
Die AnyAPI-Hacker News-Story-API liefert Hacker News-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/hackernews.story. Hole eine Hacker-News-Story per ID: Titel, Link, Autor, Punkte und Kommentarzahl als sauberes JSON. AnyAPI routet jede Anfrage über 2 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 1,50 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 100,0% der Hacker News Story-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 0,1 Sekunden über 92 gemessene Aufrufe.