{"uid":"cap_1ruSOdJEHtfeqX-ea0yoh","slug":"relaystation-pdf-ocr-93cbf6b8","name":"Relaystation PDF OCR","description":"$0.003/page. Extract text from a scanned PDF (Tesseract) — make paper searchable data. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/ocr","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."},"lang":{"enum":["eng","spa","fra","deu","ita","por","nld","pol","rus","chi_sim"],"type":"string","description":"OCR language tag (default \"eng\"). The live roster is the operator-tunable cputools.ocr.langs (deployed traineddata: eng, spa, fra, deu, ita, por, nld, pol, rus, chi_sim); an off-roster lang is a free 422 UNSUPPORTED_LANG naming the roster."},"pages":{"type":"string","description":"1-based pages/ranges, e.g. \"1-3,5\" (default all)."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_ssp2lpQ9tFohxsoPd8UEi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text from scanned PDF pages using Tesseract OCR, making paper documents machine-readable and searchable.","exampleAgentPrompt":"Can you run OCR on this scanned PDF and pull out all the text so I can search through it?","exampleUseCases":[{"title":"Digitizing scanned legal contracts","prompt":"I've got a bunch of scanned contract PDFs from the 1990s — can you OCR them and extract the text so I can search for specific clauses?"},{"title":"Archiving handwritten meeting notes","prompt":"These meeting notes were scanned as a PDF and I can't select any text — please extract all the text from the pages so I can copy and store it."},{"title":"Processing invoice PDFs for accounting","prompt":"I have a scanned invoice PDF from a vendor and need the text pulled out so I can parse the line items and amounts programmatically."}],"resultDescription":"Returns the extracted plain text content from each page of the scanned PDF, making previously image-only content machine-readable and searchable.","failureModes":["Poor scan quality or low-resolution images may result in inaccurate or garbled OCR output","Non-PDF file formats will be rejected","Encrypted or password-protected PDFs may fail to process","Very large PDFs may time out or incur higher per-page costs","Handwritten text may be poorly recognized compared to printed text"],"whenToPreferThis":"Choose this endpoint when you have scanned or image-based PDFs where text is not selectable and you need to extract readable content. Ideal for digitizing legacy paper documents, archiving printed materials, or making scanned reports searchable. Priced per page at $0.003, making it cost-effective for moderate document volumes with Tesseract-grade accuracy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:49:50.160Z","isFirstParty":false}