Passport

Extract passport details

Good to know: This API method allows you to extract the details from an international passport as JSON.

Extract passport details

POST https://api.usetani.com/api/v0/passport_analyze

Creates a new person.

Headers

NameTypeDescription

x-api-key*

string

Your API key

x-group-id*

string

Your group ID from the dashboard.

Request Body

NameTypeDescription

image*

string

Form-data image of the passport

{
    "message":"Data extracted successfully",
    "result": {
        "passport_number": "string",
        "date_of_birth": "string",
        "date_of_expiry": "string",
        "surname": "string",
        "given_names": "string",
    }
}

Last updated