Menu

Get started

The endpoints

Six endpoints, one key. Search, Extract, Monitor, Map (with Crawl), Places and Agent are all available.

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

MillionShort is built around six endpoints. Crawl is the job form of Map and has a section of its own. They share one key, one credit balance, one error shape and one answer envelope, so learning one teaches you the rest. These docs have a section for each, and every section has the same parts in the same order: an overview, a quickstart, the parameters, guides, pricing and limits, and errors.

EndpointWhat it doesStage
SearchOne ranked list from one to five of our 13 sources, with filters other search APIs do not haveAvailable
ExtractURLs in, each page back as clean text an agent can readAvailable
MonitorWatch a search or a page and be told only when something changedAvailable
Map, with CrawlThe addresses of a site in one call, and with Crawl, its pages as clean text, as a jobAvailable
PlacesBusinesses and points of interest by what they are and where, as dataAvailable
AgentA question in, an answer out in which every statement carries a checked quote from a page the run readAvailable

Search the web and the specialist sources from one call, and say what kind of web you want: remove the most popular sites, keep or leave out kinds of page and topics, steer by site, and read each result's popularity and risk. Start at the Search overview or go straight to the quickstart.

Two smaller calls belong with it: GET /v1/sources lists what a search accepts, and POST /v1/domain returns popularity and risk for any site.

Extract

Give it URLs and get each page back as clean text, with its title, metadata, links and labels that say what the page is. It honours robots.txt, identifies itself to sites, and charges only for pages that succeed. The Extract section has the parameters and the prices. When the copy we hold is enough, a search can return the page text of web and news results itself, with include_content.

Monitor

Save a search or a page, choose an interval, and be told only when something changed: new results for a search, or new text on a page. Events are delivered to a signed webhook or pulled. The Monitor section has the parameters and the prices, and the news monitoring guide shows the job both ways: with a monitor, and with a scheduled search.

Map

Give it a site and get the addresses of its pages in one call, from the site's sitemaps, the links of the page you name and our own index, which adds titles and labels. With Crawl, get the pages themselves as clean text, as a job you poll: every page comes back as an Extract result with its labels. Both fetch the way Extract does: as our declared bot, within robots.txt, politely, and there is no option to ignore robots.txt. The Map section and the Crawl section have the parameters and the prices. To search only the pages of a site that we hold, a search takes include_domains.

Places

Find businesses and points of interest by what they are and where they are: "bike repair near the station", by a place name, a point or a box. Each place comes back as data, with its name, category, address, coordinates, phone number and website. There is no map and there are no tiles. Coverage is worldwide and uneven, opening hours are known for few places, and there are no ratings or reviews. The Places section has the parameters, the coverage and the price. A person can search the same places on the Maps tab of the search site.

Agent

Ask a question and get a written answer assembled from several searches and the pages they lead to, as a job with a spending cap you set. Every statement carries a quote from a page the run read, and a statement whose quote is not in that page is removed. With a JSON Schema the answer comes back as data, with citations per field. It needs a language model at request time, so it is slower than a search, it is metered, and it can be wrong in ways a list of results cannot. The Agent section has the parameters, the prices and the per-run cap of each plan. To assemble cited context for a model of your own instead, the RAG guide shows how.

Building blocks, not endpoints

Not planned for now

Some things other search and web-data APIs offer are not on our list today. We would rather say so than leave you guessing:

If one of these would decide whether you use MillionShort, tell us. It changes what we build next.

This page as Markdown ยท llms.txt