{"uid":"cap_JGIXGtP6PlWJWrp8nZ-lt","slug":"fastx402-ocr-image-text-extraction-9539bf16","name":"FastX402 OCR – Image Text Extraction","description":"146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/ocr?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute http(s) URL of a png, jpeg, webp, tiff, bmp or gif image"},"lang":{"enum":["eng","tur","eng+tur"],"type":"string","description":"Language of the text, default eng+tur"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"lang":{"type":"string"},"text":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"lang":"eng","text":"This is a lot of 12 point text to test the\nocr code and see if it works on all types\nof file format."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AV2FHTfes3g9eaXMumyli","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text from a publicly accessible image URL using OCR, supporting English and Turkish languages","exampleAgentPrompt":"Can you read all the text in this image for me? Here's the URL: https://example.com/scan.png — it's in English.","exampleUseCases":[{"title":"Digitize scanned document text","prompt":"I have a scanned receipt at https://mybucket.s3.amazonaws.com/receipt.jpg — can you extract all the text from it so I can search through the line items?"},{"title":"Read text from a screenshot","prompt":"There's a screenshot at https://cdn.example.com/screenshot.png with some error message I can't copy — can you OCR it and tell me what it says?"},{"title":"Extract Turkish text from image","prompt":"I have an image of a Turkish form at https://docs.example.com/form.tiff — please read the text out of it, the language is Turkish."}],"resultDescription":"A JSON object containing the detected language code (e.g. 'eng' or 'tur') and the full extracted text string from the image, with newlines preserved where line breaks were detected.","failureModes":["Image URL is not publicly accessible or returns a non-200 HTTP response","Image format is not one of the supported types (PNG, JPEG, WebP, TIFF, BMP, GIF)","Image contains no discernible text, returning an empty text field","URL parameter is missing, resulting in a validation error","Payment not completed via x402 protocol, resulting in 402 response","Image is too large or the server times out fetching it"],"whenToPreferThis":"Use this endpoint when you need a simple, no-account, pay-per-call OCR solution that works directly from a public image URL without any API key setup. It is ideal for AI agents that need to occasionally extract text from images as part of a workflow, where setting up a full OCR subscription would be overkill. Particularly suited for English and Turkish text. If you need batch processing of many images or support for many additional languages, a dedicated OCR platform may be preferable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:46.021Z","isFirstParty":false,"canonicalSlug":"fastx402-ocr-image-text-extraction-9539bf16"}