Menu

Reference

Sources

The sources you can search, and the page types and topics you can filter by.

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

Text
GET https://api.millionshort.com/v1/sources

Returns the source slugs that sources accepts in a search, how fresh each source is, which filters each source applies, and the values that page_types, topics, traffic_trend and popularity_buckets accept. The call is free. It needs an API key.

The sources

SlugWhat it containsHeavy
webThe general web: Billions+ pages on our own independent index.Yes
newsNews articles, refreshed through the day.
smallwebPersonal sites, blogs and small independent publishers.Yes
discussionsForum threads and community conversations in one search.Yes
hnTechnology links and the comment threads around them.Yes
socialRecent public posts from open social networks.Yes
communitiesPublic chat communities, by name, topic and size.
podcastsPodcast shows and episodes.
academicScholarly papers and preprints.
medicalBiomedical and clinical literature.
lawStatutes, regulations and court opinions (United States).
financePublic-company filings and disclosures.
contractsGovernment contract opportunities and awards.

One search can cover up to five of these. "Heavy" sources have their own per-minute limit on each plan; see Credits and limits.

The table above is a guide. The response of GET /v1/sources is the authority: read the list from there if your code depends on it.

Request

Example
Shell
curl https://api.millionshort.com/v1/sources \
  -H "Authorization: Bearer $MILLIONSHORT_API_KEY"

Response

data holds these lists:

FieldTypeNotes
sourcesarray of objects
page_typesarray of objects
topicsarray of objects
traffic_trendsarray of objectsThe values traffic_trend accepts.
popularity_bucketsarray of top-100, top-1k, top-10k, top-100k, top-1m, long-tailThe values popularity_buckets accepts.

A source has a slug, a one-line description, its freshness and the filters it applies. A page type, a topic or a traffic trend has a slug and a label.

freshness:

FieldTypeNotes
cadenceminutes, hourly, twice_daily, daily, weekly, snapshotHow often new material arrives.
descriptionstring
captured_fromstringSnapshot sources: the first day its pages were captured.
captured_tostringSnapshot sources: the last day its pages were captured.

filters is the list of search request fields the source applies. A filter you send to a source that does not list it is not applied to that source's results, and the search response says so in a filter_not_applied warning.

JSON
{
  "data": {
    "sources": [
      {
        "slug": "web",
        "description": "...",
        "freshness": { "cadence": "snapshot", "description": "...", "captured_from": "2026-01-05", "captured_to": "2026-03-20" },
        "filters": ["include_domains", "exclude_domains", "language", "country", "page_types", "topics", "include_content"]
      },
      {
        "slug": "news",
        "description": "...",
        "freshness": { "cadence": "hourly", "description": "New articles arrive every hour." },
        "filters": ["include_domains", "exclude_domains", "start_date", "end_date", "language", "country", "page_types", "topics", "include_content"]
      }
    ],
    "page_types": [
      { "slug": "articles", "label": "Article" },
      { "slug": "documentation", "label": "Documentation" },
      { "slug": "tutorials", "label": "Tutorial" }
    ],
    "topics": [
      { "slug": "programming", "label": "Programming" },
      { "slug": "science", "label": "Science" }
    ],
    "traffic_trends": [
      { "slug": "rising", "label": "Visits to the site are growing" }
    ],
    "popularity_buckets": ["top-100", "top-1k", "top-10k", "top-100k", "top-1m", "long-tail"]
  },
  "usage": { "credits": 0, "cost_usd": 0, "breakdown": {} },
  "request_id": "req_..."
}

The lists above are cut short, the filters lists too: the real ones also name the site filters and the exclude, boost and bury lists. Pass a page-type or topic slug to a search to keep only matching results:

Example
Shell
curl https://api.millionshort.com/v1/search \
  -H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "query": "memory safety", "page_types": ["documentation"], "topics": ["programming"] }'

With the SDKs and MCP

Example
Python
import os

from millionshort import MillionShort

client = MillionShort(api_key=os.environ["MILLIONSHORT_API_KEY"])

catalog = client.list_sources()
for source in catalog.sources:
    print(source["slug"], source["description"])

Over MCP the same list is the list_sources tool. Without a key the tool still answers, with the names of the sources only.

This page as Markdown ยท llms.txt