POST
/
html_reader
curl --request POST \
  --url https://html-reader-api.starkai.io/html_reader \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "html_content": "<!DOCTYPE html><html><head><title>Sample</title></head><body><h1>Hello World</h1><p>This is a paragraph.</p></body></html>"
}'
{
  "status": true,
  "message": "Successfully converted html content to markdown.",
  "data": {
    "markdown_content": "# Hello World\n\nThis is a paragraph."
  }
}
Check our Documention Page to create a new API Key

Authorizations

X-Api-Key
string
header
required

API Key for authentication

Body

application/json

HTML content to convert to markdown

The body is of type object.

Response

200
application/json

HTML content successfully converted to markdown

The response is of type object.