Skip to content

Hacker News API

Hacker News API for
stories and comments.

Find the story behind a technical topic and read its comment thread with source IDs preserved.

150 free credits to start·No card required

GET/hackernews/search
monocrawl / hackernews
Recorded response

PGSimCity in Hacker News search

id
49063754
title
PGSimCity - How PostgreSQL Works
author
jonbaer
points
930
comments_count
91
created_at
2026-07-27T00:19:04Z
hn_url
https://news.ycombinator.com/item?id=49063754
Selected public fields

Recorded excerpt. Values may change; missing fields stay null.

Structured JSONData you can work with
One API keyYour Monocrawl integrations
cURL · TypeScript · PythonStart in your own stack

The data

Hacker News data,
ready to work with.

Hacker News is organized around individual story IDs, not just article URLs. A recorded PostgreSQL search returned PGSimCity, a July 2026 story about how the database works, with its source link, observed score and comment count. Open a selected story ID for the original post, then request story/comments to read returned replies rather than guessing sentiment from a points total. A public profile provides contributor context separately. Search ranking and discussion activity can change after this dated result. Monocrawl returns these source-linked records as JSON for technical research and conversation analysis.

Request → response

From Hacker News
to structured JSON.

Inspect selected fields from a recorded Hacker News response for PGSimCity in Hacker News search. Choose a language and use your own key to request current data.

  1. 1
  2. 2
    Choose your inputs

    Replace the example inputs with your own target. Send your key in the x-api-key header.

  3. 3
    Use the returned JSON

    Read the returned record from data. Check credits_used for the call’s confirmed credit usage.

Your requestGET /v1/hackernews/search
curl "https://www.monocrawl.com/v1/hackernews/search?query=postgres" \
  -H "x-api-key: mn_your_key_here"
What comes backdata excerpt
{
  "items": [
    {
      "id": "49063754",
      "title": "PGSimCity - How PostgreSQL Works",
      "author": "jonbaer",
      "points": 930,
      "comments_count": 91,
      "created_at": "2026-07-27T00:19:04Z",
      "hn_url": "https://news.ycombinator.com/item?id=49063754"
    }
  ]
}

Recorded 21 Sep 2026 for PGSimCity in Hacker News search. Selected fields only; this is a historical snapshot.

What you can build

What you can build
with Hacker News data.

Use Hacker News data in the products and workflows you’re already building.

01
  1. Topic query
  2. Matching stories
  3. Your reading queue

Find a technical discussion

Search story titles for a subject and retain the Hacker News item ID.

Explore this workflow
02
  1. Story ID
  2. Post + score
  3. Your source record

Inspect the original story

Open one item for its title, source URL, points and publication date.

Explore this workflow
03
  1. Story ID
  2. Comment thread
  3. Your discussion view

Read the conversation

Fetch the returned comments for that story rather than inferring reaction from its score.

Explore this workflow
Start with a working workflowIntegration guide

Hacker News API pricing

Try the Hacker News API for free.

Start with 150 free credits. Choose a paid plan when you need a monthly allowance.

Free

No card required

$0/ month

150 free credits to start

Try the endpoints your application needs, with your own API key.

Sign in

Email verification required. Free usage limits apply. See limits

Starter

Monthly subscription

$29/ month

10,000 credits every month

More monthly credits for your Hacker News integration and other supported platforms.

Explore the Starter plan

USD, before applicable tax. See pricing for subscription terms.

Compare all plans

Explore by data type

Hacker News API endpoints

4 currently available operations. Open an endpoint for parameters, response details and pricing.

Listed credit prices are per request. Metered or variable-cost operations can settle differently; check the endpoint reference when budgeting.

Before you build

Hacker News API questions,
answered.

Need to check a particular workflow?
Talk to us

Comparing providers for Hacker News data?
Monocrawl vs GummySearch
Monocrawl vs F5Bot
Monocrawl vs Brand24

Is the PGSimCity score live?

No. The score and comment count are from a PostgreSQL search recorded on 21 September 2026. Recheck the item before reporting current activity.

Does a story score tell me what readers said?

No. Points and comment count are summaries. Use story/comments to inspect the returned replies, and keep the item ID with each response.

What Hacker News operations can I use?

The catalogue shows 4 currently available operations with their individual prices. Open an endpoint for its accepted inputs, returned fields and limitations.

How much does the Hacker News API cost?

Start with 150 free credits. Paid subscriptions start at $29 per month for 10,000 credits, before applicable tax. Each operation has its own price. Check the endpoint reference for variable charges. Compare plans

How do I authenticate requests?

Use your Monocrawl API key in the x-api-key header. The endpoint reference lists any additional inputs needed for the operation. Authentication guide

What request limits apply?

Limits depend on your Monocrawl plan. The Free account ceiling is 600 requests per minute and 50 simultaneous requests. Endpoint capacity and Free daily protections also apply; these ceilings do not guarantee source throughput. Read the limits guide

What should I know about Hacker News coverage?

Points and comment totals are observations from the recorded response, not a current ranking. A returned comment window may not contain every branch of a conversation.

Is Monocrawl affiliated with Hacker News?

Monocrawl is an independent service. Third-party names identify data sources and do not imply a partnership or endorsement.

Your next build starts here

Make your first
Hacker News request.

Start with 150 free credits. No card required.

Try the Hacker News API