The service is a One-call based XML/JSON API. When you place an order or request a demo, in both cases you will automatically get a demo link for a call with a limited number of records of all fields you have chosen. You have to store the data in your own database.
The field names in all downloadable formats are the same. Here you can download the full XML schema, and here the full JSON schema. Numbers in the schema files are field numbers in the fields description file. Here is a file with fields description (xlsx) (or ods).
All parameters are GET parameters of the same link and can be combined.
| Parameter | Value | If omitted | Description |
|---|---|---|---|
| code | your access code | Required | Identifies your access. |
| format | json | XML | Response format. See XML/JSON download. |
| update | yyyy-mm-dd | Full data | Only changes after this date. See How to get updates. |
| brands | comma separated brand names | All brands | Data only for these brands. See Separate brand(s) download. |
| lang | language code | Your default language | Language of the text values. See Language support. |
| mapping | 1 | Data is downloaded | Download the list of IDs and text values instead of the data. See ID fields and mapping. |
The default format is XML. JSON format is also available. To download JSON format you have to add "format=json" to the call link.
Example:
The XML root element uses the namespace http://www.auto-data.net/. If you parse the XML with XPath, you have to register this namespace.
Each call generates a file. If you make the same call again within 5 hours, you will get the lastly generated file. Every combination of parameters (lang, brands, update, format, mapping) is a separate file with its own 5 hours period. For example, calls with "lang=de" and "lang=fr" generate two different files.
Generating a full file may take some time. While a file is being generated, the same call returns an error (see Errors). Wait until the first call finishes, do not repeat it.
In demo mode the file is generated only once.
There are several ways to update your own database with fresh data. The easiest way is to download an update file with the changes in the data after the date you choose. Just add GET parameter "update" with value the date in format "yyyy-mm-dd" and you will receive only changes from this date till the moment. If the date is not valid, you will receive the full file.
When you update your database, do not forget to update parent parameters in the structure, as well. With the updates you will also receive a "deleted" field/tag, that describes deleted models/generations/images/modifications for the chosen period. Please, check the XML schema or the JSON schema and fields description (xlsx) (or ods) for more information.
Recommended way to keep your database up to date:
IMPORTANT!
Updates are valid for each date after 2021-02-19. You cannot download updates in demo mode!
Examples:
With the main link for your access you will get data for all available brands (or those you have access to). If you would like to download the data for a specific brand or brands, you can do that by adding a GET parameter "brands" to your link, and list (comma separated) the brand or brands you would like to download the data for. Brand names have to be the same as in the lists below. Use "+" for spaces in brand names. Unknown brand names are ignored.
Examples:
All available in the database brands can be downloaded:
We offer our data in 18 languages: English, Български, Русский, Deutsch, Italiano, Français, Español, Ελληνικά, Türkçe, Română, Suomi, Svenska, Norsk, Polski, Português, Nederlands, Čeština, Magyar.
When you place an order, you have to specify the default language for your access. You can download the data in each language with GET parameter "lang" and language code. If the language code is not valid, you will receive the data in your default language. Here are available language codes (Language - code):
Examples:
All text fields that come from a predefined list (fuel type, drive, body type, brakes, suspension, etc.) have an additional ID field next to them, for example "fuel" and "fuelId". The ID values never change, so you can use them with your own translations instead of the text values. Fields with more than one value (like "coupeId") contain a comma separated list of IDs, without spaces.
To get the list of all IDs and their text values, add GET parameter "mapping" to your link. The mapping contains only the fields you have access to. It supports "lang" and "format" parameters. Parameters "brands" and "update" are ignored.
Each dictionary in the mapping has a name (the name of the text field), the ID fields that use it and the list of items:
<mapping xmlns="http://www.auto-data.net/">
<dictionary>
<name>drive</name>
<fields>driveId</fields>
<item>
<id>1</id>
<value>Rear wheel drive</value>
</item>
...
</dictionary>
...
</mapping>
Examples:
If the call cannot be completed, you will receive HTTP status 403 with one of the following messages:
| Message | Reason |
|---|---|
| The token does not exist | Wrong access code. |
| Your API key is disabled! Contact us! | Your access is disabled. |
| Your API key has expired! Contact us! | Your access has expired. |
| Your account is limited! Try a new request in N seconds! | Your access has a limit for the time between calls. |
| The file is being created by another process! Please wait! | The same file is being generated by a previous call. Wait until it finishes. |
You also can access 2 sizes of brand logos:
Logos are directly available via brand names. If a brand name contains a space " ", you have to replace spaces with underscores "_". Logos are available as follows:
Here are some examples:
You may request a free demo here.