VinHistoryUSA APIs

Url: https://api.vinhistoryusa.com/api/v1/login
Method: POST
Parameters: email, password
$ curl -X POST https://api.vinhistoryusa.com/api/v1/login
-H "Content-Type: application/x-www-form-urlencoded"
-d "email=value1&password=value2"
Response:

{
"success": true,
"data": {
"name": "Jacky",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI..."
},
"message": "You are successfully logged in."
}

Url: https://api.vinhistoryusa.com/api/v1/report/:vin
Method: POST
$ curl -X POST https://api.vinhistoryusa.com/api/v1/report/:vin
-H "Accept: application/json"
-H "Authorization: Bearer {token}"
Response:

{
"success": true,
"data": {
"report": "...",
"state": "...",
"owner": "...",
"titlebrand": "...",
"accident": "...",
"damage": "...",
"vehicleuse": "...",
"odometer": "...",
"service": "...",
"history": "...",
"glossary": "...",
},
"message": "Report retrieved successfully."
}