Skip to content
Browse all functions

OCR Image – Extract Text from Image

images/ocrimage

Reads the text in an image (photo, scan, screenshot; PNG, JPEG, WebP, AVIF) as Markdown or plain text, with tables. 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/images/ocrimage
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json (no body)

Parameters

This function has no parameters.

Examples

OCR Image

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/receipt.png",
  "outputFormat": "markdown"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/images/ocrimage' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"fileUrl":"https://api.1001fx.com/testdata/receipt.png","outputFormat":"markdown"}'

Try ocrimage now

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

Changelog

  • 1.0.001.11.2026created