> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** [https://www.socialfetch.dev/answers/how-do-i-poll-for-new-and-changed-hacker-news-content](https://www.socialfetch.dev/answers/how-do-i-poll-for-new-and-changed-hacker-news-content)
- **Markdown (.mdx) URL:** [https://www.socialfetch.dev/answers/how-do-i-poll-for-new-and-changed-hacker-news-content.mdx](https://www.socialfetch.dev/answers/how-do-i-poll-for-new-and-changed-hacker-news-content.mdx)

---

# How do I poll for new and changed Hacker News content?

Use `GET /v1/hackernews/maxitem` for the current high-water `maxItemId` to catch brand-new ids, and `GET /v1/hackernews/updates` for `changedItemIds`/`changedUsernames` to catch edits to existing items and profiles. Neither returns full bodies — hydrate the ids you care about with `/items/{id}`, `/stories/{id}`, or `/users/{username}` after filtering.

Source: [Hacker News data API](https://www.socialfetch.dev/platforms/hackernews)

## Related questions

- [Is there a Hacker News scraper API?](https://www.socialfetch.dev/answers/is-there-a-hacker-news-scraper-api)
- [How much does the Hacker News API cost?](https://www.socialfetch.dev/answers/how-much-does-the-hacker-news-api-cost)
- [Is scraping Hacker News data legal?](https://www.socialfetch.dev/answers/is-scraping-hacker-news-data-legal)
