Public
Documentation Settings

Driving License Verification

Embrace seamless driving license verification with the Driving License Verification API, a powerful tool that accurately validates driving license numbers and promptly returns the associated details. This robust API streamlines customer onboarding, enhances compliance, and minimizes identity fraud risks, empowering businesses to operate with confidence and efficiency.

get_bearer_token

The "Get Bearer Token" API enables authentication by sending a POST request with username and password, securing access through a generated bearer token for subsequent authorized requests.

Method: POST

URL : https://prod.crimescan.ai/v1/verifyApi/signIn

Function: generate bearer token
Parameters : username, password
Output Type : JSON

fieldsDescriptionRequired/Optional
usernameuser namerequired
passwordpasswordrequired

Example:

curl --location --request POST

' https://prod.crimescan.ai/v1/verifyApi/signIn' \

--header 'Content-Type: application/x-www-form-urlencoded' \

--data-urlencode 'username=dummy' \

--data-urlencode 'password=dummy_12345'

Response:

If success-

{

"statusCode": 200,

"statusMsg": "Success",

"user": "dummy",

"apiKeyExpirationTime": "After every 86400 seconds (24 hours)",

"apiKey": "eyJXXXX"

}

If unsuccessfull-

{

"statusCode": 401,

"statusMsg": "Failed",

"msg": "Unauthorized access!"

}

HTTP Status Codes:

HTTP CodesExplanation
200ok
400Incorrect Input
401Authentication Failed

POST/users/signin

https://prod.crimescan.ai/v1/verifyApi/signIn

This API facilitates the assessment of cybercrime involvement for UPI IDs, bank accounts, mobile numbers, and vehicle details

AUTHORIZATIONBearer Token
Token

<token>

Bodyraw (json)
json
{
   "username": "xxxx",
    "password":"xxxxx"
}
Example Request
curl
curl --location 'https://prod.crimescan.ai/v1/verifyApi/signIn' \
--data '{
    "username": "xxx",
    "password":"xxxx"
}'
401 Unauthorized
Example Response
json
{
  "statusCode": 401,
  "statusMsg": "Failed",
  "msg": "Unauthorized access!"
}
Date

Tue, 31 Oct 2023 10:58:55 GMT

Server

Apache/2.4.7 (Ubuntu)

Content-Length

34

Content-Type

application/json

Keep-Alive

timeout=5, max=100

Connection

Keep-Alive

Verify Driving Licence Number

The "Verify Driving Licence Number" API enables authentication by sending a POST request with username and password, securing access through a generated bearer token for subsequent authorized requests.

Method: POST

URL : https://prod.crimescan.ai/v1/verifyApi/verify

Function: Verify Driving Licence Number
Parameters : type,username, drivingLicense, dob
Output Type : JSON

fieldsDescriptionRequired/Optional
typeinternal purpose onlyrequired
usernameuser namerequired
drivingLicenseDriving Licence Numberrequired
dobdate of birthrequired

Example:

curl --location --request POST \

'https://prod.crimescan.ai/v1/verifyApi/verify \

--header 'Content-Type: application/json' \

--header 'Authorization: Bearer eyXXX' \

--data-raw '{

"type": 3,

"username": "XXX",

"drivingLicense": "XXXX",

"dob":“YYYY-mm-dd”

}'

Response:

If success-

Plain Text
{
"statusCode": 200,
    "statusMsg": "Success",
    "result": true,
    "msg": "Valid Driving License",
    "data": {
        "client_id": "license_UtkqfmZghPRCGjSdwzus",
        "citizenship": "IND",
        "additional_check": [],
        "state": "MP",
        "transport_doi": "1800-01-01",
        "profile_image": "9j/4AAQSkZJRgABAgIAAAAAAAD/wAARCAD0AMgDASIAAhEBAxEB/9sAhAAQCwwODAoQDg0OEhEQExgoGhgWFhgxIyUdMTozPTw5Mzg3QEhcTkBE/R=",
        "has_image": true,
        "blood_group": "",
        "ola_name": "XXXX",
        "temporary_zip": "",
        "permanent_address": "XXXX",
        "temporary_address": "XXXX",
        "dob": "1992-02-25",
        "license_number": "XXXX",
        "permanent_zip": "",
        "father_or_husband_name": "XXX",
        "vehicle_classes": [
            "XXXX"
        ],
        "less_info": false,
        "transport_doe": "2033-05-05",
        "doi": "1800-01-01",
        "ola_code": "06",
        "gender": "M",
        "doe": "2033-05-05",
        "initial_doi": "1800-01-01",
        "name": "XXXXX"
    }
}

