Firecrawl is an API service that takes a URL, crawls it, and converts it into clean markdown. We crawl all accessible subpages and give you clean markdown for each. No sitemap required.
We provide an easy to use API with our hosted version. You can find the playground and documentation here. You can also self host the backend if you’d like.Check out the following resources to get started:
from firecrawl import FirecrawlAppapp = FirecrawlApp(api_key="YOUR_API_KEY")crawl_result = app.crawl_url('docs.firecrawl.dev', {'crawlerOptions': {'excludes': ['blog/*']}})# Get the markdownfor result in crawl_result: print(result['markdown'])
If you are not using the sdk or prefer to use webhook or a different polling method, you can set the wait_until_done to false.
This will return a jobId.For cURL, /crawl will always return a jobId where you can use to check the status of the crawl.
With LLM extraction, you can easily extract structured data from any URL. We support pydantic schemas to make it easier for you too. Here is how you to use it: