{"uid":"cap_6Q1heC3_PpDfl13-iub-c","slug":"radar-image-pdf-ocr-ac126ac0","name":"Radar Image & PDF OCR","description":"Fast tools (web read, domain RDAP/DNS/SSL, Federal Register, clinical trials, OSV vulnerabilities, literature, e-mail auth) and data APIs on official/open data (leads, tenders, SEC filings, VAT, geocoding, aviation...). POST JSON, pay per call in USDC on Base via x402. Charged only when results are returned.","url":"https://2-29-135-242.sslip.io/x402/image-pdf-ocr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"example":["https://www.gutenberg.org/cache/epub/11/pg11.cover.medium.jpg","https://www.gutenberg.org/cache/epub/84/pg84.cover.medium.jpg","https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"],"description":"Direct links to images (png, jpg, webp, tiff, bmp, gif) or PDF files, scanned or digital. One result row is produced per image and per PDF page. Links must be public and point straight to the file."},"forceOcr":{"type":"boolean","example":false,"description":"By default, PDF pages that already contain a text layer are read from it (fast, exact). Turn this on to run OCR on every page anyway, for example when the text layer is wrong."},"languages":{"type":"array","items":{"type":"string"},"example":["eng"],"description":"Languages of the text in your images. Pick one, or several for mixed text (a little slower). Used only when a page has to be read by OCR."},"outputMode":{"enum":["lines","words"],"type":"string","example":"lines","description":"lines = every text line with its confidence and bounding box. words = every single word with confidence and bounding box (bigger output)."},"maxPagesPerPdf":{"type":"integer","example":20,"description":"Read at most this many pages from each PDF (from the first page). You pay per page, so this caps the cost of big documents."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"...":"one result object"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xwxmRk1KGLTuS8O9YOYaZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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 and PDF files using OCR, returning per-line or per-word results with confidence scores and bounding boxes","exampleAgentPrompt":"Can you extract all the text from these two scanned images and that PDF — https://example.com/scan1.jpg and https://example.com/invoice.pdf — using OCR, give me the results line by line in English, and cap it at 10 pages for the PDF?","exampleUseCases":[{"title":"Digitizing scanned invoices","prompt":"I have a bunch of scanned invoice images at these URLs — https://docs.example.com/inv1.jpg and https://docs.example.com/inv2.png — can you run OCR on them and give me the text line by line so I can pull out the totals and vendor names?"},{"title":"Extracting text from a research PDF","prompt":"Please extract all the text from this academic PDF: https://papers.example.com/study.pdf — read up to 20 pages, output by lines, and use English. I want to search through the content."},{"title":"Reading mixed-language scanned forms","prompt":"I've got scanned forms at https://forms.example.com/page1.tiff that contain both English and French text. Can you OCR them with both languages enabled and give me word-level results with bounding boxes?"}],"resultDescription":"A JSON object with a count and an array of result items — one per image or per PDF page — each containing the extracted text organized as lines or words, along with confidence scores and bounding box coordinates for each text element.","failureModes":["URL not publicly accessible — returns error if image/PDF link requires authentication or is behind a firewall","Unsupported file format — only png, jpg, webp, tiff, bmp, gif, and PDF are accepted","PDF page limit exceeded — cost can grow unexpectedly on large PDFs if maxPagesPerPdf is not set","Low OCR confidence on very low-resolution or heavily degraded scans","No results returned and no charge if the file cannot be fetched or parsed","Language mismatch reduces accuracy if wrong language codes are specified"],"whenToPreferThis":"Choose this endpoint when you need programmatic text extraction from images or scanned/digital PDFs, especially when you need bounding box coordinates, per-word or per-line granularity, confidence scores, or multi-language OCR support. It is pay-per-call with no subscription, making it ideal for sporadic or batch document digitization tasks. Prefer it over general vision LLMs when you need structured positional data rather than a prose description.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:36:09.659Z","isFirstParty":false,"canonicalSlug":"radar-image-pdf-ocr-ac126ac0"}