API para Hacker News: Post
Obtenha um post do Hacker News pelo ID: título, link, autor, pontos e número de comentários em JSON limpo.
US$ 1,50/mil req., pague por requisição, sem assinatura.
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"}
Preços e provedores
Preços do endpoint Post da API para Hacker News: uma API, 2 provedores intercambiáveis
O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.
Teste
Obtenha Post do Hacker News em uma só requisição
Este exemplo mostra 10 de 11 campos. Ver todos os campos
{
"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"
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- idstring
45389217
O ID do post no Hacker News, por exemplo "47340079".
Resposta
JSON, um valor de exemplo por 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.
Dúvidas frequentes
Sobre o endpoint Post da API para Hacker News
O endpoint Post da AnyAPI para Hacker News retorna dados de Hacker News em JSON normalizado com uma chamada POST para /v1/run/hackernews.story. Obtenha um post do Hacker News pelo ID: título, link, autor, pontos e número de comentários em JSON limpo. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,50 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Post da API para Hacker News feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 0,1 segundos, em 26 chamadas medidas.