Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Hacker News · search

Hacker News Search

Search Hacker News stories or comments by keyword and see title, link, author, points and comment count for each match.

  • $0.0015 per run
  • Data langsung
  • Tanpa akun Hacker News
  • JSON mentah disertakan

Hacker News · search

Hasil berperingkat dengan angka

Setiap hasil dengan judul, tautan, penulis, tanggal, dan engagement-nya, plus total dan median di seluruh daftar. Setiap run juga mengembalikan respons API mentah dan ekspor JSON.

Cara kerjanya

  1. 01

    Choose a keyword and type

    Enter up to 100 characters in Keyword, such as a product, library or phrase. Under Type, pick Stories, Comments or Everything. A blank keyword or one that is too long is caught before the search runs, so no call is made for invalid input.

  2. 02

    Query hacker-news/search

    SandBase sends your keyword as query to hacker-news/search. Stories and Comments set the tags filter to story or comment; Everything leaves tags out. The search is billed to your SandBase account, so sign in first. No Hacker News account is needed for any of it.

  3. 03

    Scan points, comments and links

    Each result lists title, link, author, time, points and comment count. The summary gives the result count with totals and medians of points and comments. Open a link to read the thread on Hacker News, or expand the raw API response to verify a number.

Siapa yang menggunakannya

  • Founders

    Find past launches and how they landed.

  • Developers

    Read the discussion around a tool.

  • Marketers

    See which titles earn points.

Hacker News data dengan API

Tool ini memanggil satu API SandBase. Panggil API yang sama dari kode Anda atau Agent dengan kunci SandBase Anda, ditagihkan per panggilan ($0.0015 harga daftar).

cURL

curl -X POST https://api.sandbase.ai/v1/api/hacker-news/search \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "local-first software",
  "tags": "story"
}'

FAQ

Does Hacker News Search include old threads?

Yes. Hacker News Search covers the full Hacker News archive, not just the current front page, so past launches and old discussions show up.

What are points in Hacker News Search results?

Points are upvotes minus a few adjustments; they decide a story's place on the Hacker News front page. Hacker News Search shows them next to the comment count.

Can Hacker News Search find comments instead of stories?

Yes. Set Type to Comments to search comment text, or Everything to mix stories and comments in one list.

Do I need a Hacker News account for Hacker News Search?

No. Hacker News Search only reads public data, so a SandBase account is all you need.

Can I query Hacker News with the hacker-news/search API?

Yes. Call POST /v1/api/hacker-news/search with your SandBase API key, passing query and an optional tags value. See the request example on the page.

How much does Hacker News Search cost per run?

Each search makes one hacker-news/search call, billed to your SandBase account. Look at the price on the page or run `sandbase inspect hacker-news/search` before you search. Plans: https://www.sandbase.ai/pricing.