ToolAssay

Document tools

Document tools: Text recognition for scans, photos of documents, screenshots and scanned PDFs: the text in reading order, each line with its page, position and confidence. English and other Latin-script text; small or soft images are enlarged first. Full schema: https://rengi.dev/v1/doc-tools/schema

Answeringour last check, 2026-11-26
6 of 6checks answered this week
909 msmedian answer time
$0.03listed price per call
$0.03price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://rengi.dev/v1/doc-tools/ocr

CategoryImage and media
Provider hostrengi.dev
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.03 975 ms
2026-11-25 valid payment request 402$0.03 877 ms
2026-11-24 valid payment request 402$0.03 958 ms
2026-11-23 valid payment request 402$0.03 889 ms
2026-11-22 valid payment request 402$0.03 876 ms
2026-11-21 valid payment request 402$0.03 930 ms

Example input (from the provider)

{
  "body": {
    "imageUrl": "https://rengi.dev/samples/scan.png"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "image": {
              "description": "Image as base64: a scan, a photo of a document, a screenshot (PNG, JPEG, WebP, TIFF).",
              "type": "string"
            },
            "imageUrl": {
              "format": "uri",
              "type": "string"
            },
            "layout": {
              "default": "auto",
              "description": "auto finds columns and paragraphs; single-block for one plain block of text; single-line for a label or a number; sparse for text scattered over a picture (UI, signs).",
              "enum": [
                "auto",
                "single-block",
                "single-line",
                "sparse"
              ],
              "type": "string"
            },
            "minConfidence": {
              "default": 0,
              "description": "Drop lines the engine is less sure of than this (0 to 100).",
              "maximum": 100,
              "minimum": 0,
              "type": "number"
            },
            "pages": {
              "description": "For a PDF: pages to read, like \"1-3\". The first 10 when omitted; up to 15 per call.",
              "maxLength": 100,
              "type": "string"
            },
            "pdf": {
              "description": "Or a scanned PDF as base64: its pages are drawn and read one by one.",
              "type": "string"
            },
            "pdfUrl": {
              "format": "uri",
              "type": "string"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "confidence": {
              "description": "Mean confidence of the kept lines, 0 to 100.",
              "type": "number"
            },
            "file": {
              "type": "string"
            },
            "height": {
              "type": "number"
            },
            "language": {
              "type": "string"
            },
            "lines": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "box": {
                    "additionalProperties": false,
                    "description": "In pixels of the image as sent; for a PDF, in points of the page (1/72 inch), origin top left.",
                    "properties": {
                      "height": {
                        "type": "number"
                      },
                      "width": {
                        "type": "number"
                      },
                      "x": {
                        "type": "number"
                      },
                      "y": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "x",
                      "y",
                      "width",
                      "height"
                    ],
                    "type": "object"
                  },
                  "confidence": {
                    "type": "number"
                  },
                  "page": {
                    "description": "Page of the PDF, 1 for an image.",
                    "type": "number"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "page",
                  "text",
                  "confidence",
                  "box"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "notes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pages": {
              "description": "Pages read.",
              "type": "number"
            },
            "text": {
              "type": "string"
            },
            "width": {
              "type": "number"
            },
            "words": {
              "type": "number"
            }
          },
          "required": [
            "text",
            "confidence",
            "lines",
            "pages",
            "words",
            "file",
            "language",
            "width",
            "height",
            "notes"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON