🚗Car License


This API provides Data Extraction for the Egyptian Car License

Egyptian Car License OCR

POST https://valifystage.com/api/v1/ocr/

Headers

NameTypeDescription

Content-Type*

string

application/json

Authentication*

string

Bearer <access-token>

Request Body

NameTypeDescription

document_type*

string

egy_car_license

data*

object

Object containing the parameters below: { front_img: <base64 str>, back_img: <base64 str>, bundle_key: <str>, lang: <str> }

{
    "result": {
        "name:": '<string>',
        "nationality:": '<string>',
        "address:": '<string>',
        "traffic_unit:": '<string>',
        "traffic_department": '<string>',
        "license_type": '<string>',
        "release_date": '<string>',
        "expiry_date": '<string>',
        "brand": '<string>',
        "model": '<string>',
        "model_year": '<string>',
        "body_shape": '<string>',
        "chassis_number": '<string>',
        "engine_number": '<string>',
        "engine_capacity": '<string>',
        "cylinder": '<string>',
        "gas_type": '<string>',
        "color": '<string>'
    },
    "transaction_id": '<string>',
    "trials_remaining": '<int>'
}

  1. Download the JSON file from here.

  1. Open Postman and click on Import.

  1. Drop the JSON file.

  1. Click on "CL" then "Authorization" and replace <access token> with your generated access token and click on "Body".

  1. Fill in the required details and hit "Send".

Please note that the front and back images should be converted to base 64 format. This can be done via an online tool; https://base64.guru/converter/encode/image/jpg

Last updated