Tech News API
FreemiumTop, new and best tech stories from Hacker News, full-text news search, story details with comments, and Ask/Show HN.
Documentation
Top, new and best tech stories from Hacker News, full-text news search, story details with comments, and Ask/Show HN.
What you get
- Headlines — top, new and best stories
- Search all stories by keyword, time window and popularity
- Story details with top comments
- Ask HN, Show HN and job posts
Great for developer dashboards, newsletters, bots, research and content curation.
Quick start
Subscribe to a plan (the Basic plan is free), then call the API at https://tech-news.p.apihiver.com with your key in the X-API-Key header:
curl "https://tech-news.p.apihiver.com/v1/headlines?limit=3" \
-H "X-API-Key: YOUR_API_KEY"Endpoints
| Method | Path | What it does |
|---|---|---|
GET | /v1/headlines | Live top technology headlines |
GET | /v1/search | Search tech news stories by keyword |
GET | /v1/story/{story_id} | One story with its top comments |
GET | /v1/category/{kind} | Launches (show), questions (ask) and tech job posts (jobs) |
Open the Endpoints tab to see every parameter, example request and example response, and to try the API live.
Errors
Every error is JSON with the same shape:
{"error": {"code": "INVALID_INPUT", "message": "q: Field required"}}| HTTP | Code | Meaning |
|---|---|---|
| 400 | INVALID_INPUT | A parameter is missing or has the wrong format — the message says which |
| 401 | UNAUTHORIZED | Missing or invalid X-API-Key |
| 404 | NOT_FOUND | Nothing matched the code, id or name you sent |
| 429 | — | Plan quota or rate limit reached (see the X-RateLimit-* headers) |
| 502 / 503 / 504 | — | A data source or the API server is temporarily unavailable — retry after a few seconds |
Data & privacy
Data comes from the official Hacker News API and HN Search by Algolia.
Tech News API FAQ
- Is the Tech News API free?
- Yes. The Basic plan is free and includes 500 requests per month — no card needed. Paid plans start at ₹299 per month for 10,000 requests.
- How much does the Tech News API cost?
- Basic: free for 500 requests; Pro: ₹299/month for 10,000 requests; Ultra: ₹999/month for 50,000 requests; Mega: ₹2,499/month for 2,00,000 requests. Billing is monthly and you can cancel any time.
- How do I use the Tech News API?
- Subscribe to a plan on APIHiver, create an API key in the Console, then send requests to https://tech-news.p.apihiver.com with your key in the X-API-Key header. You can also try every endpoint in the browser playground first.
- What endpoints does the Tech News API have?
- It has 4 endpoints: Live top technology headlines (GET /v1/headlines); Search tech news stories by keyword (GET /v1/search); One story with its top comments (GET /v1/story/{story_id}); Launches (show), questions (ask) and tech job posts (jobs) (GET /v1/category/{kind}).
- What are the Tech News API rate limits?
- Basic: 2 requests per second; Pro: 5 requests per second; Ultra: 10 requests per second; Mega: 20 requests per second. Monthly quotas depend on the plan; every response includes X-RateLimit headers showing what's left.
- Can I use one API key for the Tech News API and other APIs?
- Yes. One APIHiver key works for every API you subscribe to, so you don't need a separate account or key per provider.
Related APIs
Universities API
EducationBy APIHiver · Updated 1w ago
Search universities in 200+ countries, look up a university by web domain, and verify student email addresses.
Public Holidays API
TravelBy APIHiver · Updated 1w ago
Public holidays for 150+ countries — including Indian states — plus 'is it a holiday?', upcoming holidays and working-day counts.
English Dictionary API
EducationBy APIHiver · Updated 1w ago
English definitions, synonyms, antonyms, rhymes, 'words that mean…' and autocomplete — fast and fully offline.
Wikipedia Search API
SearchBy APIHiver · Updated 1w ago
Search Wikipedia in 300+ languages, get article summaries with images, 'on this day' events, random articles and autocomplete.
Countries Info API
DataBy APIHiver · Updated 1w ago
Every country's capital, population, area, currency, calling code, languages, continent and neighbours — by code, name or currency.
Books API
EducationBy APIHiver · Updated 1w ago
Search millions of books by title, author or subject, look up any ISBN, and find authors — powered by Open Library.
Endpoints
4 endpoints — full list is in the sidebar on larger screens.