Hacker News Ricerca API
Cerca su Hacker News per parola chiave - storie corrispondenti con 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 | kvasir_dev | 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 Ricerca: 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 Ricerca in una sola richiesta
Questo esempio mostra 11 campi su 12. Vedi tutti i campi
{
"found": true,
"data": {
"results": [
{
"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"
},
{
"id": "45384901",
"title": "Rust 1.84 released",
"url": "https://blog.rust-lang.org/2026/09/20/Rust-1.84.0.html",
"author": "steveklabnik2",
"points": 731,
"comments": 356,
"createdUtc": 1758513660,
"permalink": "https://news.ycombinator.com/item?id=45384901"
},
{
"id": "45379552",
"title": "Ask HN: Is Rust worth learning in 2026 for a Python backend dev?",
"url": "",
"author": "morning_otter",
"points": 128,
"comments": 187,
"createdUtc": 1758427260,
"permalink": "https://news.ycombinator.com/item?id=45379552"
}
]
}
}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.
- querystring
rust
Parola chiave di ricerca, es. "ai".
- tagsstring
story
Filtro facoltativo per i risultati, es. "story" o "comment".
Risposta
JSON, un valore di esempio per campo.
Matching Hacker News stories. Populated whenever the provider has data for the entity.
- 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. Populated whenever the provider has data for the entity.
- 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 search returned at least one story.
- 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 Ricerca
L'API Hacker News Ricerca di AnyAPI restituisce dati Hacker News come JSON normalizzato da una sola chiamata POST a /v1/run/hackernews.search. Cerca su Hacker News per parola chiave - storie corrispondenti con 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 Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 0,5 secondi su 2330 chiamate misurate.