{"name":"OCR to Markdown (DE/EN)","version":"1.0.0","description":"OCR for PDFs, scans and images (German + English). Text PDFs are read from the text layer (pdfplumber), scanned PDFs via OCRmyPDF/Tesseract, images via Tesseract. Returns Markdown, plain text or JSON per page. Price: per page, declared with ?pages=N (default 1).","x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"USDC","payTo":"0x85c4Aa8E406bbfb859524BEAD425C51B3e424269","facilitator":"https://facilitator.payai.network"},"pricing":{"per_page_usd":0.01,"declare_pages_query":"pages","default_pages":1,"max_pages":5,"rule":"price = per_page_usd * pages; request fails unpaid (no settlement) if the document has more pages than declared"},"limits":{"max_bytes":10000000,"max_pages":5,"languages":["deu","eng","deu+eng"],"inputs":["multipart file","JSON {url}","JSON {file_base64}","raw body application/pdf or image/*"]},"endpoints":[{"method":"POST","path":"/ocr","resource":"https://ocr-x402-7t9a.onrender.com/ocr","query":{"pages":"int 1..5 (billed pages)","format":"json|markdown|text (default json)","lang":"deu+eng|deu|eng","force_ocr":"true|false"},"input_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL of a PDF or image"},"file_base64":{"type":"string","description":"Alternative to url: base64-encoded PDF/image"},"filename":{"type":"string"}},"anyOf":[{"required":["url"]},{"required":["file_base64"]}]},"output_example":{"kind":"pdf","page_count":1,"methods":["ocr"],"lang":"deu+eng","markdown":"Rechnung Nr. 4711\n\nAugsburg, 21.10.2026 ...","text":"Rechnung Nr. 4711\nAugsburg, 21.10.2026 ...","pages":[{"page":1,"method":"ocr","text":"Rechnung Nr. 4711 ..."}],"billed_pages":1,"elapsed_ms":2140}}],"docs":"https://ocr-x402-7t9a.onrender.com/docs","openapi":"https://ocr-x402-7t9a.onrender.com/openapi.json"}