Send a picture, either as a public web address or as base64-encoded image data, and get ba
Send a picture, either as a public web address or as base64-encoded image data, and get back the plain text found inside it.
10000 (raw units)
price
6
calls / 30d
3
unique payers
2026-09-16
updated
Provider
ocr.underscoredone.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xE9740820225B3918b4ddd1292C7cA4Ca0e2C2F08",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "8ugAWAXDB8V18kiUrGZTq1oMvU3C6Fxs8hfC6rvzQT3b",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"image_url": "https://example.com/receipt.png",
"lang": "eng"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"api_version": "1.0.0",
"confidence": 91.4,
"lang": "eng",
"source": "image_url",
"text": "TOTAL 24.50\nTHANK YOU",
"word_count": 4
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"image_base64": {
"description": "The image encoded as base64 text. Leave this out if you are sending a web address instead.",
"type": "string"
},
"image_url": {
"description": "A public web address pointing to the image file. Leave this out if you are sending the image as base64 text instead.",
"type": "string"
},
"lang": {
"description": "The language of the text in the image. Only 'eng' (English) is supported at the moment.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"api_version": {
"type": "string"
},
"confidence": {
"type": "number"
},
"lang": {
"type": "string"
},
"source": {
"type": "string"
},
"text": {
"type": "string"
},
"word_count": {
"type": "integer"
}
},
"required": [
"api_version",
"text",
"word_count",
"confidence",
"lang",
"source"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://ocr.underscoredone.com/read" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://ocr.underscoredone.com/read");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://ocr.underscoredone.com/read")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3358.json, and this resource appears in /discovery/resources and /discovery/search.