Existing customer? Sign in
APIs
Search engines 14 APIs
Web scraping 1 APIs
AI search 6 APIs
Shopping 15 APIs
Specialty stores 7 APIs
Maps & local 8 APIs
Travel 9 APIs
Images & videos 16 APIs
Jobs & people 7 APIs
Social media 10 APIs
Ad libraries 5 APIs
Apps & reviews 8 APIs
Real estate 3 APIs
Hacker News Search API
Search Hacker News stories and comments and get structured JSON with item ids, titles, links, points, comment counts, authors and dates.- Stories, comments, Ask HN, Show HN, polls and jobs
- Filter by author, date, points and comments
- Pay only for successful searches
curl --get https://www.searchapi.io/api/v1/search \
-d engine="hacker_news_search" \
-d q="sqlite"
Hacker News Search Results
Receive JSON results in real-time
Get each item's Hacker News id, type, title, link, discussion link, author, points, comment count and date.
{
"search_metadata": {
"id": "search_Lm3QaTz8NwK5hYcR2pVd7GbE",
"status": "Success",
"created_at": "2026-11-26T08:18:41Z",
"request_time_taken": 1.41,
"parsing_time_taken": 0.03,
"total_time_taken": 1.44,
"request_url": "https://hn.algolia.com/?page=0&q=sqlite&sort=byPopularity&type=story",
"html_url": "https://www.searchapi.io/api/v1/searches/search_Lm3QaTz8NwK5hYcR2pVd7GbE.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_Lm3QaTz8NwK5hYcR2pVd7GbE"
},
"search_parameters": {
"engine": "hacker_news_search",
"q": "sqlite",
"type": "story",
"sort_by": "relevance",
"page": 1,
"num": 20
},
"search_information": {
"total_results": 4391,
"is_total_results_exact": true
},
"organic_results": [
{
"position": 1,
"item_id": "27016630",
"type": "story",
"title": "Hosting SQLite databases on GitHub Pages or any static file hoster",
"link": "https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/",
"discussion_link": "https://news.ycombinator.com/item?id=27016630",
"author": "phiresky",
"points": 1812,
"comments": 244,
"created_at": "2021-05-02T16:43:15Z"
},
{
"position": 2,
"item_id": "31318708",
"type": "story",
"title": "I'm all-in on server-side SQLite",
"link": "https://fly.io/blog/all-in-on-sqlite-litestream/",
"discussion_link": "https://news.ycombinator.com/item?id=31318708",
"author": "dpeck",
"points": 1353,
"comments": 404,
"created_at": "2022-05-09T19:35:41Z"
},
{
"position": 3,
"item_id": "49272832",
"type": "story",
"title": "Tracking down the 16-year-old WAL-reset SQLite bug",
"link": "https://tailscale.com/blog/sqlite-wal-reset-bug",
"discussion_link": "https://news.ycombinator.com/item?id=49272832",
"author": "ropbear",
"points": 1223,
"comments": 239,
"created_at": "2026-08-12T14:22:30Z"
},
{
"position": 4,
"item_id": "26580614",
"type": "story",
"title": "SQLite is not a toy database",
"link": "https://antonz.org/sqlite-is-not-a-toy-database/",
"discussion_link": "https://news.ycombinator.com/item?id=26580614",
"author": "nalgeon",
"points": 986,
"comments": 354,
"created_at": "2021-03-25T14:20:25Z"
},
{
"position": 5,
"item_id": "17387851",
"type": "story",
"title": "How SQL Database Engines Work, by the Creator of SQLite (2008) [video]",
"link": "https://www.youtube.com/watch?v=Z_cX3bzkExE",
"discussion_link": "https://news.ycombinator.com/item?id=17387851",
"author": "zbaylin",
"points": 813,
"comments": 129,
"created_at": "2018-06-24T19:03:48Z"
},
{
"position": 6,
"item_id": "24531085",
"type": "story",
"title": "DuckDB – An embeddable SQL database like SQLite, but supports Postgres features",
"link": "https://duckdb.org/",
"discussion_link": "https://news.ycombinator.com/item?id=24531085",
"author": "goranmoomin",
"points": 801,
"comments": 160,
"created_at": "2020-09-20T00:02:36Z"
}
],
"pagination": {
"current": 1,
"next_page": 2
}
}
Developer experience
Easy integration
Integrating is as simple as making a GET HTTP request.
https://www.searchapi.io/api/v1/search?engine=hacker_news_search&q=sqlite
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "hacker_news_search",
"q": "sqlite"
}
response = requests.get(url, params=params)
print(response.text)
What You Get for Every Search
Structured discussion data from Hacker News search
Hacker News Search returns the items Hacker News matches for a search, parsed into clean JSON. Pick the kind of item, sort by relevance or date, and page through up to 1000 results.
-
Stories
- Item id, title, link, discussion link, author, points, comment count and date.
-
Comments
- Comment text, author, date, the item it replies to and the story it belongs to.
-
Ask HN and Show HN
- Ask HN and Show HN posts with their points and comment count, and their text when they have one.
-
Polls and Jobs
- Polls with their points and comment count, and job posts with their title, and their link when they have one.
-
Filters
- Narrow results by author, creation date, minimum points and minimum comments.
-
Pagination
- Up to 100 results per page, the total match count and the next page number when there is one.
Legal Coverage
Legal Protection Guarantee
We accept legal responsibility for how SearchApi collects and parses publicly available search results, backed by up to $2M in coverage. This protection applies to customers worldwide, operates under U.S. law, and does not cover your use of the data or unlawful activities.
Robust Infrastructure
Handle even the most demanding needs
Performance
Sub-2 second average response time
Optimized for low latency, delivering rapid results for AI applications, SEO analysis, and research.
100% Success Rate
Guaranteed query completion
Guaranteed success with built-in auto-retry mechanism and adaptive error handling to ensure complete data collection.
Proxy Management
Scalable proxy rotation
Our built-in proxy rotator and auto-retry mechanisms ensure scalability, handling millions of searches daily across a global network of 100M+ proxies.
Captcha Solving
Advanced CAPTCHA bypass
Mimics real human behavior with full browser rendering, JavaScript execution, and CAPTCHA solving for uninterrupted data scraping.
Integrations
Open-source integrations
Easily integrate with popular open-source tools like Dify, Flowise, LangChain, and Haystack to extend functionality with minimal setup.
Simple Pricing
Pricing plans
- Pay per success
- Built in location geo-targetting
- Only premium proxies
- 10,000 Searches
- 99.9% SLA
- 35,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- 100,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Medium Throughput
- 250,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- High Throughput
- Search Analytics
- 500,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 1,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 2,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 5,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
Trusted by industry leaders
Get started with SearchApi today
No credit card required. No commitment. Cancel anytime.