Skip to main content
POST
/
v1
/
documents
/
extraction
/
ind_passport
Ind Passport Ocr
curl --request POST \
  --url https://production.deepvue.tech/v1/documents/extraction/ind_passport \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'client-id: <api-key>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "document1": "<string>",
  "document2": "<string>"
}
'
{
  "code": 200,
  "transaction_id": "0ff82adf-a9d6-4495-88f7-aabeea78ddb3",
  "message": "Document processed successfuly",
  "data": {
    "address": "B - XXX / Y STREET NO.X XXXXXX , DELHI PIN : 1100XX, DELHI, INDIA",
    "date_of_birth": "1994-01-19",
    "date_of_expiry": "20XX-XX-28",
    "date_of_issue": "20XX-XX-29",
    "district": "DELHI",
    "fathers_name": "KANDPAL",
    "file_number": "DL1069718453416",
    "first_name": "CHANDRA SHEKHAR",
    "gender": "MALE",
    "id_number": "NXXXXXXX",
    "is_scanned": false,
    "last_name": "KANDPAL",
    "mothers_name": "INDIRA KANDPAL",
    "name_of_spouse": null,
    "name_on_card": "CHANDRA SHEKHAR KANDPAL",
    "nationality": "INDIAN",
    "pincode": "1100XX",
    "place_of_birth": ", DELHI",
    "place_of_issue": "DELHI",
    "state": "Delhi"
  }
}

Authorizations

Authorization
string
header
required

Access token issued by Deepvue

x-api-key
string
header
required

API key provided by Deepvue

client-id
string
header
required

Client ID issued by Deepvue

Body

application/json
document1
string
required
document2
string

Response

Successful Response

data
DRIVING_LICENSE_DOCUMENT_DATA · object
required
transaction_id
string
required
message
string
default:Document processed successfuly
code
string
default:200