{"uid":"cap_bf331hx65jd9VlN6uSWZg","slug":"foundry-ocr-9abf1dee","name":"Foundry OCR","description":"OCR: extract all text from an image URL (photos, screenshots, scans, receipts, invoices) as Markdown; text PDFs read directly. Input: an image or PDF URL.","url":"https://minty-sprout.onrender.com/v1/ocr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"URL of a PNG, JPEG, WebP or text PDF"}}},"responseSchema":{"type":"json","example":{"url":"https://www.base.org/images/base-open-graph-v2.png","text":"base\n\nThe blockchain for global finance.","method":"vision-ocr","characters":38}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RqU5V8hGPmboTYvBELdkN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all text from an image or PDF URL and returns it as Markdown using vision-based OCR","exampleAgentPrompt":"Can you extract all the text from this receipt image for me? Here's the URL: https://example.com/receipt.jpg","exampleUseCases":[{"title":"Digitize scanned invoice","prompt":"I have a scanned invoice image at https://example.com/invoice.png — can you pull out all the text from it so I can see the line items and totals?"},{"title":"Read screenshot of article","prompt":"I took a screenshot of a webpage and saved it at https://mybucket.s3.amazonaws.com/article-screenshot.png — can you extract all the text from it for me?"},{"title":"Parse PDF document content","prompt":"Here's a link to a PDF report: https://example.com/annual-report.pdf — can you read the text out of it and give it to me in a readable format?"}],"resultDescription":"A JSON object containing the original URL, the full extracted text as a Markdown string, the OCR method used (e.g. 'vision-ocr'), and the character count of the extracted text.","failureModes":["Invalid or inaccessible URL returns an error — ensure the URL is publicly reachable","Unsupported file format (e.g. non-text PDF with complex layout) may yield incomplete or empty text","Very large images or PDFs may time out or return partial results","Handwritten or low-resolution images may result in poor OCR accuracy","Non-image, non-PDF URLs will likely return an error or empty text"],"whenToPreferThis":"Choose this endpoint when you need to extract text from a publicly accessible image URL (PNG, JPEG, WebP) or a text-based PDF URL. It is ideal for receipts, invoices, screenshots, scanned documents, and any image containing readable text. Prefer this over general-purpose vision APIs when you need clean Markdown output at a low fixed cost per call ($0.006 USDC) and your source is already hosted at a URL rather than a local file.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:42.755Z","isFirstParty":false,"canonicalSlug":"foundry-ocr-9abf1dee"}