{"openapi":"3.1.0","info":{"title":"OCR API","version":"1.0.0","description":"Extract text from images with optical character recognition in eight languages (English, German, French, Spanish, Italian, Portuguese, Dutch and Turkish). Get the full recognised text with an average confidence score and word and line counts, or word-level results where every word carries its own confidence and bounding box for layout-aware processing. Supply an image by public URL, base64 or a raw binary request body; large images are downscaled automatically before recognition to keep responses fast, and a warm engine keeps latency low after start-up. Pure server-side computation (Tesseract, no third-party upstream, no per-call cloud cost). Ideal for digitising documents and receipts, reading text from photos and screenshots, accessibility, and data-entry automation.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/ocr-api","description":"oanor gateway"}],"tags":[{"name":"OCR"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/languages":{"get":{"operationId":"get_v1_languages","tags":["OCR"],"summary":"Supported OCR languages","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":8,"languages":[{"code":"eng","name":"English"},{"code":"deu","name":"German"},{"code":"fra","name":"French"},{"code":"spa","name":"Spanish"},{"code":"ita","name":"Italian"},{"code":"por","name":"Portuguese"},{"code":"nld","name":"Dutch"},{"code":"tur","name":"Turkish"}]},"meta":{"timestamp":"2026-05-30T22:48:29.088Z","request_id":"582efda3-2377-4cb1-b35e-810db5332469"},"status":"ok","message":"Languages retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/ocr":{"get":{"operationId":"get_v1_ocr","tags":["OCR"],"summary":"Recognize text from an image","description":"","parameters":[{"name":"url","in":"query","required":false,"description":"Image URL (or base64/raw body)","schema":{"type":"string"},"example":"https://example.com/scan.png"},{"name":"base64","in":"query","required":false,"description":"Base64 image data","schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"description":"eng|deu|fra|spa|ita|por|nld|tur","schema":{"type":"string"},"example":"eng"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/words":{"get":{"operationId":"get_v1_words","tags":["OCR"],"summary":"Word-level boxes & confidence","description":"","parameters":[{"name":"url","in":"query","required":false,"description":"Image URL (or base64/raw body)","schema":{"type":"string"}},{"name":"base64","in":"query","required":false,"description":"Base64 image data","schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"description":"Language code","schema":{"type":"string"},"example":"eng"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":2000,"rps_limit":1,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1250,"monthly_call_quota":40000,"rps_limit":3,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3400,"monthly_call_quota":250000,"rps_limit":8,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":8900,"monthly_call_quota":1200000,"rps_limit":20,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/ocr-api"}