{"uid":"cap_iFSbqy5viyWLY4BxRJZvw","slug":"agent-tools-uk-ocr-a5f30ce5","name":"Agent Tools UK OCR","description":"Read the text from a photo, screenshot, scan or scanned PDF (OCR). If the PDF already has real text, that is returned instead (faster and exact). Use when text is only available as an image: receipts, letters, forms, signs. Send {url} or {base64}, optional lang (default eng, e.g. eng+fra). Max 20 MB, 20 pages. Returns {text, method, pages}. Errors: 400 bad input, 413 too large.","url":"https://agent-tools-production-e6aa.up.railway.app/v1/ocr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public URL of the file. Provide url OR base64."},"lang":{"type":"string","description":"Tesseract language code(s), e.g. eng or eng+fra"},"base64":{"type":"string","description":"File contents, base64-encoded (max 20 MB). Provide url OR base64."}}},"responseSchema":null,"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_6LFQyfzXDD0lihVxfNWUe","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 text from images, screenshots, scans, and scanned PDFs using OCR, or returns embedded text from native PDFs directly","exampleAgentPrompt":"Can you read all the text from this scanned receipt image for me? Here's the URL: https://example.com/receipt.jpg — it's in English.","exampleUseCases":[{"title":"Digitising a scanned paper invoice","prompt":"I've got a scanned invoice as a PNG at https://example.com/invoice_scan.png — can you extract all the text from it so I can pull out the line items and total?"},{"title":"Reading a photo of a handwritten form","prompt":"I took a photo of a handwritten form and uploaded it here: https://example.com/form_photo.jpg — can you OCR it and give me the text? It's in English."},{"title":"Extracting text from a multilingual scanned letter","prompt":"I have a scanned PDF at https://example.com/letter.pdf that contains both English and French text — can you read all the text from it using eng+fra language settings?"}],"resultDescription":"Returns a JSON object with: `text` (the full extracted text string), `method` (either 'ocr' if Tesseract was used on an image or scanned PDF, or 'native' if the PDF already contained real embedded text), and `pages` (the number of pages processed).","failureModes":["400 Bad Request — neither `url` nor `base64` was provided, or both were provided simultaneously, or the file format is unsupported","413 Payload Too Large — the file exceeds the 20 MB size limit or the PDF exceeds 20 pages","URL unreachable — the provided URL is not publicly accessible or returns an error","Poor OCR quality — heavily degraded, blurry, or low-resolution images may produce garbled or incomplete text output","Unsupported language code — an invalid Tesseract language code will cause a processing error"],"whenToPreferThis":"Choose this endpoint when you need to extract text from image-based documents such as photos, screenshots, scanned letters, receipts, or forms where the text is not machine-readable. It is also optimal for scanned PDFs where embedded text is absent. Prefer this over native PDF text extractors when the source document is image-only. The endpoint automatically detects native PDF text and returns it directly (faster and exact), so it works well even when you are unsure whether a PDF is scanned or native.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:34:51.452Z","isFirstParty":false,"canonicalSlug":"agent-tools-uk-ocr-a5f30ce5"}