Used to map a URL and get urls of the website. This returns most links present on the website.URLs are primarily discovered from the website’s sitemap, supplemented with SERP (search engine) results and previously crawled pages to improve coverage. You can control sitemap behavior with the sitemap parameter.
SDKs will return the data object directly. cURL will return the payload exactly as shown below.
Copy
{ "success": true, "links": [ { "url": "https://docs.firecrawl.dev/features/scrape", "title": "Scrape | Firecrawl", "description": "Turn any url into clean data" }, { "url": "https://www.firecrawl.dev/blog/5_easy_ways_to_access_glm_4_5", "title": "5 Easy Ways to Access GLM-4.5", "description": "Discover how to access GLM-4.5 models locally, through chat applications, via the official API, and using the LLM marketplaces API for seamless integration i..." }, { "url": "https://www.firecrawl.dev/playground", "title": "Playground - Firecrawl", "description": "Preview the API response and get the code snippets for the API" }, { "url": "https://www.firecrawl.dev/?testId=2a7e0542-077b-4eff-bec7-0130395570d6", "title": "Firecrawl - The Web Data API for AI", "description": "The web crawling, scraping, and search API for AI. Built for scale. Firecrawl delivers the entire internet to AI agents and builders. Clean, structured, and ..." }, { "url": "https://www.firecrawl.dev/?testId=af391f07-ca0e-40d3-8ff2-b1ecf2e3fcde", "title": "Firecrawl - The Web Data API for AI", "description": "The web crawling, scraping, and search API for AI. Built for scale. Firecrawl delivers the entire internet to AI agents and builders. Clean, structured, and ..." }, ... ]}
Title and description are not always present as it depends on the website.
Specify country and preferred languages to get relevant content based on your target location and language preferences, similar to the scrape endpoint.
When you specify the location settings, Firecrawl will use an appropriate proxy if available and emulate the corresponding language and timezone settings. By default, the location is set to ‘US’ if not specified.
This endpoint prioritizes speed, so it may not capture all website links. It primarily relies on the website’s sitemap, supplemented by cached crawl data and search engine results. For a more thorough and up-to-date list of URLs, consider using the /crawl endpoint instead.