Skip to content
onelayer.
All tools

Tool detail

OCR Text Extractor

Extracts plain text from an image supplied as a public URL or base64 data, returning the text, word count and a confidence score.

Categories: Document processing

Use when

  • extract text from a screenshot or scanned document
  • OCR a receipt or sign image to get the text
  • pull text out of a base64-encoded image

Not for

  • not for non-English text, only English is supported
  • not layout or bounding-box data, plain text only

Inputs

POST JSON body: image_url or image_base64 (exactly one, string, both optional); lang (optional, eng only)

Admitted input schema

{
  "type": "object",
  "properties": {
    "image_base64": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "The image encoded as base64 text. Leave this out if you are sending a web address instead."
    },
    "image_url": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "A public web address pointing to the image file. Leave this out if you are sending the image as base64 text instead."
    },
    "lang": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "The language of the text in the image. Only 'eng' (English) is supported at the moment."
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://ocr.underscoredone.com/read

Payment

Protocol
x402
Listed price
0.01 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://ocr.underscoredone.com/read
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z