Skip to content
Browse all functions

OCR DOCX – Word to Markdown

files/ocrdocx

Converts a Word document (DOCX) into 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/ocrdocx
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json (no body)

Parameters

This function has no parameters.

Examples

OCR DOCX

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/word.docx",
  "pages": "1",
  "outputFormat": "markdown"
}

Output · HTTP 200

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

Try ocrdocx now

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

Changelog

  • 1.0.001.11.2026created