BETA

alOCR

Extract text from documents with advanced Arabic and English OCR. Supports PDFs and images with automatic deskewing and layout detection.

Path
/v1/ocr
Key scope
ocr

Supported file formats

PDF, JPG, PNG, TIFF, BMP, WEBP

Supports Arabic and English text extraction with automatic language detection

GETPage Images

Get Full-Resolution Page Images

Retrieve paginated full-resolution page images (same pattern as thumbnails)

GET

Endpoint:

endpoint
https://alapi.deep.sa/v1/ocr/images/{token}?start=0&limit=10

Parameters:

Name Type Required Description
token String Yes Access token received from upload
start Integer No Offset to start from (default: 0)
limit Integer No Number of images to return (default: 10, max: 50)

Response (200 OK):

response.json
{
  "images": [
    {
      "page_num": 1,
      "url": "https://...presigned-s3-url..."
    }
  ],
  "start": 0,
  "end": 10,
  "total_pages": 25,
  "has_more": true
}

Image links are short-lived (valid for about an hour); request the list again for fresh ones. Only pages that have been read are listed.

Ready to Get Started?

Generate an API key from your dashboard and start building

Activate account?

Activate this account?