Get Item
get_itemFetch a Hacker News story or comment by ID (e.g., "42153809"). Returns full text, score, author, timestamp, and child replies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The numeric Hacker News item ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Author username | |
| id | Yes | HN item ID | |
| url | No | Item URL | |
| dead | No | Whether item is dead/removed | |
| kids | No | Array of child item IDs | |
| text | No | Item text content | |
| time | No | Unix timestamp of item posting | |
| type | No | Item type (story, comment, etc.) | |
| score | No | Item score/points | |
| title | No | Item title | |
| parent | No | Parent item ID | |
| deleted | No | Whether item is deleted | |
| descendants | No | Number of child comments |