Upload and parse a file
curl --request POST \
--url https://api.firecrawl.dev/v2/parse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'options={
"formats": [
"markdown"
],
"onlyMainContent": true,
"includeTags": [
"<string>"
],
"excludeTags": [
"<string>"
],
"headers": {},
"timeout": 30000,
"parsers": [
"pdf"
],
"skipTlsVerification": true,
"removeBase64Images": true,
"blockAds": true,
"redactPII": false,
"origin": "api",
"integration": "<string>",
"zeroDataRetention": false
}'{
"success": true,
"data": {
"markdown": "<string>",
"summary": "<string>",
"html": "<string>",
"rawHtml": "<string>",
"screenshot": "<string>",
"audio": "<string>",
"video": "<string>",
"answer": "<string>",
"highlights": "<string>",
"links": [
"<string>"
],
"actions": {
"screenshots": [
"<string>"
],
"scrapes": [
{
"url": "<string>",
"html": "<string>"
}
],
"javascriptReturns": [
{
"type": "<string>",
"value": "<unknown>"
}
],
"pdfs": [
"<string>"
]
},
"metadata": {
"title": "<string>",
"description": "<string>",
"language": "<string>",
"sourceURL": "<string>",
"url": "<string>",
"keywords": "<string>",
"ogLocaleAlternate": [
"<string>"
],
"<any other metadata> ": "<string>",
"statusCode": 123,
"contentType": "<string>",
"error": "<string>",
"concurrencyLimited": true,
"concurrencyQueueDurationMs": 123
},
"warning": "<string>",
"changeTracking": {
"previousScrapeAt": "2023-11-07T05:31:56Z",
"diff": "<string>",
"json": {}
},
"branding": {
"logo": "<string>",
"colors": {
"primary": "<string>",
"secondary": "<string>",
"accent": "<string>",
"background": "<string>",
"textPrimary": "<string>",
"textSecondary": "<string>",
"link": "<string>",
"success": "<string>",
"warning": "<string>",
"error": "<string>"
},
"fonts": [
{
"family": "<string>"
}
],
"typography": {
"fontFamilies": {
"primary": "<string>",
"heading": "<string>",
"code": "<string>"
},
"fontSizes": {
"h1": "<string>",
"h2": "<string>",
"h3": "<string>",
"body": "<string>"
},
"fontWeights": {
"light": 123,
"regular": 123,
"medium": 123,
"bold": 123
},
"lineHeights": {
"heading": "<string>",
"body": "<string>"
}
},
"spacing": {
"baseUnit": 123,
"borderRadius": "<string>",
"padding": {},
"margins": {}
},
"components": {
"buttonPrimary": {
"background": "<string>",
"textColor": "<string>",
"borderRadius": "<string>"
},
"buttonSecondary": {
"background": "<string>",
"textColor": "<string>",
"borderColor": "<string>",
"borderRadius": "<string>"
},
"input": {}
},
"icons": {},
"images": {
"logo": "<string>",
"favicon": "<string>",
"ogImage": "<string>"
},
"animations": {},
"layout": {},
"personality": {}
},
"product": {
"title": "<string>",
"url": "<string>",
"variants": [
{
"availability": {
"inStock": true,
"text": "<string>"
},
"id": "<string>",
"sku": "<string>",
"title": "<string>",
"values": {},
"price": {
"amount": 123,
"currency": "<string>",
"formatted": "<string>"
},
"sale": {
"originalPrice": {
"amount": 123,
"currency": "<string>",
"formatted": "<string>"
}
},
"images": [
{
"url": "<string>",
"alt": "<string>"
}
]
}
],
"brand": "<string>",
"category": "<string>",
"description": "<string>"
},
"menu": {
"isMenu": true,
"sections": [
{
"name": "<string>",
"items": [
{
"name": "<string>",
"id": "<string>",
"description": "<string>",
"images": [
{
"url": "<string>",
"alt": "<string>"
}
],
"price": {
"amount": 123,
"currency": "<string>",
"formatted": "<string>"
},
"availability": {
"inStock": true,
"text": "<string>"
},
"dietary": [
"<string>"
],
"calories": 123,
"optionGroups": [
{}
],
"identifiers": {
"merchantItemId": "<string>"
},
"url": "<string>",
"sourceUrl": "<string>"
}
],
"id": "<string>",
"description": "<string>"
}
],
"confidence": 123,
"merchant": {
"name": "<string>",
"type": "<string>"
},
"currency": "<string>",
"sourceUrl": "<string>"
}
}
}Parse Endpoints
Parse
POST
/
parse
Upload and parse a file
curl --request POST \
--url https://api.firecrawl.dev/v2/parse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'options={
"formats": [
"markdown"
],
"onlyMainContent": true,
"includeTags": [
"<string>"
],
"excludeTags": [
"<string>"
],
"headers": {},
"timeout": 30000,
"parsers": [
"pdf"
],
"skipTlsVerification": true,
"removeBase64Images": true,
"blockAds": true,
"redactPII": false,
"origin": "api",
"integration": "<string>",
"zeroDataRetention": false
}'{
"success": true,
"data": {
"markdown": "<string>",
"summary": "<string>",
"html": "<string>",
"rawHtml": "<string>",
"screenshot": "<string>",
"audio": "<string>",
"video": "<string>",
"answer": "<string>",
"highlights": "<string>",
"links": [
"<string>"
],
"actions": {
"screenshots": [
"<string>"
],
"scrapes": [
{
"url": "<string>",
"html": "<string>"
}
],
"javascriptReturns": [
{
"type": "<string>",
"value": "<unknown>"
}
],
"pdfs": [
"<string>"
]
},
"metadata": {
"title": "<string>",
"description": "<string>",
"language": "<string>",
"sourceURL": "<string>",
"url": "<string>",
"keywords": "<string>",
"ogLocaleAlternate": [
"<string>"
],
"<any other metadata> ": "<string>",
"statusCode": 123,
"contentType": "<string>",
"error": "<string>",
"concurrencyLimited": true,
"concurrencyQueueDurationMs": 123
},
"warning": "<string>",
"changeTracking": {
"previousScrapeAt": "2023-11-07T05:31:56Z",
"diff": "<string>",
"json": {}
},
"branding": {
"logo": "<string>",
"colors": {
"primary": "<string>",
"secondary": "<string>",
"accent": "<string>",
"background": "<string>",
"textPrimary": "<string>",
"textSecondary": "<string>",
"link": "<string>",
"success": "<string>",
"warning": "<string>",
"error": "<string>"
},
"fonts": [
{
"family": "<string>"
}
],
"typography": {
"fontFamilies": {
"primary": "<string>",
"heading": "<string>",
"code": "<string>"
},
"fontSizes": {
"h1": "<string>",
"h2": "<string>",
"h3": "<string>",
"body": "<string>"
},
"fontWeights": {
"light": 123,
"regular": 123,
"medium": 123,
"bold": 123
},
"lineHeights": {
"heading": "<string>",
"body": "<string>"
}
},
"spacing": {
"baseUnit": 123,
"borderRadius": "<string>",
"padding": {},
"margins": {}
},
"components": {
"buttonPrimary": {
"background": "<string>",
"textColor": "<string>",
"borderRadius": "<string>"
},
"buttonSecondary": {
"background": "<string>",
"textColor": "<string>",
"borderColor": "<string>",
"borderRadius": "<string>"
},
"input": {}
},
"icons": {},
"images": {
"logo": "<string>",
"favicon": "<string>",
"ogImage": "<string>"
},
"animations": {},
"layout": {},
"personality": {}
},
"product": {
"title": "<string>",
"url": "<string>",
"variants": [
{
"availability": {
"inStock": true,
"text": "<string>"
},
"id": "<string>",
"sku": "<string>",
"title": "<string>",
"values": {},
"price": {
"amount": 123,
"currency": "<string>",
"formatted": "<string>"
},
"sale": {
"originalPrice": {
"amount": 123,
"currency": "<string>",
"formatted": "<string>"
}
},
"images": [
{
"url": "<string>",
"alt": "<string>"
}
]
}
],
"brand": "<string>",
"category": "<string>",
"description": "<string>"
},
"menu": {
"isMenu": true,
"sections": [
{
"name": "<string>",
"items": [
{
"name": "<string>",
"id": "<string>",
"description": "<string>",
"images": [
{
"url": "<string>",
"alt": "<string>"
}
],
"price": {
"amount": 123,
"currency": "<string>",
"formatted": "<string>"
},
"availability": {
"inStock": true,
"text": "<string>"
},
"dietary": [
"<string>"
],
"calories": 123,
"optionGroups": [
{}
],
"identifiers": {
"merchantItemId": "<string>"
},
"url": "<string>",
"sourceUrl": "<string>"
}
],
"id": "<string>",
"description": "<string>"
}
],
"confidence": 123,
"merchant": {
"name": "<string>",
"type": "<string>"
},
"currency": "<string>",
"sourceUrl": "<string>"
}
}
}Upload a local or non-public document and convert it into clean, LLM-ready data. When to use
Use
/parse accepts file bytes via multipart/form-data and returns Markdown, JSON, HTML, links, images, or a summary — with reading order and tables preserved.
- Turn PDF, DOCX, XLSX, HTML, and more into Markdown or structured JSON
- Up to 5x faster parsing via a Rust-based engine
- Files up to 50 MB per request
- Zero Data Retention support
When to use /parse
Use /parse when the source document is a local file or not publicly accessible by URL. If you have a public URL that points to a document, prefer /scrape — it auto-detects the file type from the extension or content type and parses it the same way.
| Source | Endpoint |
|---|---|
Public URL to a document (e.g. https://example.com/report.pdf) | POST /scrape |
| Local file or non-public bytes (PDF, DOCX, XLSX, HTML, …) | POST /parse (this endpoint) |
Using Firecrawl through MCP? Use
firecrawl_parse for local files. Local MCP can read the file directly when configured with FIRECRAWL_API_URL. Remote hosted MCP returns a short-lived upload command first, then parses the returned uploadRef. Public document URLs should still use /scrape.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
⌘I

