zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Search Tools/Hacker News
Logo Hacker News

Hacker News

Hacker News search via Algolia API — pencarian post & komentar tech/startup community dengan points, comments, author.

Endpoints
1
Requests
48
Updated
3 months ago
For LLMs
llms.txt
Endpoint health15 hours ago
  • searchslow, 2.8s
1/1 passingdaily 01:00 WIB

Playground

1 endpoint
GET/v1/search-tools:hackernews/search3m cache2 paramschecking key…
Parameters
querystringrequired

Search keyword

pagenumber

Result page (default 1, max 50)

·
Response
EXAMPLE
{
  "page": 1,
  "count": 15,
  "items": [
    {
      "url": "https://blog.discordapp.com/why-discord-is-switching-from-go-to-rust-a190bbca2b1f",
      "hnUrl": "https://news.ycombinator.com/item?id=22238335",
      "title": "Why Discord is switching from Go to Rust",
      "author": "Sikul",
      "points": 1582,
      "source": "news.ycombinator.com",
      "comments": 642,
      "createdAt": "2020-02-04T17:30:40Z"
    },
    {
      "url": "https://loglog.games/blog/leaving-rust-gamedev/",
      "hnUrl": "https://news.ycombinator.com/item?id=40172033",
      "title": "Leaving Rust gamedev after 3 years",
      "author": "darthdeus",
      "points": 1484,
      "source": "news.ycombinator.com",
      "comments": 972,
      "createdAt": "2024-04-26T17:33:56Z"
    },
    {
      "url": "https://fasterthanli.me/articles/a-half-hour-to-learn-rust",
      "hnUrl": "https://news.ycombinator.com/item?id=25610741",
      "title": "A half-hour to learn Rust",
      "author": "selvan",
      "points": 1444,
      "source": "news.ycombinator.com",
      "comments": 330,
      "createdAt": "2021-01-02T05:50:39Z"
    },
    {
      "url": "http://blog.rust-lang.org/2015/05/15/Rust-1.0.html",
      "hnUrl": "https://news.ycombinator.com/item?id=9551937",
      "title": "Announcing Rust 1.0",
      "author": "jhund",
      "points": 1363,
      "source": "news.ycombinator.com",
      "comments": 306,
      "createdAt": "2015-05-15T17:02:09Z"
    },
    {
      "url": "https://github.com/citybound/citybound",
      "hnUrl": "https://news.ycombinator.com/item?id=19583384",
      "title": "CityBound – An open source city simulation game in Rust",
      "author": "formalsystem",
      "points": 1340,
      "source": "news.ycombinator.com",
      "comments": 264,
      "createdAt": "2019-04-05T15:18:45Z"
    },
    {
      "url": "https://sandspiel.club/",
      "hnUrl": "https://news.ycombinator.com/item?id=18696291",
      "title": "Sandspiel – A falling sand game built in Rust and WebGL",
      "author": "15DCFA8F",
      "points": 1323,
      "source": "news.ycombinator.com",
      "comments": 185,
      "createdAt": "2018-12-17T01:18:18Z"
    },
    {
      "url": "https://ladybird.org/posts/adopting-rust/",
      "hnUrl": "https://news.ycombinator.com/item?id=47120899",
      "title": "Ladybird adopts Rust, with help from AI",
      "author": "adius",
      "points": 1274,
      "source": "news.ycombinator.com",
      "comments": 698,
      "createdAt": "2026-02-23T11:29:22Z"
    },
    {
      "url": "https://words.steveklabnik.com/a-sad-day-for-rust",
      "hnUrl": "https://news.ycombinator.com/item?id=22075076",
      "title": "A Sad Day for Rust",
      "author": "pjmlp",
      "points": 1243,
      "source": "news.ycombinator.com",
      "comments": 991,
      "createdAt": "2020-01-17T14:57:28Z"
    }
  ],
  "total": 620288,
  "hasMore": true,
  "nextPage": 2
}

Code examples

