Search

Discussions

What Hacker News said about a topic: matching stories with points, comment counts and links to the threads, plus aggregates — total matches, points and comments returned, the domains most often submitted, and the first/last time it was discussed. Price: $0.004.

post/discussions

Request

  • Base URL: https://api.weblens.dev
  • URL: https://api.weblens.dev/discussions
  • Auth: API key in header Payment-Signature

Request body

querystring required

What to search Hacker News for

limitnumber

Stories to return (1-50, default 10)

sort'relevance' | 'recent'

Rank by relevance (default) or newest first

Example request

{
  "query": "cloudflare workers",
  "limit": 10
}

Response

What Hacker News said about a topic, with points, comments and aggregates.

querystring
source'hackernews'
sortstring
discussedAtstring
requestIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.