Integrate OCR capabilities into your application
We're currently developing our public API. The documentation below shows what will be available when we launch.
Our REST API allows you to integrate powerful OCR capabilities into your applications. Get started in minutes with our simple endpoints.
Base URL: https://api.screenshotconverter.com/v1
All API requests require an API key. Include it in the request header:
Authorization: Bearer YOUR_API_KEY
/convert
Convert an image to text with formatting preserved.
{
"image": "base64_encoded_image",
"format": "html",
"preserve_formatting": true
}
{
"success": true,
"text": "<span style='color:#000'>Hello World</span>",
"wordCount": 2,
"colorTheme": "#000000"
}
/convert-ai
Convert an image using AI-enhanced processing.
{
"image": "base64_encoded_image",
"model": "gpt-4"
}
{
"success": true,
"text": "AI-formatted HTML output",
"wordCount": 150
}
const axios = require('axios');
const fs = require('fs');
const imageBase64 = fs.readFileSync('screenshot.png', 'base64');
axios.post('https://api.screenshotconverter.com/v1/convert', {
image: imageBase64,
format: 'html',
preserve_formatting: true
}, {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
})
.then(response => {
console.log(response.data.text);
})
.catch(error => {
console.error(error);
});
import requests
import base64
with open('screenshot.png', 'rb') as image_file:
image_base64 = base64.b64encode(image_file.read()).decode()
response = requests.post(
'https://api.screenshotconverter.com/v1/convert',
json={
'image': image_base64,
'format': 'html',
'preserve_formatting': True
},
headers={
'Authorization': 'Bearer YOUR_API_KEY'
}
)
print(response.json()['text'])
No credit card required
100
requests/day
$29/month
10,000
requests/day
Custom pricing
Unlimited
contact us
Our developer support team is here to assist you with integration.