Search
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("search-tools:hackernews", "search", {
  "query": "python",
  "page": 1
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/search-tools:hackernews/search?query=python&page=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

1 endpoint · plain text
GETSearch/v1/search-tools:hackernews/searchCari hasil pencarian berdasarkan keyword dengan pagination.

Parameters

querystringrequired
Search keyword
pagenumberoptional
Result page (default 1, max 50)

Request

curl -X GET "https://api.zpi.web.id/v1/search-tools:hackernews/search?query=python&page=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "page": 1,
  "count": 15,
  "items": [
    {
      "url": "https://blog.discordapp.com/why-discord-is-switching-from-go-to-rust-a190bbca2b1f",
      "hnUrl": "https://news.ycombinator.com/item?id=22238335",
      "title": "Why Discord is switching from Go to Rust",
      "author": "Sikul",
      "points": 1582,
      "source": "news.ycombinator.com",
      "comments": 642,
      "createdAt": "2020-02-04T17:30:40Z"
    },
    {
      "url": "https://loglog.games/blog/leaving-rust-gamedev/",
      "hnUrl": "https://news.ycombinator.com/item?id=40172033",
      "title": "Leaving Rust gamedev after 3 years",
      "author": "darthdeus",
      "points": 1484,
      "source": "news.ycombinator.com",
      "comments": 972,
      "createdAt": "2024-04-26T17:33:56Z"
    },
    {
      "url": "https://fasterthanli.me/articles/a-half-hour-to-learn-rust",
      "hnUrl": "https://news.ycombinator.com/item?id=25610741",
      "title": "A half-hour to learn Rust",
      "author": "selvan",
      "points": 1444,
      "source": "news.ycombinator.com",
      "comments": 330,
      "createdAt": "2021-01-02T05:50:39Z"
    },
    {
      "url": "http://blog.rust-lang.org/2015/05/15/Rust-1.0.html",
      "hnUrl": "https://news.ycombinator.com/item?id=9551937",
      "title": "Announcing Rust 1.0",
      "author": "jhund",
      "points": 1363,
      "source": "news.ycombinator.com",
      "comments": 306,
      "createdAt": "2015-05-15T17:02:09Z"
    },
    {
      "url": "https://github.com/citybound/citybound",
      "hnUrl": "https://news.ycombinator.com/item?id=19583384",
      "title": "CityBound – An open source city simulation game in Rust",
      "author": "formalsystem",
      "points": 1340,
      "source": "news.ycombinator.com",
      "comments": 264,
      "createdAt": "2019-04-05T15:18:45Z"
    },
    {
      "url": "https://sandspiel.club/",
      "hnUrl": "https://news.ycombinator.com/item?id=18696291",
      "title": "Sandspiel – A falling sand game built in Rust and WebGL",
      "author": "15DCFA8F",
      "points": 1323,
      "source": "news.ycombinator.com",
      "comments": 185,
      "createdAt": "2018-12-17T01:18:18Z"
    },
    {
      "url": "https://ladybird.org/posts/adopting-rust/",
      "hnUrl": "https://news.ycombinator.com/item?id=47120899",
      "title": "Ladybird adopts Rust, with help from AI",
      "author": "adius",
      "points": 1274,
      "source": "news.ycombinator.com",
      "comments": 698,
      "createdAt": "2026-02-23T11:29:22Z"
    },
    {
      "url": "https://words.steveklabnik.com/a-sad-day-for-rust",
      "hnUrl": "https://news.ycombinator.com/item?id=22075076",
      "title": "A Sad Day for Rust",
      "author": "pjmlp",
      "points": 1243,
      "source": "news.ycombinator.com",
      "comments": 991,
      "createdAt": "2020-01-17T14:57:28Z"
    }
  ],
  "total": 620288,
  "hasMore": true,
  "nextPage": 2
}

Related APIs

More in search-tools

Brave Search

search-tools/brave

Web search via Brave — datacenter-friendly, no captcha, real-time dengan title/URL/snippet.

5K calls·1h cache

Bing Search

search-tools/bing

Bing Search. pencarian web lengkap, snippet, link, multi-bahasa dan region

5.5K calls·1h cache

DuckDuckGo

search-tools/duckduckgo

DuckDuckGo web search — privacy-focused search engine, no tracking, hasil pencarian web umum dengan title, URL, snippet.

771 calls·15m cache

GitHub Search

search-tools/github-code

Searches public code and repositories and returns matching file or repo metadata.

58 calls·5m cache

Wikipedia

search-tools/wikipedia

Wikipedia search — pencarian artikel ensiklopedia multi-bahasa (en/id) dengan title, snippet, URL halaman.

51 calls·3m cache

Stack Overflow

search-tools/stackoverflow

Stack Overflow & Stack Exchange search — Q&A programming dengan tags, score, view count. Support stackoverflow/superuser/serverfault/askubuntu.

37 calls·3m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026