Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

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 за запуск
  • Актуальные данные
  • Без аккаунта Hacker News
  • Включен необработанный JSON

Hacker News · search

Ранжированные результаты с числами

Каждый результат с заголовком, ссылкой, автором, датой и вовлечённостью, а также с итогами и медианами по всему списку. Каждый запуск также возвращает необработанный ответ API и экспорт JSON.

Как это работает

  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.

Кто этим пользуется

  • Founders

    Find past launches and how they landed.

  • Developers

    Read the discussion around a tool.

  • Marketers

    See which titles earn points.

Данные Hacker News через API

Этот инструмент вызывает один SandBase API. Вызывайте тот же API из вашего кода или Agent с вашим ключом SandBase, оплата за каждый вызов ($0.0015 по прайс-листу).

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.