TIC
Pro+ tier

These are the fields of the vehicles search collection behind /search-public/vehicles (GET, POST). Use them in query_by, filter_by and sort_by. The parameters, plan limits, Pro tier filtering, redacted properties and date handling that apply to every collection are described in Search, and the response schema on the endpoint pages.

Field guides for the other collections:

With our search for vehicles you can query (query_by) based on a number fields listed in the next chapter.

Examples on what you can query on:

  • Manufacturer
  • Licence plate
  • Model
  • Type

Fields indexed

The following fields are currently indexed in memory. These can be used in the query_by and filter_by parameter.

FieldTypeDescription
fabricstring[]Fabric name
vehicleClassDescriptionstring
vehicleTypeDescriptionstring
fuelCombinationstring
colorHexstring
colorstring
vehicleClassAndDescriptionstring
enginePowerHkAllstring[]
electricVehicleConfigurationDescriptionstring
fuelCodeDescriptionsstring[]
areaOfUsestring[]
couplingsstring[]
namestring
gearboxstring
manufacturingMonthDescriptionstring
licencePlatestring
deregisteredint64
deregisteredTextstring
deregisteredCausestring
vehicleTypestring
vehicleCategoryEUstring
vehicleNamestring
tradeNamestring
modelYearint32
vehicleYearint32
vinstring
fabricCodestring
modelNumberstring
groupNumberstring
manufacturingYearAndMonthint32
manufacturedint64
reuseLicencePlatebool
registeredint64
vehicleClassstring
doodlebugbool
manufacturerstring
manfacturerBasicVehiclestring
numberOfOwnersint32
acquiredByOwnerint64
registrationTypestring
statusstring
statusDateint64
statusCausestring
onLeasebool
areaOfUse1string
areaOfUse2string
areaOfUse3string
areaOfUse4string
areaOfUse5string
insuranceTypestring
onCreditbool
importerstring
originCodestring
originCausestring
preregisteredint64
earlierRegistrationint64
directImportbool
varietystring
versionstring
typestring
bodyworkCode1string
bodyworkCode2string
bodyworkCodeAdditionstring
busClassstring
numberOfPassengersint32
numberOfSeatsint32
eegstring
cylinderVolumeint32
gearboxstring
coupling1string
coupling2string
curbWeightint32
weightInDrivingConditionint32
totalWeightint32
fuelCode1string
fuelCode2string
fuelCode3string
enginePowerHk1int32
enginePowerHk2int32
enginePowerHk3int32
enginePowerUnit1string
enginePowerUnit2string
enginePowerUnit3string
fuelCombinationstring
fuelTankSize1int32
fuelTankSize2int32
fuelTankSize3int32
widthint32
lengthint32
heightint32
maxTrailerWeightKgint32
maxTrailerWeightBint32
maxTrailerWeightBExtBint32
maxWeightTrailerint32
maxWeightUnbreakedTrailerint32
maxTrailerSpeedfloat
maxLoadWeightint32
fourWheelDrivebool
maximumPowerForElectricVehiclefloat
powerDuring30Minutesfloat
powerDuring15Minutesfloat
averagePayloadfloat
workVehiclebool
environmentalClassstring
environmentalVehiclestring
environmentalClassEUROstring
emissionClassstring
superEnvironmentalVehiclebool
co2Driv1float
co2Driv2float
co2Driv3float
consumption1float
consumption2float
consumption3float
energyConsumptionint32
soundLevel1int32
soundLevel2int32
soundLevel3int32
consumptionWeightedMixedfloat
co2WeightedMixedfloat
wltp_C02Low1int32
wltp_C02Low2int32
wltp_C02Low3int32
wltp_C02Med1int32
wltp_C02Med2int32
wltp_C02Med3int32
wltp_C02High1int32
wltp_C02High2int32
wltp_C02High3int32
wltp_C02ExtraHigh1int32
wltp_C02ExtraHigh2int32
wltp_C02ExtraHigh3int32
wltp_C02Mixed1int32
wltp_C02Mixed2int32
wltp_C02Mixed3int32
wltp_CO2Weighted1int32
wltp_CO2Weighted2int32
wltp_CO2Weighted3int32
wltp_FuelConsumptionLow1float
wltp_FuelConsumptionLow2float
wltp_FuelConsumptionLow3float
wltp_FuelConsumptionMed1float
wltp_FuelConsumptionMed2float
wltp_FuelConsumptionMed3float
wltp_FuelConsumptionHigh1float
wltp_FuelConsumptionHigh2float
wltp_FuelConsumptionHigh3float
wltp_FuelConsumptionExtraHigh1float
wltp_FuelConsumptionExtraHigh2float
wltp_FuelConsumptionExtraHigh3float
wltp_FuelConsumptionMixed1float
wltp_FuelConsumptionMixed2float
wltp_FuelConsumptionMixed3float
wltp_FuelConsumptionWeighted1float
wltp_FuelConsumptionWeighted2float
wltp_FuelConsumptionWeighted3float
wltp_EnergyConsumption1int32
wltp_EnergyConsumption2int32
wltp_EnergyConsumption3int32
wltp_EnergyConsumptionWeighted1int32
wltp_EnergyConsumptionWeighted2int32
wltp_EnergyConsumptionWeighted3int32
wltp_Range1int32
wltp_Range2int32
wltp_RangeCity1int32
wltp_RangeCity2int32
wltp_CO2TypI_1float
wltp_CO2TypI_2float
wltp_CO2TypI_3float
nedc_FuelConsumptionCity1float
nedc_FuelConsumptionCity2float
nedc_FuelConsumptionCity3float
nedc_FuelConsumptionCountryRoad1float
nedc_FuelConsumptionCountryRoad2float
nedc_FuelConsumptionCountryRoad3float
nedc_Rangeint32
eletricVehicleConfigurationstring
numberOfAxlesstring
wheelbase1int32
wheelbase2int32
wheelbase3int32
tireDimensionFrontstring
tireDimensionRearstring
rimDimensionFrontstring
rimDimensionRearstring
doubleCommandbool
passengerAirbagbool
rallyVehiclebool
equipment1string
equipment2string
equipment3string
wheelbase1Miminumint32
wheelbase2Miminumint32
wheelbase3Miminumint32
maxSpeedfloat
limitedSpeedstring
advancedBreakingsystemMCstring
addressstring
citystring
postalCodestring

