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

# /momondo/cars/search

> Search momondo car-hire quotes for a pick-up location over a pick-up/drop-off date and time range. Returns ranked cars with the vehicle name and class, seats, bags, transmission, air conditioning and fuel type, the cheapest total price, per-provider booking offers with deeplinks, mileage and fuel policies, free cancellation, the rental agency and the pick-up distance to the city centre. Optional filters narrow the results by car class, rental agency, fuel type, payment type, passenger capacity, max price and automatic-only.

**Price:** 20 credits

**⚠️ Common errors:** 412: No car-hire quotes found for the given location and dates



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/momondo/cars/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/momondo/cars/search:
    post:
      tags:
        - /momondo
      summary: /momondo/cars/search
      description: >-
        Search momondo car-hire quotes for a pick-up location over a
        pick-up/drop-off date and time range. Returns ranked cars with the
        vehicle name and class, seats, bags, transmission, air conditioning and
        fuel type, the cheapest total price, per-provider booking offers with
        deeplinks, mileage and fuel policies, free cancellation, the rental
        agency and the pick-up distance to the city centre. Optional filters
        narrow the results by car class, rental agency, fuel type, payment type,
        passenger capacity, max price and automatic-only.


        **Price:** 20 credits


        **⚠️ Common errors:** 412: No car-hire quotes found for the given
        location and dates
      operationId: __api_momondo_cars_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MomondoCarsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MomondoCar'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MomondoCarsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        location:
          type: string
          minLength: 2
        pickup_date:
          type: string
          format: date
        dropoff_date:
          type: string
          format: date
        pickup_hour:
          type: integer
          maximum: 23
          minimum: 0
          default: 10
        dropoff_hour:
          type: integer
          maximum: 23
          minimum: 0
          default: 10
        max_price:
          anyOf:
            - type: number
              exclusiveMinimum: 0
            - type: 'null'
        car_classes:
          items:
            $ref: '#/components/schemas/MomondoCarClass'
          type: array
          default: []
        vendors:
          items:
            $ref: '#/components/schemas/MomondoCarVendor'
          type: array
          default: []
        fuel_types:
          items:
            $ref: '#/components/schemas/MomondoCarFuelType'
          type: array
          default: []
        payment_types:
          items:
            $ref: '#/components/schemas/MomondoCarPaymentType'
          type: array
          default: []
        passenger_capacity:
          anyOf:
            - $ref: '#/components/schemas/MomondoCarCapacity'
            - type: 'null'
        automatic_only:
          type: boolean
          default: false
        sort:
          $ref: '#/components/schemas/MomondoCarsSort'
          default: cheapest
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - location
        - pickup_date
        - dropoff_date
        - count
    MomondoCar:
      properties:
        '@type':
          type: string
          default: MomondoCar
        id:
          type: string
        car_name:
          anyOf:
            - type: string
            - type: 'null'
        car_class:
          anyOf:
            - type: string
            - type: 'null'
        sip_code:
          anyOf:
            - type: string
            - type: 'null'
        seats:
          anyOf:
            - type: integer
            - type: 'null'
        bags:
          anyOf:
            - type: integer
            - type: 'null'
        transmission:
          anyOf:
            - type: string
            - type: 'null'
        has_air_conditioning:
          anyOf:
            - type: boolean
            - type: 'null'
        fuel_type:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        agency:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        pickup_distance:
          anyOf:
            - type: string
            - type: 'null'
        offers:
          items:
            $ref: '#/components/schemas/MomondoCarOffer'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    MomondoCarClass:
      type: string
      enum:
        - small
        - medium
        - large
        - suv
        - van
        - luxury
        - special
        - commercial
        - pickup_truck
        - convertible
    MomondoCarVendor:
      type: string
      enum:
        - ace
        - alamo
        - avis
        - budget
        - dollar
        - drivo
        - enterprise
        - hertz
        - national
        - payless
        - priceless
        - rent_a_wreck
        - sixt
        - thrifty
        - turo
    MomondoCarFuelType:
      type: string
      enum:
        - hybrid
        - electric
        - gas
        - other
    MomondoCarPaymentType:
      type: string
      enum:
        - pay_now
        - partial
        - pay_at_counter
    MomondoCarCapacity:
      type: string
      enum:
        - seats_2_4
        - seats_5_6
        - seats_7_plus
    MomondoCarsSort:
      type: string
      enum:
        - cheapest
        - distance
        - best
    MomondoCarOffer:
      properties:
        '@type':
          type: string
          default: MomondoCarOffer
        provider_code:
          anyOf:
            - type: string
            - type: 'null'
        provider_name:
          anyOf:
            - type: string
            - type: 'null'
        day_price:
          anyOf:
            - type: number
            - type: 'null'
        total_price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        mileage:
          anyOf:
            - type: string
            - type: 'null'
        is_free_cancellation:
          anyOf:
            - type: boolean
            - type: 'null'
        fuel_policy:
          anyOf:
            - type: string
            - type: 'null'
        payment_type:
          anyOf:
            - type: string
            - type: 'null'
        score:
          anyOf:
            - type: number
            - type: 'null'
        booking_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````