Hacker News Commentaires de la story API
Listez les commentaires d’une story Hacker News par id - texte, auteur et horodatage en JSON propre.
1,50 $US/1k req, paiement à la requête, sans abonnement.
gwern_reader Sep 27, 2025 | next [-]
The interesting bit here is not Rust itself, it is that they went from a 40 minute cold build to under 3 minutes by caching at the crate graph level instead of the file level. That is a build system design decision, not a language one.
reply
{"id": "45389802","parentId": "45389217","author": "gwern_reader","text": "The interesting bit here is not Rust itself, it is that they went from a 40 minute cold build to under 3 minutes by caching at the crate graph level instead of the file level. That is a build system design decision, not a language one.","createdUtc": 1758981900,"postId": "45389217","permalink": "https://news.ycombinator.com/item?id=45389802"}
Tarifs et fournisseurs
Tarifs de l’API Hacker News Commentaires de la story : une API, 2 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Essayer
Obtenez Hacker News Commentaires de la story en une requête
{
"found": true,
"data": {
"comments": [
{
"id": "45389802",
"parentId": "45389217",
"author": "gwern_reader",
"text": "The interesting bit here is not Rust itself, it is that they went from a 40 minute cold build to under 3 minutes by caching at the crate graph level instead of the file level. That is a build system design decision, not a language one.",
"createdUtc": 1758981900,
"postId": "45389217",
"permalink": "https://news.ycombinator.com/item?id=45389802"
},
{
"id": "45389944",
"parentId": "45389802",
"author": "tuple_of_one",
"text": "Bazel does crate level caching too if you use rules_rust, curious why they rolled their own instead.",
"createdUtc": 1758983160,
"postId": "45389217",
"permalink": "https://news.ycombinator.com/item?id=45389944"
},
{
"id": "45390110",
"parentId": "45389217",
"author": "kvasir_dev",
"text": "Author here. We looked at Bazel first, the migration cost for our existing Go and TypeScript services was the blocker, not the caching model.",
"createdUtc": 1758984720,
"postId": "45389217",
"permalink": "https://news.ycombinator.com/item?id=45390110"
}
]
}
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-10-07 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- idstring
45389217
ID de story Hacker News, p. ex. « 47340079 ».
Réponse
JSON, une valeur d’exemple par champ.
- foundboolean
true
- idstring
45389802
- parentIdstring
45389217
- authorstring
gwern_reader
- textstring
The interesting bit here is not Rust itself, it is that they went from a 40 minute cold build to under 3 minutes by caching at the crate graph level instead of the file level. That is a build system design decision, not a language one.
- createdUtcnumber
1758981900
- postIdstring
45389217
- permalinkstring
https://news.ycombinator.com/item?id=45389802
FAQ
À propos de l’API Hacker News Commentaires de la story
L’API Hacker News Commentaires de la story d’AnyAPI renvoie des données Hacker News en JSON normalisé à partir d’un appel POST à /v1/run/hackernews.story_comments. Listez les commentaires d’une story Hacker News par id - texte, auteur et horodatage en JSON propre. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 1,50 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels Hacker News Commentaires de la story passés par AnyAPI ont réussi, avec un temps de réponse médian de 0,4 secondes, sur 11 appels mesurés.