Log In Register
c
After 2020-05-14 all API request will require api_key parameter. Please register to get your key
OCR API has been temporarily disabled. Due to unknown bug it caused constant server overloads.
We are investigating the bug. Feel free to conact us on our github for more information.
We are sorry for the inconvenience.
Please use subscribe function on the bottom of the page to stay informed.
This function transforms an image
Requests can be performed using HTTP GET or POST methods. Response is always in JSON format.
parameter value description
either one
required
file File to upload. Use POST method
url URL to upload
format Output format
language Language
api_key You API key. Register to get your key

request

response

Click POST or GET to see response

possible errors

R7ERR_UPLOAD_FAILED Upload failed R7ERR_NO_UPLOAD No file specified R7ERR_OVER_20MB Uploaded file was bigger than 20 MB R7ERR_CONV_FAILED OCR failed

code samples

Below code samples update automatically when you change parameters above
curl
wget
aria2
php
javascript

curl, method POST


	
	

curl, method GET


wget, method POST


	
	

wget, method GET


aria2, method GET

		

php, method GET



	

php, method GET, using curl


	
	

php, method POST, using curl


javascript, method GET, using XMLHttpRequest

			
			
	

javascript, method GET, using jquery