Hacker News Комментарии к истории API
Список комментариев к истории Hacker News по id: текст, автор и метка времени в виде чистого JSON.
1,50 USD/1 тыс. запросов, оплата за запрос, без подписки.
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"}
Цены и поставщики
Цена API Hacker News Комментарии к истории: один API, поставщиков 2, и любой может заменить другого
Первым обслуживает самый дешёвый поставщик. Если он не отвечает, его заменяет следующий в том же вызове.
Попробовать
Получите Hacker News Комментарии к истории одним запросом
{
"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"
}
]
}
}Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.
Справочник
Один запрос, один формат ответа.
Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.
Проверено 2026-10-07 · доступность и задержка измерены за 30d
Тело запроса
JSON, отправляется на этот эндпоинт.
- idstring
45389217
ID истории Hacker News, например "47340079".
Ответ
JSON, по одному примеру значения на поле.
- 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
Вопросы и ответы
Об API Hacker News Комментарии к истории
AnyAPI Hacker News Комментарии к истории API возвращает данные Hacker News в виде нормализованного JSON одним вызовом POST к /v1/run/hackernews.story_comments. Список комментариев к истории Hacker News по id: текст, автор и метка времени в виде чистого JSON. AnyAPI направляет каждый запрос по источникам (их 2) и автоматически переключается, если один из них отказывает. Это стоит от 1,50 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 100,0% вызовов Hacker News Комментарии к истории через AnyAPI завершились успешно, медианное время ответа 0,4 с, измерено вызовов: 11.