{"uid":"cap_fUsvPGgguVzeTbbulEMkV","slug":"relaystation-pdf-ocr-searchable-layer-535eb502","name":"Relaystation PDF OCR Searchable Layer","description":"$0.004/page. Add an invisible OCR text layer to a scanned PDF — looks identical, fully searchable. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/ocr-searchable","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_zhwFjRjF7nnNfUpxRQLeN","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":"Adds an invisible OCR text layer to a scanned PDF, making it fully text-searchable without altering its visual appearance","exampleAgentPrompt":"I have a scanned PDF contract that's just images — can you run OCR on it so I can search and select text in it, while keeping it looking exactly the same?","exampleUseCases":[{"title":"Searchable legal document archive","prompt":"I've got a folder of scanned PDF contracts that are just images — can you process them so they're fully text-searchable without changing how they look?"},{"title":"Digitizing scanned invoices","prompt":"I have a scanned invoice PDF I need to be able to search through and copy text from — can you add an OCR text layer to it while keeping the original formatting intact?"},{"title":"Making historical records searchable","prompt":"I need to make these scanned historical document PDFs searchable so our team can find specific keywords in them — can you add an invisible OCR layer without altering the visual appearance?"}],"resultDescription":"A PDF file identical in visual appearance to the input but with an embedded invisible OCR text layer, enabling full text search, text selection, and copy-paste operations within any standard PDF viewer or indexing system.","failureModes":["Input file is not a valid PDF — returns error","PDF is already a native/text PDF with no image pages — OCR may produce redundant or garbled layer","Low-quality or very small scanned images may produce poor OCR accuracy","Oversized or multi-hundred-page PDFs may time out or incur higher per-page costs","Corrupt or password-protected PDFs will fail to process"],"whenToPreferThis":"Choose this endpoint when you need to make scanned image-based PDFs text-searchable while preserving their exact visual layout — ideal for document archiving, legal discovery, invoice processing, or any workflow requiring keyword search across scanned files. Prefer this over full document extraction endpoints (like Textract) when you need the output to remain a PDF rather than structured data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:49:12.277Z","isFirstParty":false}