{"api":{"id":"api_5638c2695a96ab3df4fceb04","slug":"hacker-news-comment-threads","name":"Hacker News Comment Threads","description":"Every comment on the Hacker News stories you give, one row each in thread order: depth, parent, position among replies, author, time, plain text and reply count. Whole discussions drop straight into a sheet or an AI summary; many stories per call.","kind":"ready_made","visibility":"public","domain":"news.ycombinator.com","source_url":"https://hn.algolia.com/api","category":"social","record_type":"post","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":11,"created_at":"2026-12-06T03:33:09.221Z","updated_at":"2026-12-06T03:33:09.221Z","runnable":true},"version":"1.0","contract_hash":"e3ed0bcba63d49bdfc1513d222184802eb1467422420a91afd697ab1fcc47514","fields":[{"name":"story_id","type":"string","description":"Hacker News id of the story the comment belongs to.","required":true,"coverage":1,"example":"8863"},{"name":"story_title","type":"string","description":"Title of that story.","required":false,"coverage":1,"example":"My YC app: Dropbox - Throw away your USB drive"},{"name":"comment_id","type":"string","description":"Hacker News id of the comment.","required":true,"coverage":1,"example":"8865"},{"name":"parent_id","type":"string","description":"Id of the comment it replies to, or the story id for a top-level comment.","required":false,"coverage":1,"example":"8863"},{"name":"depth","type":"integer","description":"Reply level: 1 for a top-level comment, 2 for a reply to one, and so on.","required":false,"coverage":1,"example":1},{"name":"position","type":"integer","description":"Place among the replies to the same parent, 1 for the oldest.","required":false,"coverage":1,"example":1},{"name":"author","type":"string","description":"Hacker News user name of the commenter.","required":false,"coverage":1,"example":"dhouston"},{"name":"created_at","type":"datetime","description":"When the comment was posted (UTC).","required":false,"coverage":1,"example":"2007-04-04T19:22:55.000Z"},{"name":"text","type":"string","description":"The comment in plain text, one paragraph per line.","required":false,"coverage":1,"example":"oh, and a mac port is coming :)"},{"name":"replies_count","type":"integer","description":"Number of direct replies to the comment.","required":false,"coverage":1,"example":1},{"name":"url","type":"url","description":"The comment's own page on Hacker News.","required":false,"coverage":1,"example":"https://news.ycombinator.com/item?id=8865"}],"inputs":[{"name":"stories","type":"array","description":"Hacker News story links or ids, such as [\"https://news.ycombinator.com/item?id=8863\"] or [\"8863\"]. A comment link reads the replies under it.","example":["https://news.ycombinator.com/item?id=8863"],"required":true},{"name":"max_depth","type":"integer","description":"Deepest reply level to keep: 1 keeps only top-level comments, 2 adds their replies and so on. Empty keeps every level.","example":10},{"name":"max_results","type":"integer","description":"Most comments per story, in thread order, from 1 to 10,000.","default":1000,"example":500}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"author":{"description":"Hacker News user name of the commenter.","type":"string"},"comment_id":{"description":"Hacker News id of the comment.","type":"string"},"created_at":{"description":"When the comment was posted (UTC).","format":"date-time","type":"string"},"depth":{"description":"Reply level: 1 for a top-level comment, 2 for a reply to one, and so on.","type":"integer"},"parent_id":{"description":"Id of the comment it replies to, or the story id for a top-level comment.","type":"string"},"position":{"description":"Place among the replies to the same parent, 1 for the oldest.","type":"integer"},"replies_count":{"description":"Number of direct replies to the comment.","type":"integer"},"story_id":{"description":"Hacker News id of the story the comment belongs to.","type":"string"},"story_title":{"description":"Title of that story.","type":"string"},"text":{"description":"The comment in plain text, one paragraph per line.","type":"string"},"url":{"description":"The comment's own page on Hacker News.","format":"uri","type":"string"}},"required":["story_id","comment_id"],"title":"Hacker News Comment Threads","type":"object"},"samples":[{"story_id":"8863","story_title":"My YC app: Dropbox - Throw away your USB drive","comment_id":"8865","parent_id":"8863","depth":1,"position":1,"author":"dhouston","created_at":"2007-04-04T19:22:55.000Z","text":"oh, and a mac port is coming :)","replies_count":1,"url":"https://news.ycombinator.com/item?id=8865"},{"story_id":"8863","story_title":"My YC app: Dropbox - Throw away your USB drive","comment_id":"9007","parent_id":"8865","depth":2,"position":1,"author":"vlad","created_at":"2007-04-05T01:48:11.000Z","text":"Drew, this is awesome! All of the features you mentioned are exactly what people need.","replies_count":0,"url":"https://news.ycombinator.com/item?id=9007"},{"story_id":"8863","story_title":"My YC app: Dropbox - Throw away your USB drive","comment_id":"8869","parent_id":"8863","depth":1,"position":2,"author":"zaidf","created_at":"2007-04-04T19:36:20.000Z","text":"This has great potential!\nOnly suggestion I would have is go slower on the demo. I know you lost me very early into it switching between windows.\nIf you are looking for a wider audience than those who already know the context of dropbox, make a video where you lay out the case…","replies_count":1,"url":"https://news.ycombinator.com/item?id=8869"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"author":1,"comment_id":1,"created_at":1,"depth":1,"parent_id":1,"position":1,"replies_count":1,"story_id":1,"story_title":1,"text":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.221Z","activated_at":"2026-12-06T03:33:09.221Z","active":true,"contract_hash":"e3ed0bcba63d49bdfc1513d222184802eb1467422420a91afd697ab1fcc47514","fields_count":11}]}