Menu

Sources

Tech discussion

Technology links and the comment threads around them.

Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)

Text
"sources": ["hn"]

The hn source is technology discussion: shared links and the comment threads around them, from the last 30 days. Every result carries a date, and may carry a score and a comment count.

Good for

Not the place for

What a result carries

Every result has the same fields whatever the source; the Search reference lists them. What differs is which of them are filled in:

FieldIn this source
published_dateSet on every result.
page_type, topicnull.
popularityUsually unknown: the result is a thread, not a site.
signals (with explain)null values. why still explains the position.
extrakind (tech-news), author, points, comments, and links_to when the thread is about a link.

The extra keys are what this source returns today. Treat every one of them as optional: read it if it is there.

Example queries

Ten threads with their date, score and comment count:

Example
Shell
curl https://api.millionshort.com/v1/search \
  -H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "open source licensing",
    "sources": ["hn"],
    "num_results": 10
  }'

Combine it with

web for the documentation or post under discussion, academic when the thread is about a paper. One call can ask up to five sources and returns one merged list; each result says which source it came from in source. See Mixture of Experts.

Cost and limits

A search of this source costs 1 credit, like every source, and covers the first 10 results of the call. It is one of the heavy sources: each plan has a lower per-minute limit for searches that include it. Credits and limits has the numbers.

With Monitor, a query monitor can watch this source, with a shortest interval of 15 minutes (5 on Scale and above).

This page as Markdown ยท llms.txt