Dictionary objects
Small reference objects returned by the dictionary endpoints. Cache them; they change rarely.
Domain From /domains.
Source hostname, without protocol.
Brand From /brands.
Brand ID. Internal catalogue documents without an ID are excluded.
Omitted on api.auctionsapi.com.
Model From /models/{brand_id}.
3 child attributes
Generation Inside Model.generations.
Country From /countries.
Internal country ID. Matches numeric listings[].location.country and Location.country_id; not a location/GeoNames ID.
Display name selected using lang, with source-name fallback.
Unlocalized stored name.
Uppercase two-letter ISO code.
Uppercase three-letter ISO code.
Location From /locations.
Location dictionary ID. Use for numeric location_id, location_admin_1 and location_admin_2 values.
Display name selected using lang. English uses the stored name. Other locales prefer nonhistoric alternative names in the requested language or without a language, ordered by is_preferred, then fall back to the stored name.
Internal country ID, resolved through /countries.
First-level administrative location ID; may equal this record ID.
Second-level administrative location ID; may equal this record ID.
Source administrative code, not a guaranteed location ID. Preserve as a string.
Source administrative code, not a guaranteed location ID. Preserve as a string.
Source administrative code, not a guaranteed location ID. Preserve as a string.
Uppercase source feature class. A = administrative area; P = populated place.
Uppercase source feature code. ADM1 = first-level region; ADM2 = second-level district.
OptionSection From /car-option-sections.
1 child attributes
Language-to-text map. PHP serializes an empty map as [].
Option From /car-options.
3 child attributes
Language-to-text map. PHP serializes an empty map as [].
Language-to-text map. PHP serializes an empty map as [].
Language-to-text map. PHP serializes an empty map as [].
3 child attributes
1 child attributes
Language-to-text map. PHP serializes an empty map as [].
3 child attributes
1 child attributes
Language-to-text map. PHP serializes an empty map as [].
{
"id": 55679,
"name": "SeekAuto.com",
"base_url": "seekauto.com",
"domain": "seekauto.com"
}{
"id": 1968,
"name": "Flying Spur",
"generations": [
{
"name": "III",
"from": 2019,
"to": null
},
{
"name": "II",
"from": 2013,
"to": 2019
}
]
}{
"data": {
"id": 1,
"name": "Afghanistan",
"original_name": "Afghanistan",
"native": "افغانستان",
"iso": "AF",
"iso3": "AFG"
}
}