Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man hacker-news-search

/hacker-news-search(1)

agentutility / web-probe / hacker-news-search
PRICE / CALL
$0.001
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
uncategorized
STATUS
live
NAME
hacker-news-search hacker news search / hn search / yc-news / algolia hn
synonym alias of hn-search — reuses the canonical handler.
SYNOPSIS
POST https://x402.org/v1/hacker-news-search
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Hacker News search / HN search / yc-news / Algolia HN. Searches 30M+ Hacker News stories and comments. Filter by type (story/comment/poll), author, min points, ISO8601 date range; sort by relevance or recency. Returns title, author, points, comment count, URL.

INPUTrequest schema
propertytypedescriptionreq?
querystringFree-text search query (matches title, body, author, URL).required
typestringRestrict to a single HN item type. Omit to include all types.
enum: story · comment · poll
optional
authorstringFilter to a specific HN username (e.g. 'pg', 'dang').optional
min_pointsnumberMinimum points (upvotes) floor. Comments don't have points; using this implicitly filters to stories.optional
sincestringLower bound on created_at — ISO8601 date (YYYY-MM-DD) or full timestamp.optional
untilstringUpper bound on created_at — ISO8601 date (YYYY-MM-DD) or full timestamp.optional
sortstring'relevance' (default, popularity-weighted) or 'date' (most-recent-first).
enum: relevance · date
optional
limitnumberMax hits to return. 1-20. Default 10.optional
OUTPUTresponse shape
fieldtypedescription
querystringEchoes back the search query string that was submitted to the Algolia HN index.
total_hitsstringTotal number of HN stories or comments matching the query before pagination.
resultsstringArray of matching HN items with title, author, points, comment count, URL, and timestamp.
sourcestringUpstream data source identifier, typically 'algolia-hn' for the HN Search API.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/hacker-news-search \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the hacker-news-search tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
hacker-newshn-searchtech-newsalgolia-hnstory-searchcomment-searchyc-news
methods
POST
cluster
webprobe
price
$0.001 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
hn-searchHN search / Hacker News search / yc-news / startup-news search / Algolia HN / who-is-hiring scraper / programmer-news firehose.$0.001
ip-asnIP to ASN / IP geolocation / IP-to-ISP lookup / WHOIS for IP / cloud-provider attribution.$0.001
qr-code-generateQR code generator / QR maker / vCard QR / WiFi QR / URL to QR / SVG QR / PNG QR / customizable error correction.$0.001
tld-infoTLD info / top-level domain registry lookup / ccTLD vs gTLD / TLD introduction year / new gTLD registry.$0.001
user-agent-parseUser-Agent parser / UA classifier / browser detection / OS detection / bot detection / AI crawler identifier (GPTBot, ClaudeBot, Perplexi…$0.001
arxiv-bibtexarXiv to BibTeX / arxiv citation generator / paper bibtex / LaTeX citation builder / academic citation lookup.$0.002
github-readmeGitHub README fetch / repo readme / open-source-readme-as-markdown / package documentation puller.$0.002
keyword-suggestKeyword autocomplete / search suggest / SEO keyword research / query expansion / autocomplete suggestions.$0.002
SEE ALSO
agentutility(7) · webprobe(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org