Hacker News Storia API
Ottieni una storia di Hacker News tramite id - titolo, link, autore, punti e numero di commenti come JSON pulito.
1,50 USD/1k richieste, paghi a richiesta, nessun abbonamento.
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"}
Prezzi e provider
Prezzi dell'API Hacker News Storia: una sola API, 2 provider intercambiabili
Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.
Provalo
Ottieni Hacker News Storia in una sola richiesta
Questo esempio mostra 10 campi su 11. Vedi tutti i campi
{
"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"
}
}Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.
Riferimento
Una richiesta, una sola forma di risposta.
Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.
Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d
Corpo della richiesta
JSON, inviato a questo endpoint.
- idstring
45389217
Id della storia di Hacker News, es. "47340079".
Risposta
JSON, un valore di esempio per campo.
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
Sull'API Hacker News Storia
L'API Hacker News Storia di AnyAPI restituisce dati Hacker News come JSON normalizzato da una sola chiamata POST a /v1/run/hackernews.story. Ottieni una storia di Hacker News tramite id - titolo, link, autore, punti e numero di commenti come JSON pulito. AnyAPI instrada ogni richiesta su 2 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 1,50 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate Hacker News Storia tramite AnyAPI è riuscito, con un tempo di risposta mediano di 0,1 secondi su 92 chiamate misurate.