cURL
curl --request POST \ --url https://api.firecrawl.dev/v0/scrape \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "pageOptions": { "headers": {}, "includeHtml": false, "includeRawHtml": false, "onlyIncludeTags": [ "<string>" ], "onlyMainContent": false, "removeTags": [ "<string>" ], "replaceAllPathsWithAbsolutePaths": false, "screenshot": false, "fullPageScreenshot": false, "waitFor": 0 }, "extractorOptions": {}, "timeout": 30000 }'
{ "success": true, "data": { "markdown": "<string>", "content": "<string>", "html": "<string>", "rawHtml": "<string>", "metadata": { "title": "<string>", "description": "<string>", "language": "<string>", "sourceURL": "<string>", "<any other metadata> ": "<string>", "pageStatusCode": 123, "pageError": "<string>" }, "llm_extraction": {}, "warning": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object