Skip to content
Browse all functions

OCR Image – Extract Text from Image

images/ocrimage

ocrimage (OCR Image – Extract Text from Image) is a 1001fx API function in the group Images: POST https://api.1001fx.com/images/ocrimage, 6 credits per item. It works as a ready-made module in Make or as a plain HTTP call.

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
multipart/form-data

Parameters

  • filefileoptional

    The image to read. Either file or fileUrl.

  • fileUrlstringoptional

    Public URL of the image. Either file or fileUrl.

    Example:
    https://api.1001fx.com/testdata/receipt.png
  • outputFormatenumoptional

    markdown (default) keeps headings and tables; text is plain text.

    Values:
    markdown
    text
    Default:
    markdown
  • tableFormatenumoptional

    inline (default): tables as Markdown in the text; markdown or html: tables separately in pages[].tables.

    Values:
    inline
    markdown
    html
    Default:
    inline
  • extractHeaderFooterbooleanoptional

    Return page headers and footers separately instead of in the text.

    Default:
    false
  • extractImagesenumoptional

    urls (default): photos and figures as download links (48 h) in the text and in pages[].images; base64: inline; none: left out.

    Values:
    urls
    none
    base64
    Default:
    urls
  • describeImagesbooleanoptional

    Adds a short description of every image, chart and figure. Costs 18 instead of 6 credits per page.

    Default:
    false

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'

Step-by-step guides

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