> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Search vehicles (GET)

> Proxies a search to the Typesense `transportstyrelsen` collection using standard query-string parameters. `per_page` is capped at 50.

<Badge color="green" size="sm">Pro+ tier</Badge>


## OpenAPI

````yaml get /search-public/vehicles
openapi: 3.1.1
info:
  title: TIC Lens API
  description: "The TIC Lens API provides programmatic access to company, person, property, vehicle, and order data.\r\n\r\n## Authentication\r\n\r\nAll requests require an API key passed via the `x-api-key` header:\r\n\r\n```bash\r\ncurl -H \"x-api-key: YOUR_API_KEY\" https://lens-api.tic.io/companies/123\r\n```\r\n\r\nAPI keys are managed through the TIC Lens web application under **Settings → API Keys**.\r\n\r\n## Base URL\r\n\r\n| Environment | URL |\r\n|-------------|-----|\r\n| Production  | `https://lens-api.tic.io` |\r\n\r\n## Feature Access\r\n\r\nEndpoints are gated by your subscription plan. If your plan does not include a feature, the endpoint will return `403 Forbidden`.\r\n\r\n## Rate Limits\r\n\r\nRate limits are applied per API key. If you exceed the limit, requests will return `429 Too Many Requests`.\r\n\r\n## Response Format\r\n\r\nAll responses are JSON. Null values are omitted from responses.\r\n"
  version: v1
servers:
  - url: https://lens-api.tic.io
security:
  - ApiKey: []
tags:
  - name: Addresses
  - name: Bolagsverket
  - name: Brf
  - name: Companies
  - name: Documents
  - name: FlightImages
  - name: Free
  - name: Orders
  - name: OrdersExports
  - name: PaymentControl
  - name: PaymentControlImport
  - name: Persons
  - name: Properties
  - name: PublicSearch
  - name: SearchAutocomplete
  - name: Sentinel
  - name: ServingPermits
  - name: Team
  - name: Teams
  - name: Transportstyrelsen
  - name: Vehicles
  - name: WatchList
paths:
  /search-public/vehicles:
    get:
      tags:
        - PublicSearch
      summary: Search vehicles (GET)
      description: >-
        Proxies a search to the Typesense `transportstyrelsen` collection using
        standard query-string parameters. `per_page` is capped at 50.
      operationId: SearchVehiclesGet
      responses:
        '200':
          description: Typesense search response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocumentTypesenseSearchResponse
        '502':
          description: Upstream Typesense error
