{"uid":"cap_9TWafuFOTaEOpHDJmFtwG","slug":"ocr-text-extractor-66deaa74","name":"OCR Text Extractor","description":"Send a picture, either as a public web address or as base64-encoded image data, and get back the plain text found inside it.","url":"https://ocr.underscoredone.com/read","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lang":{"type":"string","description":"The language of the text in the image. Only 'eng' (English) is supported at the moment."},"image_url":{"type":"string","description":"A public web address pointing to the image file. Leave this out if you are sending the image as base64 text instead."},"image_base64":{"type":"string","description":"The image encoded as base64 text. Leave this out if you are sending a web address instead."}}},"responseSchema":{"type":"json","example":{"lang":"eng","text":"TOTAL 24.50\nTHANK YOU","source":"image_url","confidence":91.4,"word_count":4,"api_version":"1.0.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5SEcAfNttFr5sXz-RvLOx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts plain text from an image supplied as a public URL or base64-encoded data using optical character recognition.","exampleAgentPrompt":"Can you read the text out of this image for me? Here's the URL: https://example.com/receipt.jpg — it's in English.","exampleUseCases":[{"title":"Extract receipt data for expense reports","prompt":"I've got a photo of a receipt from lunch today. Can you pull out all the text from it so I can add it to my expense report? The image is at https://example.com/photos/lunch_receipt.png."},{"title":"Digitize handwritten notes from whiteboard","prompt":"We took a photo of our meeting notes on the whiteboard. Can you read what's written on it and give me the plain text? Here's the image: https://example.com/meeting_photos/whiteboard_notes.jpg"},{"title":"Convert scanned document to searchable text","prompt":"I have a scanned copy of my contract as a base64-encoded image. Can you extract all the text from it so I can search through the terms? Here's the image data: iVBORw0KGgoAAAANSUhEUgAAAA..."}],"resultDescription":"Returns the plain text content found within the submitted image, extracted via OCR. The response contains the recognized characters and words as a string of text.","failureModes":["Image URL is not publicly accessible or returns a non-image response","base64 data is malformed or corrupted, causing a decode error","image contains no readable text, returning empty or minimal output","unsupported language requested (only 'eng' is currently supported)","image resolution too low for accurate text recognition","payment not included or insufficient, returning 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to extract text from an image file — whether it's a screenshot, scanned document, photo of a sign, or receipt — and you have either a public URL or base64-encoded image data. It is a straightforward, pay-per-call OCR service ideal for agents that need on-demand text extraction without a subscription or complex setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:47.286Z","isFirstParty":false}