Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Parse an uploaded HTML file into markdown.

Сервер:https://openapi.felo.ai
Клиентские библиотеки

Firecrawl

​

Search, scrape, map, file parsing and asynchronous crawling.

Firecrawl Операции

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.

Тело
обязательно
application/json
Ответы
  • 200
    Тип: object

    Parse completed successfully.

    • creditsUsed
      Тип: integer

      Firecrawl credits consumed (1).

    • data
      Тип: object
      • markdown
        Тип: string

        The parsed content in markdown.

    • success
      Тип: boolean

      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.

Request Example for post/v1/beta/firecrawl/parse
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
}
Parse an uploaded HTML file into markdown.