If api key has been expired-

{

"statusCode": 401

"statusMsg": "Failed",

"msg": "Unauthorized access!"

}

If username is missing:

Plain Text
{
    "statusCode": 401,
    "statusMsg": "Failed",
    "msg": "Username is missing!"
}

If username is invalid:

Plain Text
{
"statusCode": 401,
"statusMsg": "Failed",
"msg": "Username is invalid!"
}

If driving license is invalid:

Plain Text
{
"statusCode": 425,
    "statusMsg": "Failed",
    "result": false,
    "msg": "Invalid Driving License",
    "data": {
        "drivingLicense": "XXXX"
    }
}

If driving license is missing:

Plain Text
{
 "statusCode": 473,
    "statusMsg": "Failed",
    "result": false,
    "msg": "drivingLicense field missing"
}

HTTP Status Codes:

HTTP CodesExplanation
200ok
400Incorrect Input
401Authentication Failed
473Invalid Aadhar Card number

POSTverify

https://prod.crimescan.ai/v1/verifyApi/verify

This API facilitates the assessment of cybercrime involvement for UPI IDs, bank accounts, mobile numbers, and vehicle details

AUTHORIZATIONBearer Token
Token

<token>

Bodyraw (json)
json
{
    "type": 3,
    "username": "XXX",
    "drivingLicense": "XXXX",
    "dob": "YYYY-mm-dd"
}
Example Request
curl
curl --location 'https://mvp.verify24x7.in/verifyApi/api/verify_api/verify' \
--data '{
   "type": 3,
    "username": "XXX",
    "drivingLicense": "XXXX",
    "dob": "YYYY-mm-dd"
}'
200 OK
Example Response
json
{
  "statusCode": 200,
  "statusMsg": "Success",
  "result": true,
  "msg": "Valid Driving License",
  "data": {
    "client_id": "license_UtkqfmZghPRCGjSdwzus",
    "citizenship": "IND",
    "additional_check": [],
    "state": "MP",
    "transport_doi": "1800-01-01",
    "profile_image": "9j/4AAQSkZJRgABAgIAAAAAAAD/wAARCAD0AMgDASIAAhEBAxEB/9sAhAAQCwwODAoQDg0OEhEQExgoGhgWFhgxIyUdMTozPTw5Mzg3QEhcTkBE/R=",
    "has_image": true,
    "blood_group": "",
    "ola_name": "XXXX",
    "temporary_zip": "",
    "permanent_address": "XXXX",
    "temporary_address": "XXXX",
    "dob": "1992-02-25",
    "license_number": "XXXX",
    "permanent_zip": "",
    "father_or_husband_name": "XXX",
    "vehicle_classes": [
      "XXXX"
    ],
    "less_info": false,
    "transport_doe": "2033-05-05",
    "doi": "1800-01-01",
    "ola_code": "06",
    "gender": "M",
    "doe": "2033-05-05",
    "initial_doi": "1800-01-01",
    "name": "XXXXX"
  }
}
Date

Sun, 19 Nov 2023 17:03:48 GMT

Content-Type

application/json; charset=utf-8

Transfer-Encoding

chunked

Connection

keep-alive

x-dns-prefetch-control

off

x-frame-options

SAMEORIGIN

strict-transport-security

max-age=15552000

x-download-options

noopen

x-content-type-options

nosniff

x-xss-protection

1; mode=block

access-control-allow-origin

*

x-ratelimit-limit

10000

x-ratelimit-remaining

9999

x-ratelimit-reset

1700413600

etag

W/"102-TVkZbOoCybRIRjUqHFiUKCCBUz4"

vary

Accept-Encoding

CF-Cache-Status

DYNAMIC

Report-To

{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=JK9pRpWH%2FAqxQi%2BvDySqorrUEDz3%2BQcmuB1lIXocFpNk1JxQmOhQX085Wh%2FVgvP7bIVxFI8jhhOuvtDE8ytu%2FmNXer6j7in5xzUiWJX3XLEUdCy8vNU1efc6hrcgxCXRoKpV"}],"group":"cf-nel","max_age":604800}

NEL

{"success_fraction":0,"report_to":"cf-nel","max_age":604800}

Server

cloudflare

CF-RAY

828a06a80cbe1bd6-BOM

Content-Encoding

br