Searches 30M+ Hacker News stories and comments via the public Algolia HN index.
Searches 30M+ Hacker News stories and comments via the public Algolia HN index. Filter by type (story|comment|poll), author, minimum points, ISO8601 date range (since/until), and sort by relevance or recency. Returns total hit count plus per-hit objectID, title, author, points, comment count, created_at, URL, and story/comment text. Public Algolia API, no auth, commercial-OK. Use it as an HN search, yc-news or startup-news search, who-is-hiring scraper, or programmer-news firehose.
| Method | Endpoint | Price | Description |
|---|---|---|---|
POST | /v1/marketplace/api/hn-search-441 | $0.00115 | Invoke Hn Search (Search) and return the upstream response. |
Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.
# 1. Ask for a quote
curl -i -X POST https://jarvisclaw.ai/v1/marketplace/api/hn-search-441 \
-H 'Content-Type: application/json' \
-d '{}'
# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://jarvisclaw.ai/v1/marketplace/api/hn-search-441 \
-H 'Content-Type: application/json' \
-H 'X-PAYMENT: <signed-payload>' \
-d '{}'
Taken from the request example this API publishes.
| Name | In | Type | Example |
|---|---|---|---|
limit | body | number | 5 |
query | body | string | "rust async" |
{
"query": "rust async",
"total_hits": 4567,
"results": [
{
"id": "39800000",
"title": "Async Rust in three parts",
"author": "boats",
"points": 412,
"comments_count": 137,
"created_at": "2024-03-15T14:22:01.000Z",
"url": "https://without.boats/blog/async-rust-3/"
}
],
"source": "https://hn.algolia.com/api/v1/search"
}
$0.00115 USDC per call, paid per call over x402. There is no subscription, minimum or monthly fee.
No. Call the endpoint, read the 402 Payment Required quote, and repeat the request with a signed USDC payment header. An account API key also works if you prefer prepaid billing.
USDC on Base or on Solana. The 402 quote lists the accepted networks and the exact amount; the JarvisClaw SDKs sign and retry for you.
Send POST to the endpoint above from any HTTP client, or connect the JarvisClaw MCP server and let the agent find and call it with the search_apis and get_api_detail tools.
Docs: Getting started · x402 payments · x402 discovery · All APIs