Sources
Web
The general web: Billions+ pages on our own independent index.
Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)
"sources": ["web"]The web source is the general web, Billions+ pages on our own independent index. It is the default: a search that names no source asks web. It is also where the popularity cut matters most, because the most popular sites take most of the first page for most queries.
Good for
- General questions where you do not know in advance what kind of site holds the answer.
- Reaching the long tail: set
remove_top_sitesand what is left is the sites below the ones everybody already knows. - Narrowing by kind of page (
page_types: tutorials, documentation, reviews, forums and so on) or bytopics. - Checking what the well-known sites say, with
only_top_sites.
Not the place for
- Anything from the last few days. The web source is refreshed periodically, not continuously, and its results carry no date, so a date filter is not applied to this source. Add
news,socialorhnto the same call. - Papers, filings, statutes and contract notices. The specialist sources know their fields;
webonly knows pages.
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 | Always null. Web results carry no date. |
page_type, topic | Set on almost every result. |
popularity | Set on every result. This is the source where the rank spreads widest, from top-100 to long-tail. |
signals (with explain) | text_rank, link_authority and words are all set. |
extra | Usually empty. |
The extra keys are what this source returns today. Treat every one of them as optional: read it if it is there.
Example queries
restoring a cast iron skilletmechanical watch servicing intervalshow to season a carbon steel pan
The web without its 10,000 most popular sites, tutorials and blogs only:
curl https://api.millionshort.com/v1/search \
-H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "restoring a cast iron skillet",
"remove_top_sites": 10000,
"page_types": ["tutorials", "blogs"]
}'import os
from millionshort import MillionShort
client = MillionShort(api_key=os.environ["MILLIONSHORT_API_KEY"])
r = client.search(
"restoring a cast iron skillet",
remove_top_sites=10000,
page_types=["tutorials", "blogs"],
)
for hit in r.results:
print(hit["position"], hit["site"], hit["popularity"]["bucket"], 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('restoring a cast iron skillet', {
removeTopSites: 10000,
pageTypes: ['tutorials', 'blogs'],
});
for (const hit of r.results) {
console.log(hit.position, hit.site, hit.popularity.bucket, 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": "restoring a cast iron skillet",
"remove_top_sites": 10000,
"page_types": [
"tutorials",
"blogs"
]
}
}
}Combine it with
smallweb for personal sites, discussions for what people say about it, news for what happened this week. 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, query monitors are not offered on this source; watch a page with a URL monitor instead.