Search Hacker News for startup news, YC news, Show HN launches, and founder discussion thr
Search Hacker News for startup news, YC news, Show HN launches, and founder discussion through the Algolia HN index. Send a query, then filter stories, comments, or polls by author, minimum points, and ISO-8601 date range; sort by relevance or newest first. Returns titles, authors, points, comment counts, timestamps, URLs, and matching text. Use it as a startup news search API, YC news search, Show HN tracker, or developer news feed.
1000 (raw units)
price
3
calls / 30d
3
unique payers
2026-09-17
updated
Provider
x402.agentutility.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"discoverable": true,
"info": {
"input": {
"body": {
"limit": 5,
"query": "rust async"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"query": "rust async",
"results": [
{
"author": "boats",
"comments_count": 137,
"created_at": "2024-03-15T14:22:01.000Z",
"id": "39800000",
"points": 412,
"title": "Async Rust in three parts",
"url": "https://without.boats/blog/async-rust-3/"
}
],
"source": "https://hn.algolia.com/api/v1/search",
"total_hits": 4567
},
"type": "json"
}
},
"related": [
"/social-mindshare"
],
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"author": {
"description": "Filter to a specific HN username (e.g. 'pg', 'dang').",
"type": "string"
},
"limit": {
"description": "Max hits to return. 1-20. Default 10.",
"type": "number"
},
"min_points": {
"description": "Minimum points (upvotes) floor. Comments don't have points; using this implicitly filters to stories.",
"type": "number"
},
"query": {
"description": "Free-text search query (matches title, body, author, URL).",
"type": "string"
},
"since": {
"description": "Lower bound on created_at — ISO8601 date (YYYY-MM-DD) or full timestamp.",
"type": "string"
},
"sort": {
"description": "'relevance' (default, popularity-weighted) or 'date' (most-recent-first).",
"enum": [
"relevance",
"date"
],
"type": "string"
},
"type": {
"description": "Restrict to a single HN item type. Omit to include all types.",
"enum": [
"story",
"comment",
"poll"
],
"type": "string"
},
"until": {
"description": "Upper bound on created_at — ISO8601 date (YYYY-MM-DD) or full timestamp.",
"type": "string"
}
},
"required": [
"query"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"query": {
"type": "string"
},
"results": {
"items": {
"properties": {
"author": {
"type": "string"
},
"comments_count": {
"type": "integer"
},
"created_at": {
"type": "string"
},
"id": {
"type": "string"
},
"points": {
"type": "integer"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"source": {
"type": "string"
},
"total_hits": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "bc_awpbwsy3"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://x402.agentutility.ai/hacker-news-search" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.agentutility.ai/hacker-news-search");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402.agentutility.ai/hacker-news-search")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5185.json, and this resource appears in /discovery/resources and /discovery/search.