Building a vehicle lookup flow starts with a practical question: how do you retrieve car information for a French license plate without manually entering every vehicle detail? This guide shows the available Zyla Hub endpoint, its official response excerpt, and Python code for reading the returned vehicle fields. It also identifies what you need to verify before connecting a plate-entry form.
What the lookup returns
France License Plate Lookup API is an automotive API for retrieving car information related to a license plate. Its example response identifies a French plate and includes a vehicle identification number, body style, fuel type, engine codes, registration dates, and other vehicle attributes.
These fields can help developers populate a vehicle record, review information in an automotive workflow, or reduce manual entry during vehicle intake. The example also shows missing and unknown values, so an integration should not assume every attribute is usable.
Getting started on Zyla API Hub
Open the France License Plate Lookup API listing on Zyla API Hub, create a free account if needed, and click Subscribe or Start Free Trial when available. You will get an API key for calling the Hub endpoint.
Access uses a subscription and quota model, not pay-per-call billing. For the first API, the stated access option is a 7-day trial or 50 requests; check the API page for current access options and pricing.
Zyla API Hub lists more than 10,000 public APIs and uses one account and API key across the marketplace. For this integration, subscribe to the automotive listing before testing the request below.
License Plate Lookup endpoint
The available endpoint is License Plate Lookup. It uses GET to retrieve car information related to a license plate.
Request URL: https://zylalabs.com/api/342/france-license-plate-lookup-api/275/license-plate-lookup
The request example uses the Authorization header with a Bearer API key. Replace YOUR_API_KEY with your key before running it.
curl -s -X GET "https://zylalabs.com/api/342/france-license-plate-lookup-api/275/license-plate-lookup" \
-H "Authorization: Bearer YOUR_API_KEY"
The request shown does not include a plate parameter, even though the response contains a query value. Before connecting a plate-entry form, check the listing for current instructions on supplying a plate; do not assume that a response field is also a request parameter.
Official response excerpt
The listing provides the following example for plate EH826NS. The excerpt ends in the middle of a field, so it is not a complete JSON document and should not be saved as a parseable response file.
{
"code": 200,
"country": "FR",
"query": "EH826NS",
"error": false,
"message": "Succès",
"data": {
"AWN_KBA": "INCONNU",
"AWN_KBAS": [],
"AWN_PTAC": "2520",
"AWN_PTAC_constructeur": "2520",
"AWN_PTAV": "1770",
"AWN_PTRA": "4820",
"AWN_PV": "1770",
"AWN_SRA_groupe_code": "0",
"AWN_VIN": "WDC2533051F124960",
"AWN_ad_blue": "INCONNU",
"AWN_annee_de_debut_modele": "2016",
"AWN_annee_de_fin_modele": "INCONNU",
"AWN_annee_de_mise_en_service": "INCONNU",
"AWN_capacite_reservoir": "0",
"AWN_carrosserie": "CROSSOVER",
"AWN_carrosserie_carte_grise": "SUV",
"AWN_carrosserie_ce": "AG",
"AWN_categorie_vehicule": "M1",
"AWN_classe_prix": "INCONNU",
"AWN_code_critere_qualite_air": "INCONNU",
"AWN_code_de_boite_de_vitesses": "INCONNU",
"AWN_code_moteur": "651921",
"AWN_code_platform": "INCONNU",
"AWN_code_sra": "ME69008",
"AWN_codes_de_boite_de_vitesses": [],
"AWN_codes_moteur": [
"651921",
"OM_651921"
],
"AWN_codes_sra": [
"ME69008"
],
"AWN_collection": "NON",
"AWN_consommation_ex_urbaine": "4.7",
"AWN_consommation_mixte": "5.0",
"AWN_consommation_urbaine": "5.7",
"AWN_couleur": "GRIS",
"AWN_cylindre_capacite": "2143",
"AWN_cylindree_liters": "2.1",
"AWN_date_cg": "15-12-2016",
"AWN_date_de_mise_en_service": "INCONNU",
"AWN_date_mise_en_circulation": "15-12-2016",
"AWN_date_mise_en_circulation_us": "2016-12-15",
"AWN_depollution": "OUI",
"AWN_emission_co_2": "131",
"AWN_emission_co_2_prf": "131",
"AWN_empattement": "287",
"AWN_energie": "GAZOLE",
"AWN_energie_cg": "GO",
"AWN_energie_code": 1,
"AWN_energie_description": "GAZOLE",
"AWN_env_class": "INCONNU",
"AWN_env_class_ref": "INCONNU",
"AWN_finition": "COUPE 220 D 4MATIC EXECUTIVE AUTO",
"AWN_generation": "0",
"AWN_genre": "VP",
"AWN_genre_carte_grise": "VP",
"AWN_genre_code": 1,
"AWN_genre_label": "Voiture particulière",
"AWN_group": "INCONNU",
"AWN_hauteur": "159",
"AWN_id_phase": "1",
"AWN_id_version": "INCONNU",
"AWN_immat": "EH826NS",
"AWN_k_type": "120285",
"A…
At the top level, country and query identify the country and plate in the example, while error and message convey the reported result. The nested data object contains the vehicle attributes, including AWN_VIN, AWN_carrosserie, AWN_energie, and AWN_finition.
Preserve the distinction between an unknown value and a known value: the example uses INCONNU for several attributes and empty arrays for others. Many numeric-looking values are strings, while AWN_energie_code is a number. Confirm units before displaying measurements or using them in calculations.
Read vehicle fields in Python
This example uses Python’s standard library to call the same Hub URL. It checks for transport errors, an invalid JSON response, and the response’s error flag before reading selected fields.
import json
from urllib.error import HTTPError, URLError
from urllib.request import Request, urlopen
url = (
"https://zylalabs.com/api/342/"
"france-license-plate-lookup-api/275/license-plate-lookup"
)
request = Request(
url,
headers={"Authorization": "Bearer YOUR_API_KEY"},
method="GET",
)
try:
with urlopen(request) as response:
result = json.load(response)
except HTTPError as exc:
raise SystemExit(f"HTTP request failed: {exc.code}") from exc
except URLError as exc:
raise SystemExit(f"Connection failed: {exc.reason}") from exc
except (json.JSONDecodeError, UnicodeDecodeError) as exc:
raise SystemExit("Response was not valid JSON") from exc
if not isinstance(result, dict):
raise SystemExit("Unexpected response format")
if result.get("error") is True:
raise SystemExit(f"Lookup reported an error: {result.get('message')}")
vehicle = result.get("data")
if not isinstance(vehicle, dict):
raise SystemExit("Response did not contain vehicle data")
def known_value(value):
if value is None or value == "INCONNU":
return "Not available"
return value
print("Country:", known_value(result.get("country")))
print("Query:", known_value(result.get("query")))
print("VIN:", known_value(vehicle.get("AWN_VIN")))
print("Body:", known_value(vehicle.get("AWN_carrosserie")))
print("Fuel:", known_value(vehicle.get("AWN_energie")))
print("Version:", known_value(vehicle.get("AWN_finition")))
print("Registration date:", known_value(
vehicle.get("AWN_date_mise_en_circulation_us")
))
Replace the key before running the script and keep it out of source control. The code reads a complete response from the endpoint; it does not parse the truncated listing excerpt above. Like the curl request, it does not specify a plate, so verify the plate-selection instructions before using it as the backend for user-entered lookups.
The example shows the same registration date in two formats: AWN_date_mise_en_circulation uses day-month-year, while AWN_date_mise_en_circulation_us uses year-month-day. Choose the field appropriate for your application and handle INCONNU before attempting date conversion.
Automotive integration patterns
- Vehicle intake: Use the returned plate, VIN, body style, fuel type, and version to present a reviewable vehicle record. Let a user resolve missing fields rather than displaying
INCONNUas a vehicle specification. - Workshop records: Show the engine code and engine-code list alongside the vehicle record. Keep the singular
AWN_code_moteurseparate from the array inAWN_codes_moteur. - Inventory data entry: Use the color, body style, and version fields as candidates for populating an inventory form. Retain a review step because the response can contain unknown values.
Request only the information your workflow needs and be deliberate about storing identifiers such as VINs. If you cache a result to avoid repeated lookups, choose a freshness policy appropriate to your application and subscription quota rather than assuming vehicle data never changes.
Use the lookup from an AI agent
Zyla APIs can also be called from an agent through the MCP endpoint. The connection URL is https://mcp.zylalabs.com/mcp?apikey=YOUR_API_KEY; it works with Claude Code, Cursor, Windsurf, and other MCP-compatible clients.
Configure the client with your API key, then use the available automotive API tooling to access the subscribed listing. An agent should treat INCONNU as unavailable information and preserve the distinction between a vehicle attribute and the plate used for the lookup. Check the listing’s current request instructions before asking an agent to submit a particular plate.
FAQ
Can I look up any French plate with the curl example?
The endpoint is described as retrieving car information related to a plate, but the shown request does not include a plate input. Check the listing for how to supply one before implementing arbitrary plate lookups.
Is the response always complete?
The official excerpt contains unknown values and empty arrays. Handle missing or unknown attributes in your application instead of assuming every vehicle field is populated.
Are vehicle measurements returned as numbers?
Several measurement-like values in the example are JSON strings. Validate the value and confirm its unit before converting it or using it in a calculation.
Does the API use pay-per-call billing?
No. Zyla describes access through a subscription and quota. Check the listing for current access options and pricing.
Create a free Zyla account, get your API key, and Start 7-day trial on France License Plate Lookup API. Use the listing to confirm the current request instructions and access options before shipping your plate-entry workflow.