POST
/
pdf_magic_reader
curl --request POST \
  --url https://pdf-reader-api.starkai.io/pdf_magic_reader \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-Api-Key: <api-key>'
{
  "status": true,
  "message": "PDF processed successfully",
  "data": {
    "markdown_content": "# Document Title\n\nThis is the extracted PDF content..."
  }
}
Check our Documention Page to create a new API Key

Authorizations

X-Api-Key
string
header
required

API Key for authentication

Body

multipart/form-data

PDF file to extract content from

The body is of type object.

Response

200
application/json

PDF content successfully extracted and converted to markdown

The response is of type object.