With our search for vehicles you can query by 197 fields relating to vehicles in Sweden.

We provide an easy to use search API based on Typesense lightning-fast search database. That means that all features described in Typesense API version 27 is available in our API. Data is continously reindexed as new data arrives.

We today provide five rich search 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

The response model (schema) depends on your query and if you use faceting. If you do plain search we have added to our OpenAPI Schema the default response model.

OpenAPI Schema

Look for the model name TypesenseTransportstyrelsenDocument in the schema definition.

Fields indexed

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

FieldTypeDescription
fabricStringArrayFabric name
vehicleClassDescriptionString
vehicleTypeDescriptionString
fuelCombinationString
colorHexString
colorString
vehicleClassAndDescriptionString
enginePowerHkAllStringArray
electricVehicleConfigurationDescriptionString
fuelCodeDescriptionsStringArray
areaOfUseStringArray
couplingsStringArray
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
bodyworkCode1String
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

Types and mappings

Status

Contains information about the status of the vehicle.

TypeSwedishEnglish
AVSTAvställdDecommissioned
ITRAFIKI trafikIn traffic
AVREGAvregistreradDeregistered

Vehicle types

Contains information about the vehicle type (Swedish: fordonsslag).

TypeSwedishEnglish
PBPersonbilPassenger vehicle
LBLastbilTruck
BUSSBussBus
SLÄPSläpvagnTrailer
TRTraktorTractor
MCMotorcykelMotorcycle
MOPEDMoped klass IMoped class I
MREDMotorredskapMotorised work machine
TGHJULTerränghjulingATV
TGSNÖSnöskoterSnowmobile
TGVTerrängvagnAll-terrain vehicle
TGSLTerrängsläpTerrain trailer
TGSKTerrängsskoterTerrain snowmobile

Vehicle classes

Contains information about the vehicle class (Swedish: Fordonsslagsklass).

TypeSwedishEnglish
aTraktor aTractor a
bTraktor bTractor a
Iklass Iclass I
IIklass II, husbilclass II, camper
LÄTTLättLight-duty
TUNGTungHeavy-duty
MRED1MotorredskapMotorised work machine

Fuel codes

Contains a description of the fuel types the vehicle support.

CodeSwedishEnglish
1BensinGasoline
2DieselDiesel
3ElElectricity
4FotogenKerosene
6GengasCell gas
7EtanolEthanol
9MotorgasLPG
16MetangasMethane gas
17VätgasHydrogen gas
18AnnatOther
19BiodieselBiodiesel
20CNGCNG
21LNGLNG

Fuel combination code

Contains a description of fuel combinations.

CodeSwedishEnglish
BTvåbränsleBi-fuel
DDubbelbränsleDual-fuel
FFlexbränsleFlex fuel
TTrebränsle

Gearbox codes

Contains a description of the gearbox of the vehicle.

CodeSwedishEnglish
MManuellManual
AAutomatAutomatic
TManuell med tillsatsManual with addon
ZAutomat med tillsatsAutomatic with addon
VVariomaticVariomatic

Coupling codes

Contains a description of the couplings available on the vehicle (Swedish: kopplingsanordning).

CodeSwedishEnglish
1KulaTrailer ball
2KrokTowing hook
3Bygel
4Övrig
5Pivå / vändskivaTurntable
6Kulhandske
7Ögla
8Tapp
9Jordbruksdrag
10Demonterbar kula
11Annan

Area of use codes

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

CodeSwedishEnglish
11GodstrafikFreight traffic
12TaxitrafikTaxi traffic
13BusstrafikBus traffic
14LinjetrafikRegular traffic
15UthyrningsrörelseVehicle rental
17UtryckningsfordonEmergency vehicles
18TrafikskolaDriving school
19Ej yrkesmässig skolskjutsSchool bus (non-professional)
20Särskilt beslutPer special decision
21Taxitrafik (taxameterdispens)Taxi traffic (exempted for meter)
27RallybilRally car

Electric vehicle configuration

Contains a description of how the electric vehicle is configured.

CodeSwedishEnglish
ELEndast eldrift
ElhybridHybridelfordon som inte är externt laddbara
LaddhybridHybridelfordon som är externt laddbara
Elhybrid bränslecellHybridelfordon med bränslecell som inte är externt laddbara
Laddhybrid bränslecellHybridelfordon med bränslecell som är externt laddbara

Examples

We have put togheter 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.

cURL
curl https://api.tic.io/search/vehicles/se?q=YXD972&query_by=licencePlate&key=your_api_key
{
    {
    "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,
                "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).

cURL
curl https://api.tic.io/search/vehicles/se?q=WV1ZZZ2KZJX043887&query_by=vin&key=your_api_key
{
    {
    "facet_counts": [],
    "found": 1,
    "hits": [
        {
            "document": {
                ...
}
}

Search for fabric

Searches for fabric, Volkswagen.

cURL
curl https://api.tic.io/search/vehicles/se?q=Volkswagen&query_by=fabric&key=your_api_key
{
    "facet_counts": [],
    "found": 994542,
    "hits": [
        {
            "document": {
                ...
}
}