---
title: Ejari OCR extraction API
slug: api-marketplace/ejari-ocr-extraction-api
createdAt: 2026-06-03T06:35:06.608Z
---

### Introduction

The Ejari Extraction API is designed to automatically extract key information from Ejari (Dubai tenancy contract registration) documents submitted by users. Using OCR and document intelligence techniques, the API identifies and captures relevant fields from the Ejari certificate, converting unstructured document data into a structured JSON response.

This API helps organizations digitize tenancy contract processing, reduce manual data entry, improve operational efficiency, and enable faster verification and underwriting workflows.

### API Details

**Endpoint:**

:::CodeblockTabs
Production Environment

```none
POST  https://api.signzy.app/api/v3/extraction/ejari_uae
```
:::

:::CodeblockTabs
UAT/Testing environment

```none
POST  https://api-preproduction.signzy.app/api/v3/extraction/ejari_uae
```
:::

### Request body parameters

| Parameter | Type   | Required | Description                                                           |
| --------- | ------ | -------- | --------------------------------------------------------------------- |
| file\_url | string | Yes      | Persist file URL (Supported file types are jpg, jpeg, png, pdf, tiff) |

**JSON**

:::BlockQuote
\{
&#x20;   "file\_url": "file url"
}
:::

### Request headers

| Name          | Value            | Required | Description                                                                                                |
| ------------- | ---------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Yes      | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXX      | Yes      | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

### Code samples

**Code samples:**

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/extraction/ejari_uae' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth_key>' \
--data '{
    "file_url": "fil"
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "file_url": "file url"

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/extraction/ejari_uae',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<auth_key>'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/extraction/ejari_uae"

payload = json.dumps({
  "file_url": "https://persist.signzy.tech/api/files/1852456165/download/ec85e0e11fa34354a4f0aee8f39c9493a684e3dc2d834b9e8b63f0776da25cf5.pdf"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<auth_key>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/extraction/ejari_uae"
  method := "POST"

  payload := strings.NewReader(`{
    "file_url": "file url"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<auth_key>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := io.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| **Parameter**                | **Data type** | **Description**                                                                                            |
| ---------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------- |
| contract\_number             | string        | Ejari contract registration number, including version suffix if present. Example: 0120240129001664 (v. 2). |
| registration\_date           | string (date) | Date the contract was registered with Ejari. Format: DD-MM-YYYY.                                           |
| actual\_annual\_rent\_amount | string        | Actual annual rent amount as stated on the contract, including currency. Example: 495,497.00 AED.          |
| security\_deposit            | string        | Security deposit amount as stated on the contract, including currency. Example: 46,000.00 AED.             |
| lease\_start\_date           | string (date) | Start date of the lease term. Format: DD-MM-YYYY.                                                          |
| lease\_end\_date             | string (date) | End date of the lease term. Format: DD-MM-YYYY.                                                            |
| owner\_name                  | string        | Name of the property owner as mentioned on the contract.                                                   |
| lessor\_name                 | string        | Name of the lessor (landlord/managing entity) as mentioned on the contract.                                |
| tenant\_name                 | string        | Name of the tenant as mentioned on the contract.                                                           |
| property\_usage\_subtype     | string        | Property usage and subtype. Example: Commercial / Office, Residential / Apartment.                         |
| size\_area                   | string        | Property size/area, including unit. Example: 383.62 Sq.m.                                                  |
| building\_and\_location      | string        | Building name and location/area of the property. Example: The Bay Gate Tower, Business Bay.                |

### Response examples

:::CodeblockTabs
200

```json
{
    "result": {
        "counterparty_risk": {
            "lessor_name": "hbiu2fdif2e",
            "owner_name": "dhqeidbdqe (L.L.C)",
            "tenant_name": "bdhjqeqbdbq"
        },
        "document_identity": {
            "contract_number": "0120240129001664 (v. 2)",
            "registration_date": "29-04-2025"
        },
        "financial_metrics": {
            "actual_annual_rent_amount": "495,497.00 AED",
            "security_deposit": "46,000.00 AED"
        },
        "lease_timeline": {
            "lease_end_date": "14-02-2026",
            "lease_start_date": "15-02-2025"
        },
        "property_profile": {
            "building_and_location": "The Bay Gate Tower, Business Bay",
            "property_usage_subtype": "Commercial / Office",
            "size_area": "383.62 Sq.m"
        }
    }
}
```

401

```json
{
    "message": "Invalid authentication credentials"
}
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```

422

```json
{
    "code": "VALIDATION_ERROR",
    "error_message": "Failed to download image URL"
}
```
:::

## Contact Us for Any Assistance

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at help\@signzy.com. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.