Types and mappings

Status

Contains information about the status of the vehicle.

Type Description
AVST Decommissioned
ITRAFIK In traffic
AVREG Deregistered

Vehicle types

Contains information about the vehicle type.

Type Description
PB Passenger vehicle
LB Truck
BUSS Bus
SLÄP Trailer
TR Tractor
MC Motorcycle
MOPED Moped class I
MRED Motorised work machine
TGHJUL ATV
TGSNÖ Snowmobile
TGV All-terrain vehicle
TGSL Terrain trailer
TGSK Terrain snowmobile

Vehicle classes

Contains information about the vehicle class.

Type Description
a Tractor a
b Tractor b
I class I
II class II, camper
LÄTT Light-duty
TUNG Heavy-duty
MRED1 Motorised work machine

Fuel codes

Contains a description of the fuel types the vehicle support.

Code Description
1 Gasoline
2 Diesel
3 Electricity
4 Kerosene
6 Producer gas
7 Ethanol
9 LPG
16 Methane gas
17 Hydrogen gas
18 Other
19 Biodiesel
20 CNG
21 LNG

Fuel combination code

Contains a description of fuel combinations.

Code Description
B Bi-fuel
D Dual-fuel
F Flex fuel
T Tri-fuel

Gearbox codes

Contains a description of the gearbox of the vehicle.

Code Description
M Manual
A Automatic
T Manual with addon
Z Automatic with addon
V Variomatic

Coupling codes

Contains a description of the couplings available on the vehicle.

Code Description
1 Trailer ball
2 Towing hook
3 Clevis
4 Miscellaneous
5 Turntable
6 Ball socket
7 Drawbar eye
8 Pin
9 Agricultural drawbar
10 Detachable ball
11 Other

Area of use codes

Contains a description of the areas of usage of the vehicle.

Code Description
11 Freight traffic
12 Taxi traffic
13 Bus traffic
14 Regular traffic
15 Vehicle rental
17 Emergency vehicles
18 Driving school
19 School bus (non-professional)
20 Per special decision
21 Taxi traffic (exempted for meter)
27 Rally car

Electric vehicle configuration

Contains a description of how the electric vehicle is configured.

Code Description
EL Electric only
Elhybrid Hybrid electric, not externally chargeable
Laddhybrid Plug-in hybrid, externally chargeable
Elhybrid bränslecell Fuel-cell hybrid, not externally chargeable
Laddhybrid bränslecell Fuel-cell plug-in hybrid, externally chargeable

Examples

We have put together a few example of how you can use search for vehicles to easy find data. Please note the last example were we show how you include company information.

Search for a licence plate

Freetext search, for this case it may be better to use filter_by=licencePlate:=YXD972 instead of q=YXD972.

