Skip to main content
Every hackernews.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Items

get

items.get Get a HackerNews item by numeric ID Risk: read
Input Output

getMaxId

items.getMaxId Get the current maximum item ID Risk: read
Input Output

getWithId

items.getWithId Get a HackerNews item with nested comments Risk: read
Input Output

getFrontpage

search.getFrontpage Get current HackerNews frontpage posts Risk: read
Input Output

getLatest

search.getLatest Get latest HackerNews posts Risk: read
Input Output

getTodays

search.getTodays Get today’s HackerNews posts Risk: read
Input Output

posts

search.posts Full-text search HackerNews posts Risk: read
Input Output

Stories

getAsk

stories.getAsk Get Ask HN story IDs Risk: read
Input Output

getBest

stories.getBest Get best HackerNews story IDs Risk: read
Input Output

getJobs

stories.getJobs Get HackerNews job story IDs Risk: read
Input Output

getNew

stories.getNew Get newest HackerNews story IDs Risk: read
Input Output

getShow

stories.getShow Get Show HN story IDs Risk: read
Input Output

getTop

stories.getTop Get top HackerNews story IDs Risk: read
Input Output

Updates

get

updates.get Get recently changed HackerNews items and profiles Risk: read
Input Output

Users

get

users.get Get a HackerNews user profile via Algolia Risk: read
Input Output

getByUsername

users.getByUsername Get a HackerNews user profile via Firebase Risk: read
Input Output