Skip to content

Hacker News API

Hacker News (ycombinator.com) has 6 public methods: search YC companies, get YC company profile, search stories, list stories, get discussion and list Who is hiring posts. Each costs 1 credit per completed run (1¢ with pay as you go); failed runs are free.

Unofficial. Not affiliated with or endorsed by Hacker News.

Methods

6
  • Searches the Y Combinator company directory by keyword, industry, batch, location, hiring and status, returning companies in directory order.

    Returns name, description, batch, industries, location, team size, status, website, YC page link

    Readycombinator.com/search_companies
  • Looks up a Y Combinator company by name or YC company page link and returns its profile, founders, social links and open job count.

    Returns name, description, batch, status, industries, founders, social links, open jobs count, YC page link

    Readycombinator.com/get_company
  • Searches Hacker News stories or comments by words, date range and sort order. Comments include their parent story's website link when one exists; text-only stories have no website link.

    Returns title, comment text, author, points, comment count, posted date, website link, Hacker News link, item ID

    Readnews.ycombinator.com/search_stories
  • Lists current Hacker News stories in rank order from the top, newest, best, Ask HN, Show HN or jobs list.

    Returns rank, title, website link and domain, points, comments, author, posted time, discussion link, item id

    Readnews.ycombinator.com/list_front_page
  • Gets a Hacker News story and its comments in the order shown on the site. The story can be given as a discussion link or as words from its title. Deleted and flagged comments are left out.

    Returns title, link, author, points, comment count, story text, comments with depth, replies and parent

    Readnews.ycombinator.com/get_discussion
  • Lists top-level job posts from a monthly Ask HN: Who is hiring? thread in thread order, with post text and the company, roles, location, work arrangement, salary and application contact inferred from each post.

    Returns thread title and link; per post: company, roles, location, work arrangement, salary, post text, application contact, posted date, comment link

    Readnews.ycombinator.com/list_hiring_posts