Menu

Search

Topics and page types

Keep pages by what they are about and by what kind of page they are. 24 topics and 23 page types.

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

Almost every page in the web source carries two labels: a topic, what it is about, and a page type, what kind of page it is. A search can keep pages by either or both.

Text
"topics": ["food"],
"page_types": ["forums", "comments"]

Both fields are lists. Within a list, a page needs to match any one entry. Across the two, it needs to match both: the request above keeps forum or comment pages about food. Both are free.

Each has three more forms, with the same slugs:

ToPage typesTopics
Keep onlypage_typestopics
Never returnexclude_page_typesexclude_topics
Move ahead of the restboost_page_typesboost_topics
Move to the endbury_page_typesbury_topics
Text
"boost_page_types": ["forums", "comments"],
"exclude_page_types": ["products", "listicles"],
"exclude_topics": ["adult"]

A slug cannot be in both the keep list and the exclude list of the same kind: that is a 400.

The same two labels come back on every page Extract returns and on every Monitor event, with a confidence and a source_hint, so an agent can filter and route a page it fetched the way it filters a page it found.

Page types

SlugLabel
articlesArticle
blogsBlog
commentsComments
companiesCompany page
creative-writingCreative writing
dataData
directoriesDirectory
documentationDocumentation
faqsFAQ
forumsForum
legalLegal notices
listiclesListicle
newsNews
press-releasesPress release
productsProduct
profilesProfile
referenceReference
researchResearch
reviewsReview
spamSpam & ads
supportSupport
transcriptsTranscript
tutorialsTutorial

Topics

SlugLabel
adultAdult
artArt & design
businessBusiness & finance
educationEducation
entertainmentEntertainment
fashionFashion & beauty
foodFood
gamesGames
hardwareHardware
healthHealth
historyHistory
homeHome & hobbies
industryIndustry
lawLaw
literatureLiterature
politicsPolitics
programmingProgramming
religionReligion
scienceScience
social-lifeSocial life
softwareSoftware
sportsSports
transportTransport
travelTravel

The lists above are the ones the API serves today. A program should read them from GET /v1/sources, which is free, or from the list_sources tool over MCP, so it follows any change. A slug that is not on the list is a 400 INVALID_PARAM.

Example

Forum and comment pages about food:

Example
Shell
curl https://api.millionshort.com/v1/search \
  -H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "sourdough starter",
    "page_types": ["forums", "comments"],
    "topics": ["food"],
    "num_results": 10
  }'

Every result says what it is: page_type and topic hold the slugs.

Things to know

Agent recipes

The agent wantspage_typesAlso set
What practitioners sayforums, commentsremove_top_sites: 10000
How to do somethingtutorials, documentation, faqs
Independent opinion on a productreviews, blogs, forumsremove_top_sites: 1000
The primary recordresearch, data, legal, press-releases
Who a company iscompanies, profiles
Long-form readingarticles, blogs, creative-writingtopics for the subject
The words that were spokentranscripts

To study low-quality pages on purpose, spam is a page type like any other. Leave it out of every other request simply by naming the types you want.

This page as Markdown ยท llms.txt