Introducing /map

The easiest way to go from a single URL to a list of the URLs on its website. This is useful when:
  • You need to choose which pages to scrape or crawl
  • You need to find the one page about a topic, like a pricing or API page
  • You need a list of a site’s pages, with their titles and descriptions
For details, see the Map Endpoint API Reference.

Mapping

/map endpoint

Used to map a URL and get the URLs of the website. Each link comes with its title and, when the site has one, its description.

Installation

Usage

Response

SDKs return the data object directly. cURL returns the payload exactly as shown below.
Response
Add search to order the URLs by how relevant they are to it. The most relevant page comes first.
cURL
Response

Considerations

  • A map costs 1 credit, whatever the number of URLs.
  • limit sets the most URLs to return.
  • Map lists URLs without reading the pages. To read them, pass the ones you want to Scrape, or Crawl the site.