Skip to content
Browse all functions

OCR PDF – Extract Text from PDF

files/ocrpdf

Reads the text of a PDF – also scanned PDFs – as Markdown or plain text, with tables, headings and embedded images. Works with scanned documents, photos, tables and handwriting. Processed in the EU by Mistral AI (no training on your data). Charged per page (6 credits), at most 8 pages per call.

Endpoint

POSThttps://api.1001fx.com/files/ocrpdf
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json (no body)

Parameters

This function has no parameters.

Examples

OCR PDF

One page as Markdown (costs real provider money with test keys – keep examples at one page)

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/3pages.pdf",
  "pages": "1",
  "outputFormat": "markdown"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/files/ocrpdf' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"fileUrl":"https://api.1001fx.com/testdata/3pages.pdf","pages":"1","outputFormat":"markdown"}'

Try ocrpdf now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created