openapi: "3.0.0"
info:
  title: "Autotrader Search API"
  description: |
    The Autotrader Search API returns the new and used cars Autotrader.com lists for a search in the US, nationwide
    or around a 5-digit ZIP code. Search by make, model and trim and refine with filters such as condition, price,
    mileage, model year, fuel, body type, colours, deal rating, vehicle history and equipment. List parameters take
    several values separated by commas: `vehicle_history` and `equipment` require every value, the others accept any.

    **Cross-linking**: each result's `link` can be passed as `url`, and its `id` as `listing_id`, to the Autotrader
    Listing API (`engine=autotrader_listing`) for the car's details page. The values in `filters` and a result's
    `make_id`, `model_id` and `seller.id` can be passed back as `make`, `model` and `seller_id`.

    **Pagination limit**: Autotrader serves the first 300 cars of a search plus one page, so narrow
    with filters to reach deeper inventory.

    Prices are in US dollars, and mileage, distance and electric range in miles. Boolean fields are present only when
    true.
  version: "1.0.0"
servers:
  - url: "https://www.searchapi.io/api/v1"
paths:
  /search:
    get:
      summary: "Autotrader Search"
      security:
        - ApiKeyAuth: []
        - ApiKeyQuery: []
      parameters:
        - name: engine
          in: query
          required: true
          description: "Engine to use for the search."
          schema:
            type: string
            enum: ["autotrader_search"]
            default: "autotrader_search"
        - name: make
          in: query
          required: false
          description: "Vehicle makes, comma-separated, such as `toyota` or `honda,toyota`. Takes Autotrader's make names or codes, as the `make` group of `filters` lists them. An unknown make returns an error naming the closest Autotrader makes."
          schema:
            type: string
        - name: model
          in: query
          required: false
          description: "Vehicle models, comma-separated, up to 20, such as `camry`. Requires `make`. Each name or code is matched within the listed makes, as the `model` group of `filters` lists them. A shared name selects every matching make. Values such as `FORD|GT` select only that make's model. A listed make no model narrows is searched in full. An unknown model returns an error naming the closest models of the listed makes."
          schema:
            type: string
        - name: trim
          in: query
          required: false
          description: "Trims, comma-separated, up to 20, such as `LE,SE`. Requires `model`. Takes the trim names the `trim` group of `filters` lists for the listed models. Trims are case-sensitive. With `zip` or `seller_id`, a trim narrows the listed models with cars of that trim (when none has any, the listed models that offer it). Without either, it narrows every listed model that offers it. A listed model no trim narrows is searched in full. A trim none of the listed models offers returns an error naming it, as do more model and trim pairs than Autotrader accepts in one search."
          schema:
            type: string
        - name: q
          in: query
          required: false
          description: "Keywords to match in the listing. A car must match every word."
          schema:
            type: string
            maxLength: 100
        - name: zip
          in: query
          required: false
          description: "5-digit US ZIP code to search around. Without it, the search covers the whole US, and the options in `filters` carry no counts unless `seller_id` is set. A ZIP code Autotrader cannot place returns an error."
          schema:
            type: string
            pattern: "^\\d{5}$"
        - name: radius
          in: query
          required: false
          description: "Distance around `zip` in miles, where `0` sets no distance limit. Requires `zip`. Cars a dealer delivers can sit slightly beyond it."
          schema:
            type: integer
            minimum: 0
            maximum: 500
            default: 25
        - name: sort_by
          in: query
          required: false
          description: "Result order. `distance` requires `zip`. The price orders follow the displayed price, dealer fees included."
          schema:
            type: string
            enum: ["best_match", "price_asc", "price_desc", "distance", "newest", "oldest", "mileage_asc", "mileage_desc", "model_year_asc", "model_year_desc"]
            default: "best_match"
        - name: condition
          in: query
          required: false
          description: "Conditions, comma-separated, from `new`, `used`, `manufacturer_certified` and `third_party_certified`. `used` also returns certified cars."
          schema:
            type: string
        - name: seller_type
          in: query
          required: false
          description: "Lists the cars of dealers only, or of private sellers only."
          schema:
            type: string
            enum: ["dealer", "private"]
        - name: seller_id
          in: query
          required: false
          description: "Autotrader seller id, such as the `seller.id` of a result, to list that seller's cars: a whole number up to 2147483647. An id Autotrader has no seller for returns an error."
          schema:
            type: string
            pattern: "^\\d{1,10}$"
        - name: price_min
          in: query
          required: false
          description: "Lowest displayed price in US dollars, dealer fees included."
          schema:
            type: integer
            minimum: 0
            maximum: 10000000
        - name: price_max
          in: query
          required: false
          description: "Highest displayed price in US dollars, dealer fees included."
          schema:
            type: integer
            minimum: 0
            maximum: 10000000
        - name: mileage_min
          in: query
          required: false
          description: "Lowest mileage in miles."
          schema:
            type: integer
            minimum: 0
            maximum: 2000000
        - name: mileage_max
          in: query
          required: false
          description: "Highest mileage in miles."
          schema:
            type: integer
            minimum: 0
            maximum: 2000000
        - name: model_year_min
          in: query
          required: false
          description: "Earliest model year, up to next year."
          schema:
            type: integer
            minimum: 1900
        - name: model_year_max
          in: query
          required: false
          description: "Latest model year. A year after next year searches up to next year."
          schema:
            type: integer
            minimum: 1900
        - name: fuel_type
          in: query
          required: false
          description: "Fuel types, comma-separated, from `petrol`, `diesel`, `electric`, `hybrid`, `plug_in_hybrid` and `hydrogen`. `hybrid` also returns plug-in hybrids."
          schema:
            type: string
        - name: transmission
          in: query
          required: false
          description: "Transmissions, comma-separated, from `automatic` and `manual`."
          schema:
            type: string
        - name: body_type
          in: query
          required: false
          description: "Body types, comma-separated, from `convertible`, `coupe`, `hatchback`, `sedan`, `suv`, `pickup`, `van` and `station_wagon`."
          schema:
            type: string
        - name: drivetrain
          in: query
          required: false
          description: "Drivetrains, comma-separated, from `all_wheel`, `front` and `rear`."
          schema:
            type: string
        - name: color
          in: query
          required: false
          description: "Exterior colours, comma-separated, from `beige`, `black`, `blue`, `brown`, `burgundy`, `charcoal`, `gold`, `grey`, `green`, `off_white`, `orange`, `pink`, `violet`, `red`, `silver`, `tan`, `turquoise`, `white` and `yellow`."
          schema:
            type: string
        - name: interior_color
          in: query
          required: false
          description: "Interior colours, comma-separated, from `beige`, `black`, `blue`, `brown`, `burgundy`, `charcoal`, `gold`, `grey`, `green`, `off_white`, `orange`, `pink`, `violet`, `red`, `silver`, `tan`, `turquoise`, `white` and `yellow`."
          schema:
            type: string
        - name: cylinders
          in: query
          required: false
          description: "Cylinder counts, comma-separated, from `3`, `4`, `5`, `6`, `8`, `10`, `12` and `16`."
          schema:
            type: string
        - name: doors_min
          in: query
          required: false
          description: "Fewest doors."
          schema:
            type: integer
            minimum: 2
            maximum: 5
        - name: doors_max
          in: query
          required: false
          description: "Most doors."
          schema:
            type: integer
            minimum: 2
            maximum: 5
        - name: mpg_highway_min
          in: query
          required: false
          description: "Lowest highway fuel economy in miles per gallon."
          schema:
            type: integer
            enum: [10, 20, 30, 40]
        - name: price_level
          in: query
          required: false
          description: "Autotrader deal ratings, comma-separated, from `top` and `good`. `top` is a Great Price and `good` a Good Price."
          schema:
            type: string
        - name: vehicle_history
          in: query
          required: false
          description: "Vehicle history a car must have, comma-separated, from `no_accidents`, `one_owner`, `clean_title`, `no_frame_damage` and `free_report`. A car must have all of them."
          schema:
            type: string
        - name: equipment
          in: query
          required: false
          description: "Autotrader equipment ids, comma-separated, such as `1313` for Adaptive Cruise Control. The `equipment` group of `filters` lists the ids Autotrader offers for the search, with their names and any counts Autotrader gives, and the Autotrader Listing API gives a car's ids in `vehicle.equipment`. A car must have all of them. An unknown id returns an error naming the closest ids."
          schema:
            type: string
        - name: page
          in: query
          required: false
          description: "Page of results. Autotrader serves the first 300 cars of a search plus one page, so the last page is 13 at the default `num` and 4 at `num=100`."
          schema:
            type: integer
            minimum: 1
            maximum: 301
            default: 1
        - name: num
          in: query
          required: false
          description: "Cars per page."
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
        - name: zero_retention
          in: query
          required: false
          description: "Set to `true` to disable logging and persistent storage for this request. Enterprise plans only."
          schema:
            type: boolean
            default: false
        - name: api_key
          in: query
          required: false
          description: "Your SearchApi API key (or use the Authorization header)."
          schema:
            type: string
      responses:
        "200":
          description: "Successful response"
          content:
            application/json:
              schema:
                '$ref': "#/components/schemas/SearchResponse"
        "400":
          description: "Validation Error. There is an issue with query parameters, such as missing required parameters or invalid values."
          content:
            application/json:
              schema:
                '$ref': "#/components/schemas/ErrorResponse"
        "401":
          description: "Authentication Error. The API key is missing or invalid."
          content:
            application/json:
              schema:
                '$ref': "#/components/schemas/ErrorResponse"
        "403":
          description: "Forbidden. Zero data retention is not available to the account, or the account requires `zero_retention=true`."
          content:
            application/json:
              schema:
                '$ref': "#/components/schemas/ErrorResponse"
        "429":
          description: "Rate Limit Exceeded. The number of allowed requests has been exceeded. Consider upgrading your plan or waiting for the limit to reset."
          content:
            application/json:
              schema:
                '$ref': "#/components/schemas/ErrorResponse"
        "500":
          description: "Server Error. Internal server error."
          content:
            application/json:
              schema:
                '$ref': "#/components/schemas/ErrorResponse"
        "503":
          description: "Timeout. We could not retrieve results in 90 seconds."
          content:
            application/json:
              schema:
                '$ref': "#/components/schemas/ErrorResponse"
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: "Use Bearer authentication. Format: \"Bearer YOUR_API_KEY\""
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: "Pass API key as query parameter"
  schemas:
    SearchResponse:
      type: object
      properties:
        search_metadata:
          '$ref': "#/components/schemas/SearchMetadata"
        search_parameters:
          '$ref': "#/components/schemas/SearchParameters"
        search_information:
          '$ref': "#/components/schemas/SearchInformation"
        filters:
          type: array
          description: "Values each filter parameter takes for this search."
          items:
            '$ref': "#/components/schemas/Filter"
        organic_results:
          type: array
          description: "Cars on this page, in Autotrader's order."
          items:
            '$ref': "#/components/schemas/OrganicResult"
        pagination:
          '$ref': "#/components/schemas/Pagination"
        error:
          type: string
          description: "Explanation of an answer without cars, such as a ZIP code, trim or seller id Autotrader does not know."
    SearchMetadata:
      type: object
      required: ["status", "created_at"]
      properties:
        id:
          type: string
          description: "Unique identifier for the search request"
        status:
          type: string
          description: "Status of the search request"
        created_at:
          type: string
          format: date-time
          description: "Timestamp when the search was created"
        request_time_taken:
          type: number
          description: "Time taken to make the request in seconds"
        parsing_time_taken:
          type: number
          description: "Time taken to parse the results in seconds"
        total_time_taken:
          type: number
          description: "Total time taken for the search in seconds"
        request_url:
          type: string
          description: "Autotrader URL for this search"
        html_url:
          type: string
          description: "URL to view the stored response as escaped JSON"
        json_url:
          type: string
          description: "URL to view JSON results"
    SearchParameters:
      type: object
      properties:
        engine:
          type: string
          description: "Engine used"
        make:
          type: string
          description: "Value sent in make"
        model:
          type: string
          description: "Value sent in model"
        trim:
          type: string
          description: "Value sent in trim"
        q:
          type: string
          description: "Value sent in q"
        zip:
          type: string
          description: "Value sent in zip"
        radius:
          description: "Distance around zip in miles"
          oneOf:
            - type: integer
            - type: string
        sort_by:
          type: string
          description: "Result order"
        condition:
          type: string
          description: "Value sent in condition"
        seller_type:
          type: string
          description: "Value sent in seller_type"
        seller_id:
          type: string
          description: "Value sent in seller_id"
        price_min:
          type: string
          description: "Value sent in price_min"
        price_max:
          type: string
          description: "Value sent in price_max"
        mileage_min:
          type: string
          description: "Value sent in mileage_min"
        mileage_max:
          type: string
          description: "Value sent in mileage_max"
        model_year_min:
          type: string
          description: "Value sent in model_year_min"
        model_year_max:
          type: string
          description: "Value sent in model_year_max"
        fuel_type:
          type: string
          description: "Value sent in fuel_type"
        transmission:
          type: string
          description: "Value sent in transmission"
        body_type:
          type: string
          description: "Value sent in body_type"
        drivetrain:
          type: string
          description: "Value sent in drivetrain"
        color:
          type: string
          description: "Value sent in color"
        interior_color:
          type: string
          description: "Value sent in interior_color"
        cylinders:
          type: string
          description: "Value sent in cylinders"
        doors_min:
          type: string
          description: "Value sent in doors_min"
        doors_max:
          type: string
          description: "Value sent in doors_max"
        mpg_highway_min:
          type: string
          description: "Value sent in mpg_highway_min"
        price_level:
          type: string
          description: "Value sent in price_level"
        vehicle_history:
          type: string
          description: "Value sent in vehicle_history"
        equipment:
          type: string
          description: "Value sent in equipment"
        page:
          type: string
          description: "Value sent in page"
        num:
          description: "Cars per page"
          oneOf:
            - type: integer
            - type: string
        zero_retention:
          type: boolean
          description: "Whether logging and persistent storage were disabled for this request."
    SearchInformation:
      type: object
      required: ["page", "results_on_page"]
      properties:
        total_results:
          type: integer
          description: "Number of cars Autotrader counts for the search."
        total_pages:
          type: integer
          description: "Last page this search can reach at this `num`."
        page:
          type: integer
          description: "Page number of this response."
        results_on_page:
          type: integer
          description: "Number of cars on this page."
    Filter:
      type: object
      required: ["key", "options"]
      properties:
        key:
          type: string
          description: "Parameter the options feed."
          enum: ["make", "model", "trim", "condition", "seller_type", "price_level", "fuel_type", "body_type", "drivetrain", "transmission", "color", "interior_color", "cylinders", "vehicle_history", "equipment"]
        type:
          type: string
          description: "Filter name as Autotrader shows it, such as `Fuel Type`."
        options:
          type: array
          description: "Values the parameter takes."
          items:
            '$ref': "#/components/schemas/FilterOption"
    FilterOption:
      type: object
      required: ["value"]
      properties:
        text:
          type: string
          description: "Option as Autotrader names it."
        value:
          type: string
          description: "Value to send in the parameter named by the filter's `key`."
        count:
          type: integer
          description: "Number of cars Autotrader counts for this option."
        is_selected:
          type: boolean
          description: "Whether this search sent the option."
    OrganicResult:
      type: object
      required: ["position", "id", "link"]
      properties:
        position:
          type: integer
          description: "Position of the car on this page, from 1."
        id:
          type: string
          description: "Autotrader listing id, which the Autotrader Listing API takes as `listing_id`."
        title:
          type: string
          description: "Listing title, such as `Certified 2026 Toyota Camry XLE`."
        snippet:
          type: string
          description: "Opening of the seller's description of the car, cut short as Autotrader shows it."
        link:
          type: string
          description: "The car's details page on Autotrader, which the Autotrader Listing API takes as `url`."
        is_promoted:
          type: boolean
          description: "Whether the row is a paid placement."
        price:
          type: string
          description: "Displayed price in US dollars with dealer fees included, as text such as `$34,590`."
        extracted_price:
          type: integer
          description: "Displayed price in US dollars with dealer fees included."
        currency:
          type: string
          description: "Currency of every price of the car."
          enum: ["USD"]
        is_price_on_request:
          type: boolean
          description: "Whether the car is listed without a price."
        price_before_fees:
          type: string
          description: "Price before the dealer's fees, as text."
        extracted_price_before_fees:
          type: integer
          description: "Price before the dealer's fees in US dollars."
        estimated_value:
          '$ref': "#/components/schemas/EstimatedValue"
        price_level:
          type: string
          description: "Autotrader's deal rating, as the token the `price_level` parameter takes."
          enum: ["top", "good"]
        price_level_label:
          type: string
          description: "Autotrader's deal rating as the site shows it, such as `Great Price`."
        is_price_reduced:
          type: boolean
          description: "Whether Autotrader marks the price as reduced."
        price_history:
          type: array
          description: "Earlier prices of the car, oldest first."
          items:
            '$ref': "#/components/schemas/PriceChange"
        msrp:
          type: string
          description: "Manufacturer's suggested retail price, as text."
        extracted_msrp:
          type: integer
          description: "Manufacturer's suggested retail price in US dollars."
        days_on_market:
          type: integer
          description: "Days since the car was listed on Autotrader."
        condition:
          type: string
          description: "Condition of the car, as the token the `condition` parameter takes."
          enum: ["new", "used", "manufacturer_certified", "third_party_certified"]
        certification_program:
          type: string
          description: "Certification programme the car is listed under, such as `Toyota Certified Pre-Owned`."
        model_year:
          type: integer
          description: "Model year of the car, such as `2026`."
        make:
          type: string
          description: "Make name, such as `Toyota`."
        make_id:
          type: string
          description: "Autotrader make code, which the `make` parameter also takes."
        model:
          type: string
          description: "Model name, such as `Camry`."
        model_id:
          type: string
          description: "Autotrader model code, which the `model` parameter also takes."
        trim:
          type: string
          description: "Trim as Autotrader's catalogue names it, which can differ from the values the `trim` group of `filters` lists for the `trim` parameter."
        vin:
          type: string
          description: "Vehicle identification number."
        mileage:
          type: string
          description: "Mileage as text with its unit, such as `2,558 mi`."
        extracted_mileage:
          type: integer
          description: "Mileage in miles."
        mileage_unit:
          type: string
          description: "Unit of the mileage."
          enum: ["mi"]
        body_type:
          type: string
          description: "Body type, as the token the `body_type` parameter takes."
          enum: ["convertible", "coupe", "hatchback", "sedan", "suv", "pickup", "van", "station_wagon"]
        body_type_label:
          type: string
          description: "Body style as Autotrader names it, such as `Sport Utility`."
        body_subtype:
          type: string
          description: "Size class of the body as Autotrader names it, such as `Midsize` or `Fullsize Crew Cab`."
        bed_length:
          type: string
          description: "Length of a pickup's bed as Autotrader shows it, such as `5'6\"`."
        fuel_type:
          type: string
          description: "Fuel, as the token the `fuel_type` parameter takes."
          enum: ["petrol", "diesel", "electric", "hybrid", "plug_in_hybrid"]
        fuel_type_label:
          type: string
          description: "Fuel as Autotrader names it, such as `Hybrid Gas/Electric`."
        transmission:
          type: string
          description: "Transmission, as the token the `transmission` parameter takes."
          enum: ["automatic", "manual"]
        transmission_label:
          type: string
          description: "Transmission as Autotrader describes it, such as `Continuously Variable Automatic`."
        drivetrain:
          type: string
          description: "Drivetrain, as the token the `drivetrain` parameter takes."
          enum: ["all_wheel", "front", "rear"]
        drivetrain_label:
          type: string
          description: "Drivetrain as Autotrader describes it, such as `All wheel drive`."
        motor:
          type: string
          description: "Engine as Autotrader names it, such as `2.5L Inline-4 Gas`."
        cylinders:
          type: integer
          description: "Number of cylinders."
        doors:
          type: integer
          description: "Number of doors."
        color:
          type: string
          description: "Exterior colour, as the token the `color` parameter takes."
          enum: ["beige", "black", "blue", "brown", "burgundy", "charcoal", "gold", "grey", "green", "off_white", "orange", "pink", "violet", "red", "silver", "tan", "turquoise", "white", "yellow"]
        color_label:
          type: string
          description: "Exterior colour as Autotrader's colour filter names it."
        manufacturer_color:
          type: string
          description: "Exterior colour as the manufacturer names it, such as `Reservoir Blue`."
        interior_color:
          type: string
          description: "Interior colour, as the token the `interior_color` parameter takes."
          enum: ["beige", "black", "blue", "brown", "burgundy", "charcoal", "gold", "grey", "green", "off_white", "orange", "pink", "violet", "red", "silver", "tan", "turquoise", "white", "yellow"]
        interior_color_label:
          type: string
          description: "Interior colour as Autotrader's colour filter names it."
        fuel_economy:
          '$ref': "#/components/schemas/FuelEconomy"
        extracted_electric_range:
          type: integer
          description: "Electric range in miles."
        electric_range_unit:
          type: string
          description: "Unit of the electric range."
          enum: ["mi"]
        battery_type:
          type: string
          description: "Chemistry of the traction battery of a hybrid or electric car, such as `Lithium-Ion`."
        packages:
          type: array
          description: "Option packages the car has, such as `Premium Plus Package`."
          items:
            type: string
        is_accident_free:
          type: boolean
          description: "Whether the history report shows no accidents."
        has_accident_history:
          type: boolean
          description: "Whether the history report shows an accident."
        previous_owners:
          type: integer
          description: "Number of previous owners the history report shows."
        has_clean_title:
          type: boolean
          description: "Whether the history report shows no salvage title."
        has_salvage_title:
          type: boolean
          description: "Whether the history report shows a salvage title."
        has_frame_damage:
          type: boolean
          description: "Whether the history report shows frame damage."
        has_free_history_report:
          type: boolean
          description: "Whether the car's history report is free to read on Autotrader."
        history_report_link:
          type: string
          description: "Link to the car's AutoCheck vehicle history report."
        stock_number:
          type: string
          description: "Dealer's own stock number for the car."
        extracted_distance:
          type: number
          description: "Distance from `zip` in miles."
        distance_unit:
          type: string
          description: "Unit of the distance."
          enum: ["mi"]
        seller:
          '$ref': "#/components/schemas/Seller"
        location:
          '$ref': "#/components/schemas/Location"
        thumbnail:
          type: string
          description: "First photo of the car."
        images:
          type: array
          description: "Photos of the car."
          items:
            type: string
    EstimatedValue:
      type: object
      required: ["value"]
      description: "Kelley Blue Book's fair purchase price for the car and its range."
      properties:
        value:
          type: integer
          description: "Fair purchase price in US dollars."
        low:
          type: integer
          description: "Low end of the fair purchase range in US dollars."
        high:
          type: integer
          description: "High end of the fair purchase range in US dollars."
    PriceChange:
      type: object
      required: ["date", "price", "extracted_price"]
      properties:
        date:
          type: string
          description: "Date the price was set, as YYYY-MM-DD."
          format: date
        price:
          type: string
          description: "Price set on that date, as text."
        extracted_price:
          type: integer
          description: "Price set on that date in US dollars."
    FuelEconomy:
      type: object
      required: ["unit"]
      description: "Fuel economy rated for the car."
      properties:
        city:
          type: integer
          description: "City fuel economy in miles per gallon."
        highway:
          type: integer
          description: "Highway fuel economy in miles per gallon."
        unit:
          type: string
          description: "Unit of the fuel economy."
          enum: ["mpg"]
    Location:
      type: object
      description: "Where the seller lists the car."
      properties:
        street:
          type: string
          description: "Street of the seller's address."
        city:
          type: string
          description: "City of the seller's address."
        state:
          type: string
          description: "Two-letter state code of the seller's address."
        zip:
          type: string
          description: "ZIP code of the seller's address."
        latitude:
          type: number
          description: "Latitude of the seller's address."
        longitude:
          type: number
          description: "Longitude of the seller's address."
    Seller:
      type: object
      required: ["id", "type"]
      properties:
        id:
          type: string
          description: "Autotrader seller id, which the `seller_id` parameter of the Autotrader Search API takes."
        type:
          type: string
          description: "Whether the seller is a dealer or a private seller, as the token the `seller_type` parameter takes."
          enum: ["dealer", "private"]
        name:
          type: string
          description: "Dealer's name."
        phones:
          type: array
          description: "Seller's phone numbers."
          items:
            type: string
        rating:
          type: number
          description: "Average dealer rating out of 5."
        reviews:
          type: integer
          description: "Number of dealer reviews behind the rating."
        website:
          type: string
          description: "The car's page on the dealer's own website."
        logo:
          type: string
          description: "Dealer's logo image."
        has_home_delivery:
          type: boolean
          description: "Whether the dealer offers to deliver the car to the buyer's home."
    Pagination:
      type: object
      required: ["current_page", "total_pages"]
      properties:
        current_page:
          type: integer
          description: "Page number of this response."
        total_pages:
          type: integer
          description: "Last page this search can reach at this `num`."
        next_page:
          type: integer
          description: "Page number to send in `page` for the next page."
    ErrorResponse:
      type: object
      required: ["error"]
      properties:
        error:
          type: string
          description: "Error message describing what went wrong"
