Sources
News
News articles, refreshed through the day.
Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)
"sources": ["news"]The news source holds news articles and is refreshed through the day. It is the source to add when the question is about something that just happened, because every result carries the date it was published.
Good for
- What happened: events, announcements, results, decisions.
- Following a subject over days or weeks.
time_range, orstart_dateandend_date, keep the days you want, and you can sort bypublished_datein your own code. - A dated second opinion beside
web, whose results have no date.
Not the place for
- Background and how-to material. That is
webandsmallweb. - Reactions and first-hand accounts. Add
socialordiscussions.
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:
| Field | In this source |
|---|---|
published_date | Set on every result. |
page_type, topic | Set on most results. page_type is usually news or press-releases. |
popularity | Set. News sites are of every size, so remove_top_sites is a quick way to reach local and trade publications. |
signals (with explain) | text_rank, link_authority and words are set. |
extra | publisher, and author when the article names one. |
The extra keys are what this source returns today. Treat every one of them as optional: read it if it is there.
Example queries
central bank interest rate decisionwildfire evacuationelection results
Ten news results, newest first in your own code:
curl https://api.millionshort.com/v1/search \
-H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "central bank interest rate decision",
"sources": ["news"],
"num_results": 10
}'import os
from millionshort import MillionShort
client = MillionShort(api_key=os.environ["MILLIONSHORT_API_KEY"])
r = client.search(
"central bank interest rate decision",
sources=["news"],
num_results=10,
)
for hit in sorted(r.results, key=lambda h: h["published_date"] or "", reverse=True):
print(hit["published_date"], hit["extra"].get("publisher"), hit["title"])
print(r.usage.credits, "credit(s)")import { MillionShort } from 'millionshort';
const client = new MillionShort({ apiKey: process.env.MILLIONSHORT_API_KEY });
const r = await client.search('central bank interest rate decision', {
sources: ['news'],
numResults: 10,
});
const newestFirst = [...r.results].sort((a, b) => (b.published_date ?? '').localeCompare(a.published_date ?? ''));
for (const hit of newestFirst) {
console.log(hit.published_date, hit.extra.publisher, hit.title);
}
console.log(r.usage?.credits, 'credit(s)');The same call as a tool of the MCP server:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search",
"arguments": {
"query": "central bank interest rate decision",
"sources": [
"news"
],
"num_results": 10
}
}
}Combine it with
web for background, social for reactions, finance when the story is about a public company. 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 not one of the heavy sources, so only the plan's ordinary requests-per-minute limit applies. Credits and limits has the numbers.
With Monitor, a query monitor can watch this source, with a shortest interval of 1 hour.