Parse an uploaded HTML file into markdown.
Firecrawl
Search, scrape, map, file parsing and asynchronous crawling.
Parse an uploaded HTML file into markdown.
Parse an uploaded HTML file into Markdown. Send multipart/form-data with file and options. The file must have a text/html content type or an .html/.htm filename. options is a JSON string that must set proxy to basic and may set formats to ["markdown"]. The options field is limited to 64 KB. The response contains success and data.markdown.
- Тип: object200
Parse completed successfully.
- Тип: integercredits
Used Firecrawl credits consumed (1).
- Тип: objectdata
- markdownТип: string
The parsed content in markdown.
- Тип: booleansuccess
True when the parse succeeded.
application/json - 400
The request could not be processed. Check the request parameters.
- 401
A valid Felo API key is required.
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
A request or spending limit has been reached.
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl https://openapi.felo.ai/v1/beta/firecrawl/parse \
--request POST \
--header 'Content-Type: multipart/form-data' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--form 'file=@filename' \
--form 'options={"proxy":"basic","formats":["markdown"]}'
{
"success": true,
"data": {
"markdown": "string"
},
"creditsUsed": 1
}