Special access to our historical OCR tools for researchers and educators
Get assistance from our historical document specialists for your research projects
Integrate historical document OCR, text extraction, and analysis capabilities directly into your applications
The Scripily API provides programmatic access to our advanced historical document OCR and text analysis capabilities. Integrate powerful text extraction, language detection, and document analysis directly into your applications.
Extract text from historical documents with 95%+ accuracy using specialized OCR models
AI-powered text correction and enhancement for difficult historical scripts
Process documents in seconds with our scalable cloud infrastructure
https://app.scripily.com/api/v1All API requests require authentication using a Bearer token. You can generate API keys from your dashboard.
Include your API key in the Authorization header of every request:
Authorization: Bearer sk_your_api_key_hereSelect your preferred language
/api/v1/extract10 points/callExtract text from images using advanced OCR with AI enhancement for historical documents.
curl -X POST https://app.scripily.com/api/v1/extract \
-H "Authorization: Bearer sk_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"imageUrl": "https://example.com/image.jpg",
"language": "en",
"enhance": true
}'| Name | Type | Required | Description |
|---|---|---|---|
imageUrl | string | Yes | URL of the image to process |
language | string | No | Language code (default: en)Default: en |
enhance | boolean | No | Enable AI enhancementDefault: |
format | string | No | Output formatDefault: json |
{
"success": true,
"text": "Extracted historical document text...",
"enhanced": true,
"language": "en",
"confidence": 0.97,
"pointsUsed": 10,
"remainingPoints": 990,
"processingTime": 1.24
}/api/v1/statusGet your API key status, remaining points, and usage statistics.
curl -X GET https://app.scripily.com/api/v1/status \
-H "Authorization: Bearer sk_your_api_key_here"{
"success": true,
"status": "active",
"plan": "pro",
"pointsUsed": 150,
"pointsRemaining": 9850,
"pointsTotal": 10000,
"rateLimit": {
"limit": 5000,
"remaining": 4890,
"reset": 1672531200
}
}All errors follow a consistent JSON response format. Always check the response status code and handle errors gracefully.
{
"success": false,
"error": "Error description in human-readable format",
"code": "ERROR_CODE",
"message": "Technical error message for debugging",
"details": {
"field": "specific field error if applicable"
},
"remainingPoints": 0,
"nextReset": "2024-01-01T00:00:00Z"
}| Code | Status | Description | Resolution |
|---|---|---|---|
INVALID_API_KEY | 401 | API key is invalid, expired, or revoked | Generate a new API key from your dashboard |
INSUFFICIENT_POINTS | 402 | Not enough points for this operation | Upgrade your plan or wait for monthly reset |
RATE_LIMITED | 429 | Rate limit exceeded | Wait for rate limit reset or upgrade plan |
INVALID_REQUEST | 400 | Missing or invalid parameters | Check request parameters and try again |
SERVER_ERROR | 500 | Internal server error | Contact support if issue persists |
Extract text from a historical document image with AI enhancement enabled.
fetch('https://app.scripily.com/api/v1/extract', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
imageUrl: 'https://archive.org/image.jpg',
language: 'en',
enhance: true
})
}){
"success": true,
"text": "19th century manuscript text...",
"confidence": 0.96,
"pointsUsed": 10
}Monitor your API usage and remaining points programmatically.
import requests
url = "https://app.scripily.com/api/v1/status"
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.get(url, headers=headers){
"plan": "pro",
"pointsUsed": 250,
"pointsRemaining": 9750,
"rateLimitRemaining": 4875
}Each API call consumes points based on the endpoint. Text extraction costs 10 points per image. Status checks are free. Points reset monthly based on your subscription plan.
We support JPEG, PNG, TIFF, BMP, and WebP formats. Images should be clear with a minimum resolution of 300 DPI for best OCR results.
Our OCR accuracy ranges from 95-99% for printed historical documents and 85-95% for handwritten documents, depending on document quality and script type.
Sign up for a free account at app.scripily.com/signup. Once logged in, navigate to the API section in your dashboard to generate your first API key.
Sign up for a free account and get your API key to start integrating historical document OCR into your applications.