Decode License Plate
curl --request POST \
--url https://api.aisa.one/apis/v1/carsxe/decode-license-plate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"country": "US",
"plate": "7XER187",
"require_vin": false,
"state": "CA"
}
'import requests
url = "https://api.aisa.one/apis/v1/carsxe/decode-license-plate"
payload = {
"country": "US",
"plate": "7XER187",
"require_vin": False,
"state": "CA"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({country: 'US', plate: '7XER187', require_vin: false, state: 'CA'})
};
fetch('https://api.aisa.one/apis/v1/carsxe/decode-license-plate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/carsxe/decode-license-plate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'country' => 'US',
'plate' => '7XER187',
'require_vin' => false,
'state' => 'CA'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/carsxe/decode-license-plate"
payload := strings.NewReader("{\n \"country\": \"US\",\n \"plate\": \"7XER187\",\n \"require_vin\": false,\n \"state\": \"CA\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/carsxe/decode-license-plate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"country\": \"US\",\n \"plate\": \"7XER187\",\n \"require_vin\": false,\n \"state\": \"CA\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/carsxe/decode-license-plate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"country\": \"US\",\n \"plate\": \"7XER187\",\n \"require_vin\": false,\n \"state\": \"CA\"\n}"
response = http.request(request)
puts response.read_body{
"input": {
"country": "<string>",
"district": "<string>",
"plate": "<string>",
"require_vin": true,
"state": "<string>"
},
"success": true,
"assembly": "<string>",
"body_style": "<string>",
"color": "<string>",
"description": "<string>",
"drive_type": "<string>",
"engine_size": "<string>",
"fuel_type": "<string>",
"make": "<string>",
"model": "<string>",
"style": "<string>",
"transmission": "<string>",
"trim": "<string>",
"vin": "<string>",
"year": "<string>"
}CarsXE
Decode License Plate
Decode License Plate
POST
https://api.aisa.one
/
apis
/
v1
/
carsxe
/
decode-license-plate
Decode License Plate
curl --request POST \
--url https://api.aisa.one/apis/v1/carsxe/decode-license-plate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"country": "US",
"plate": "7XER187",
"require_vin": false,
"state": "CA"
}
'import requests
url = "https://api.aisa.one/apis/v1/carsxe/decode-license-plate"
payload = {
"country": "US",
"plate": "7XER187",
"require_vin": False,
"state": "CA"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({country: 'US', plate: '7XER187', require_vin: false, state: 'CA'})
};
fetch('https://api.aisa.one/apis/v1/carsxe/decode-license-plate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/carsxe/decode-license-plate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'country' => 'US',
'plate' => '7XER187',
'require_vin' => false,
'state' => 'CA'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/carsxe/decode-license-plate"
payload := strings.NewReader("{\n \"country\": \"US\",\n \"plate\": \"7XER187\",\n \"require_vin\": false,\n \"state\": \"CA\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/carsxe/decode-license-plate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"country\": \"US\",\n \"plate\": \"7XER187\",\n \"require_vin\": false,\n \"state\": \"CA\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/carsxe/decode-license-plate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"country\": \"US\",\n \"plate\": \"7XER187\",\n \"require_vin\": false,\n \"state\": \"CA\"\n}"
response = http.request(request)
puts response.read_body{
"input": {
"country": "<string>",
"district": "<string>",
"plate": "<string>",
"require_vin": true,
"state": "<string>"
},
"success": true,
"assembly": "<string>",
"body_style": "<string>",
"color": "<string>",
"description": "<string>",
"drive_type": "<string>",
"engine_size": "<string>",
"fuel_type": "<string>",
"make": "<string>",
"model": "<string>",
"style": "<string>",
"transmission": "<string>",
"trim": "<string>",
"vin": "<string>",
"year": "<string>"
}Request contract
- Method and path: POST /apis/v1/carsxe/decode-license-plate
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/carsxe/decode-license-plate
{
"operationId": "carsxe.decode-license-plate",
"method": "POST",
"path": "/apis/v1/carsxe/decode-license-plate",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"country": {
"description": "ISO 3166-1 alpha-2 country code.",
"enum": [
"US"
],
"pattern": "^[A-Za-z]{2}$",
"type": "string"
},
"district": {
"description": "District required for Pakistan Khyber-Pakhtunkhwa registrations. This regional variant is officially documented but not live-verified.",
"minLength": 1,
"type": "string"
},
"plate": {
"description": "License plate text exactly as displayed, without adding separators.",
"examples": [
"7XER187"
],
"minLength": 1,
"type": "string"
},
"require_vin": {
"description": "For Spain only, require a VIN in the result. This doubles the price.",
"enum": [
false
],
"type": "boolean"
},
"state": {
"description": "State or regional code; required for US, AU, CA, and PK lookups.",
"examples": [
"CA"
],
"minLength": 1,
"type": "string"
}
},
"required": [
"country",
"plate",
"require_vin",
"state"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. A price estimate is not currently available. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json