cURLbash
curl -H "x-api-key: YOUR_API_KEY" \
  "https://lens-api.tic.io/search-public/vehicles?q=YXD972&query_by=licencePlate"
{
    {
    "facet_counts": [],
    "found": 1,
    "hits": [
        {
            "document": {
                "acquiredByOwner": 1666562400,
                "co2Driv1": 147.0,
                "color": "WHITE",
                "colorHex": "#FFFFFF",
                "consumption1": 5.6,
                "coupling1": "11",
                "curbWeight": 1732,
                "currentOwnerCompanyId": 1914247,
                "currentUserCompanyId": 2693627,
                "address": "TESTVÄGEN 1",
                "city": "STOCKHOLM",
                "postalCode": "12345",
                "cylinderVolume": 1968,
                "directImport": false,
                "doubleCommand": false,
                "eeg": "e1*2007/46*0217*26",
                "emissionClass": "EURO 6",
                "enginePowerHk1": 150,
                "enginePowerUnit1": "EG",
                "environmentalClassEURO": "6",
                "fabric": [
                    "Volkswagen"
                ],
                "fabricCode": "VW",
                "fourWheelDrive": true,
                "fuelCode1": "2",
                "gearbox": "A",
                "groupNumber": "904216",
                "height": 1886,
                "id": "3067040",
                "importer": "5560840968",
                "insuranceType": "ENSK",
                "lastInspection": 1737673200,
                "lastMileageDate": 1737673200,
                "length": 4878,
                "licencePlate": "YXD972",
                "manufacturingYearAndMonth": 201710,
                "maxLoadWeight": 643,
                "maxSpeed": 189.0,
                "maxTrailerWeightB": 1125,
                "maxTrailerWeightBExtB": 1875,
                "maxTrailerWeightKg": 1450,
                "maxWeightUnbreakedTrailer": 750,
                "mileageKm": 114038,
                "name": "VOLKSWAGEN, VW CADDY",
                "nedc_FuelConsumptionCity1": 6.3,
                "nedc_FuelConsumptionCountryRoad1": 5.2,
                "numberOfAxles": 2,
                "numberOfOwners": 6,
                "numberOfPassengers": 1,
                "onLease": true,
                "originCode": "INFÖRT",
                "passengerAirbag": true,
                "preregistered": 1509490800,
                "rallyVehicle": false,
                "registered": 1513897200,
                "registrationType": "1",
                "reusedLicencePlate": false,
                "rimDimensionFront": "6Jx16 ET50",
                "rimDimensionRear": "6Jx16 ET50",
                "soundLevel1": 70,
                "status": "ITRAFIK",
                "statusDate": 1666562400,
                "superEnvironmentalVehicle": false,
                "tireDimensionFront": "205/55 R16 94H rf.",
                "tireDimensionRear": "205/55 R16 94H rf.",
                "totalWeight": 2375,
                "tradeName": "CADDY",
                "type": "2KN",
                "variety": "BBDFSBX1",
                "vehicleCategoryEU": "N1",
                "vehicleClass": "LÄTT",
                "vehicleName": "VOLKSWAGEN, VW",
                "vehicleType": "LB",
                "vehicleYear": 2017,
                "version": "L0J2AD6AD62E088N1SN2VR27MMG2PLL371",
                "vin": "WV1ZZZ2KZJX043887",
                "wanted": false,
                "weightInDrivingCondition": 1732,
                "wheelbase1": 3006,
                "width": 1793
            },
            "highlight": {
                "licencePlate": {
                    "matched_tokens": [
                        "YXD972"
                    ],
                    "snippet": "<mark>YXD972</mark>"
                }
            },
            "highlights": [
                {
                    "field": "licencePlate",
                    "matched_tokens": [
                        "YXD972"
                    ],
                    "snippet": "<mark>YXD972</mark>"
                }
            ],
            "text_match": 578730123365711993,
            "text_match_info": {
                "best_field_score": "1108091339008",
                "best_field_weight": 15,
                "fields_matched": 1,
                "num_tokens_dropped": 0,
                "score": "578730123365711993",
                "tokens_matched": 1,
                "typo_prefix_score": 0
            }
        }
    ],
    "out_of": 11317782,
    "page": 1,
    "request_params": {
        "collection_name": "transportstyrelsen_20250202160026",
        "first_q": "YXD972",
        "per_page": 10,
        "q": "YXD972"
    },
    "search_cutoff": false,
    "search_time_ms": 0
}
}

Search for vin

Search for vin (vehicle identification number).

cURLbash
curl -H "x-api-key: YOUR_API_KEY" \
  "https://lens-api.tic.io/search-public/vehicles?q=WV1ZZZ2KZJX043887&query_by=vin"
{
    {
    "facet_counts": [],
    "found": 1,
    "hits": [
        {
            "document": {
                ...
}
}

Search for fabric

Searches for fabric, Volkswagen.

cURLbash
curl -H "x-api-key: YOUR_API_KEY" \
  "https://lens-api.tic.io/search-public/vehicles?q=Volkswagen&query_by=fabric"
{
    "facet_counts": [],
    "found": 994542,
    "hits": [
        {
            "document": {
                ...
}
}