Hacker News
Read the top and newest Hacker News stories and single stories or comments. No account needed.
Get top stories
Reads the IDs of the stories on the Hacker News front page, top first.
Outputs
| Name | Type | Details |
|---|---|---|
| Story IDs | List of ID | Up to 500 story IDs in list order. Read a story with "Get story or comment". |
Get newest stories
Reads the IDs of the newest Hacker News stories, newest first.
Outputs
| Name | Type | Details |
|---|---|---|
| Story IDs | List of ID | Up to 500 story IDs in list order. Read a story with "Get story or comment". |
Get story or comment
Reads one Hacker News story, comment, job or poll by its ID.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Item ID | Whole number | Yes | The number after id= in the Hacker News address. Minimum: 1. |
Outputs
| Name | Type | Details |
|---|---|---|
| Found | Yes/No | Whether the item exists. When not, everything else is empty. |
| Type | Text | story, comment, job, poll or pollopt. May be empty. |
| Title | Text | The title. Empty for comments. May be empty. |
| Link | URL | The page the story links to. Empty for text posts. May be empty. |
| Text | Text | The text of a comment or text post, as HTML. May be empty. |
| Author | Text | The username of the author. May be empty. |
| Points | Whole number | The points of a story. May be empty. |
| Comments | Whole number | How many comments a story has. May be empty. |
| Posted at | Date and time | When it was posted. May be empty. |
| Hacker News link | URL | The discussion page on Hacker News. May be empty. |
Need more help?
Can't find what you're looking for? Our team is happy to help.