components:
  schemas:
    Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocumentTypesenseSearchResponse:
      type: object
      properties:
        facet_counts:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Search_TypesenseFacetCounts'
        found:
          type: integer
          format: int32
        hits:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocumentHit
        grouped_hits:
          $ref: >-
            #/components/schemas/Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocumentGroupedHits
        out_of:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        request_params:
          $ref: '#/components/schemas/Ormeo_Library_Search_RequestParams'
        search_cutoff:
          type:
            - 'null'
            - boolean
        search_time_ms:
          type: integer
          format: int32
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCounts:
      type: object
      properties:
        counts:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_TypesenseFacetCountDetails
        field_name:
          type:
            - 'null'
            - string
        sampled:
          type: boolean
        stats:
          $ref: '#/components/schemas/Ormeo_Library_Search_TypesenseFacetCountsStats'
        localizedFieldName:
          type:
            - 'null'
            - string
          readOnly: true
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocumentHit:
      type: object
      properties:
        document:
          $ref: >-
            #/components/schemas/Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocument
        geo_distance_meters:
          type: 'null'
        highlight:
          type: 'null'
        highlights:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Search_HighlightElement'
        text_match:
          type:
            - 'null'
            - number
          format: double
        text_match_info:
          $ref: '#/components/schemas/Ormeo_Library_Search_TextMatchInfo'
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocumentGroupedHits:
      type: object
      properties:
        group_key:
          type:
            - 'null'
            - array
          items:
            type: string
        hits:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocumentHit
      additionalProperties: false
    Ormeo_Library_Search_RequestParams:
      type: object
      properties:
        collection_name:
          type:
            - 'null'
            - string
        first_q:
          type:
            - 'null'
            - string
        per_page:
          type:
            - 'null'
            - integer
          format: int64
        q:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCountDetails:
      type: object
      properties:
        count:
          type: integer
          format: int64
        highlighted:
          type:
            - 'null'
            - string
        value:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCountsStats:
      type: object
      properties:
        total_values:
          type: integer
          format: int64
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseTransportstyrelsenDocument:
      type: object
      properties:
        id:
          type:
            - 'null'
            - string
        currentOwnerCompanyId:
          type:
            - 'null'
            - string
        currentUserCompanyId:
          type:
            - 'null'
            - string
        lastMileageDate:
          type:
            - 'null'
            - integer
          format: int64
        mileageKm:
          type:
            - 'null'
            - integer
          format: int32
        wanted:
          type: boolean
        fabric:
          type:
            - 'null'
            - array
          items:
            type: string
        fuelCombination:
          type:
            - 'null'
            - string
        colorHex:
          type:
            - 'null'
            - string
        color:
          type:
            - 'null'
            - string
        name:
          type:
            - 'null'
            - string
        licencePlate:
          type:
            - 'null'
            - string
        deregistered:
          type:
            - 'null'
            - integer
          format: int64
        deregisteredText:
          type:
            - 'null'
            - string
        deregisteredCause:
          type:
            - 'null'
            - string
        vehicleType:
          type:
            - 'null'
            - string
        vehicleCategoryEU:
          type:
            - 'null'
            - string
        vehicleName:
          type:
            - 'null'
            - string
        tradeName:
          type:
            - 'null'
            - string
        modelYear:
          type:
            - 'null'
            - integer
          format: int32
        vehicleYear:
          type:
            - 'null'
            - integer
          format: int32
        vin:
          type:
            - 'null'
            - string
        fabricCode:
          type:
            - 'null'
            - string
        modelNumber:
          type:
            - 'null'
            - string
        groupNumber:
          type:
            - 'null'
            - string
        manufacturingYearAndMonth:
          type:
            - 'null'
            - integer
          format: int32
        manufactured:
          type:
            - 'null'
            - integer
          format: int64
        reusedLicencePlate:
          type:
            - 'null'
            - boolean
        registered:
          type:
            - 'null'
            - integer
          format: int64
        vehicleClass:
          type:
            - 'null'
            - string
        doodlebug:
          type:
            - 'null'
            - boolean
        manufacturer:
          type:
            - 'null'
            - string
        manfacturerBasicVehicle:
          type:
            - 'null'
            - string
        acquiredDate:
          type:
            - 'null'
            - integer
          format: int64
        address:
          type:
            - 'null'
            - string
        postalCode:
          type:
            - 'null'
            - string
        city:
          type:
            - 'null'
            - string
        municipalityCode:
          type:
            - 'null'
            - string
        numberOfOwners:
          type:
            - 'null'
            - integer
          format: int32
        acquiredByOwner:
          type:
            - 'null'
            - integer
          format: int64
        registrationType:
          type:
            - 'null'
            - string
        status:
          type:
            - 'null'
            - string
        statusDate:
          type:
            - 'null'
            - integer
          format: int64
        statusCause:
          type:
            - 'null'
            - string
        onLease:
          type:
            - 'null'
            - boolean
        areaOfUse1:
          type:
            - 'null'
            - string
        areaOfUse2:
          type:
            - 'null'
            - string
        areaOfUse3:
          type:
            - 'null'
            - string
        areaOfUse4:
          type:
            - 'null'
            - string
        areaOfUse5:
          type:
            - 'null'
            - string
        insuranceType:
          type:
            - 'null'
            - string
        insuranceCompany:
          type:
            - 'null'
            - string
        onCredit:
          type:
            - 'null'
            - boolean
        importer:
          type:
            - 'null'
            - string
        originCode:
          type:
            - 'null'
            - string
        originCause:
          type:
            - 'null'
            - string
        preregistered:
          type:
            - 'null'
            - integer
          format: int64
        earlierRegistration:
          type:
            - 'null'
            - integer
          format: int64
        directImport:
          type:
            - 'null'
            - boolean
        variety:
          type:
            - 'null'
            - string
        version:
          type:
            - 'null'
            - string
        type:
          type:
            - 'null'
            - string
        bodyworkCode1:
          type:
            - 'null'
            - string
        bodyworkCode2:
          type:
            - 'null'
            - string
        bodyworkCodeAddition:
          type:
            - 'null'
            - string
        busClass:
          type:
            - 'null'
            - string
        numberOfPassengers:
          type:
            - 'null'
            - integer
          format: int32
        numberOfSeats:
          type:
            - 'null'
            - integer
          format: int32
        eeg:
          type:
            - 'null'
            - string
        cylinderVolume:
          type:
            - 'null'
            - integer
          format: int32
        gearbox:
          type:
            - 'null'
            - string
        coupling1:
          type:
            - 'null'
            - string
        coupling2:
          type:
            - 'null'
            - string
        curbWeight:
          type:
            - 'null'
            - integer
          format: int32
        weightInDrivingCondition:
          type:
            - 'null'
            - integer
          format: int32
        totalWeight:
          type:
            - 'null'
            - integer
          format: int32
        fuelCode1:
          type:
            - 'null'
            - string
        fuelCode2:
          type:
            - 'null'
            - string
        fuelCode3:
          type:
            - 'null'
            - string
        enginePowerHk1:
          type:
            - 'null'
            - integer
          format: int32
        enginePowerHk2:
          type:
            - 'null'
            - integer
          format: int32
        enginePowerHk3:
          type:
            - 'null'
            - integer
          format: int32
        enginePowerUnit1:
          type:
            - 'null'
            - string
        enginePowerUnit2:
          type:
            - 'null'
            - string
        enginePowerUnit3:
          type:
            - 'null'
            - string
        fuelTankSize1:
          type:
            - 'null'
            - integer
          format: int32
        fuelTankSize2:
          type:
            - 'null'
            - integer
          format: int32
        fuelTankSize3:
          type:
            - 'null'
            - integer
          format: int32
        width:
          type:
            - 'null'
            - integer
          format: int32
        length:
          type:
            - 'null'
            - integer
          format: int32
        height:
          type:
            - 'null'
            - integer
          format: int32
        maxTrailerWeightKg:
          type:
            - 'null'
            - integer
          format: int32
        maxTrailerWeightB:
          type:
            - 'null'
            - integer
          format: int32
        maxTrailerWeightBExtB:
          type:
            - 'null'
            - integer
          format: int32
        maxWeightTrailer:
          type:
            - 'null'
            - integer
          format: int32
        maxWeightUnbreakedTrailer:
          type:
            - 'null'
            - integer
          format: int32
        maxTrailerSpeed:
          type:
            - 'null'
            - number
          format: double
        maxLoadWeight:
          type:
            - 'null'
            - integer
          format: int32
        fourWheelDrive:
          type:
            - 'null'
            - boolean
        maximumPowerForElectricVehicle:
          type:
            - 'null'
            - number
          format: double
        powerDuring30Minutes:
          type:
            - 'null'
            - number
          format: double
        powerDuring15Minutes:
          type:
            - 'null'
            - number
          format: double
        averagePayload:
          type:
            - 'null'
            - number
          format: double
        workVehicle:
          type:
            - 'null'
            - boolean
        environmentalClass:
          type:
            - 'null'
            - string
        environmentalVehicle:
          type:
            - 'null'
            - string
        environmentalClassEURO:
          type:
            - 'null'
            - string
        emissionClass:
          type:
            - 'null'
            - string
        superEnvironmentalVehicle:
          type:
            - 'null'
            - boolean
        co2Driv1:
          type:
            - 'null'
            - number
          format: double
        co2Driv2:
          type:
            - 'null'
            - number
          format: double
        co2Driv3:
          type:
            - 'null'
            - number
          format: double
        consumption1:
          type:
            - 'null'
            - number
          format: double
        consumption2:
          type:
            - 'null'
            - number
          format: double
        consumption3:
          type:
            - 'null'
            - number
          format: double
        energyConsumption:
          type:
            - 'null'
            - integer
          format: int32
        soundLevel1:
          type:
            - 'null'
            - integer
          format: int32
        soundLevel2:
          type:
            - 'null'
            - integer
          format: int32
        soundLevel3:
          type:
            - 'null'
            - integer
          format: int32
        consumptionWeightedMixed:
          type:
            - 'null'
            - number
          format: double
        co2WeightedMixed:
          type:
            - 'null'
            - number
          format: double
        wltp_C02Low1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02Low2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02Low3:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02Med1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02Med2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02Med3:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02High1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02High2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02High3:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02ExtraHigh1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02ExtraHigh2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02ExtraHigh3:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02Mixed1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02Mixed2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_C02Mixed3:
          type:
            - 'null'
            - integer
          format: int32
        wltp_CO2Weighted1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_CO2Weighted2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_CO2Weighted3:
          type:
            - 'null'
            - integer
          format: int32
        wltp_FuelConsumptionLow1:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionLow2:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionLow3:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionMed1:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionMed2:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionMed3:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionHigh1:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionHigh2:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionHigh3:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionExtraHigh1:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionExtraHigh2:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionExtraHigh3:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionMixed1:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionMixed2:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionMixed3:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionWeighted1:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionWeighted2:
          type:
            - 'null'
            - number
          format: double
        wltp_FuelConsumptionWeighted3:
          type:
            - 'null'
            - number
          format: double
        wltp_EnergyConsumption1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_EnergyConsumption2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_EnergyConsumption3:
          type:
            - 'null'
            - integer
          format: int32
        wltp_EnergyConsumptionWeighted1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_EnergyConsumptionWeighted2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_EnergyConsumptionWeighted3:
          type:
            - 'null'
            - integer
          format: int32
        wltp_Range1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_Range2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_RangeCity1:
          type:
            - 'null'
            - integer
          format: int32
        wltp_RangeCity2:
          type:
            - 'null'
            - integer
          format: int32
        wltp_CO2TypI_1:
          type:
            - 'null'
            - number
          format: double
        wltp_CO2TypI_2:
          type:
            - 'null'
            - number
          format: double
        wltp_CO2TypI_3:
          type:
            - 'null'
            - number
          format: double
        nedc_FuelConsumptionCity1:
          type:
            - 'null'
            - number
          format: double
        nedc_FuelConsumptionCity2:
          type:
            - 'null'
            - number
          format: double
        nedc_FuelConsumptionCity3:
          type:
            - 'null'
            - number
          format: double
        nedc_FuelConsumptionCountryRoad1:
          type:
            - 'null'
            - number
          format: double
        nedc_FuelConsumptionCountryRoad2:
          type:
            - 'null'
            - number
          format: double
        nedc_FuelConsumptionCountryRoad3:
          type:
            - 'null'
            - number
          format: double
        nedc_Range:
          type:
            - 'null'
            - integer
          format: int32
        eletricVehicleConfiguration:
          type:
            - 'null'
            - string
        electricOrHybrid:
          type:
            - 'null'
            - string
        numberOfAxles:
          type:
            - 'null'
            - integer
          format: int32
        wheelbase1:
          type:
            - 'null'
            - integer
          format: int32
        wheelbase2:
          type:
            - 'null'
            - integer
          format: int32
        wheelbase3:
          type:
            - 'null'
            - integer
          format: int32
        tireDimensionFront:
          type:
            - 'null'
            - string
        tireDimensionRear:
          type:
            - 'null'
            - string
        rimDimensionFront:
          type:
            - 'null'
            - string
        rimDimensionRear:
          type:
            - 'null'
            - string
        doubleCommand:
          type:
            - 'null'
            - boolean
        passengerAirbag:
          type:
            - 'null'
            - boolean
        rallyVehicle:
          type:
            - 'null'
            - boolean
        equipment1:
          type:
            - 'null'
            - string
        equipment2:
          type:
            - 'null'
            - string
        equipment3:
          type:
            - 'null'
            - string
        wheelbase1Miminum:
          type:
            - 'null'
            - integer
          format: int32
        wheelbase2Miminum:
          type:
            - 'null'
            - integer
          format: int32
        wheelbase3Miminum:
          type:
            - 'null'
            - integer
          format: int32
        maxSpeed:
          type:
            - 'null'
            - number
          format: double
        limitedSpeed:
          type:
            - 'null'
            - string
        advancedBreakingsystemMC:
          type:
            - 'null'
            - string
        lastInspection:
          type:
            - 'null'
            - integer
          format: int64
        inspectionStatus:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Search_HighlightElement:
      type: object
      properties:
        field:
          type:
            - 'null'
            - string
        matched_tokens:
          type:
            - 'null'
            - array
          items:
            type: string
        snippet:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Search_TextMatchInfo:
      type: object
      properties:
        best_field_score:
          type:
            - 'null'
            - string
        best_field_weight:
          type:
            - 'null'
            - integer
          format: int64
        fields_matched:
          type:
            - 'null'
            - integer
          format: int64
        num_tokens_dropped:
          type:
            - 'null'
            - integer
          format: int64
        score:
          type:
            - 'null'
            - string
        tokens_matched:
          type:
            - 'null'
            - integer
          format: int64
        typo_prefix_score:
          type:
            - 'null'
            - integer
          format: int64
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````