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

> ## Agent Instructions
> Perceptlayer is a web data API: one key for structured JSON from about 250 websites. Base URL https://api.perceptlayer.com.
> Send the key in the X-API-Key header. GET parameters go in the query string; POST parameters in a JSON body.
> A successful call costs the credits on its endpoint (X-Credits-Used); failed calls cost nothing. Errors are {"error": {"code", "message", "request_id"}}.
> AI agents can use every endpoint through the MCP server at https://api.perceptlayer.com/mcp (tools search_endpoints, get_endpoint, call_endpoint), with Authorization: Bearer <key>.
> Get a free key at https://perceptlayer.com/signup.

# CarGurus: Search

> Search from CarGurus. Costs 1 credit per successful call.

1 credit per successful call; failed calls are free. See the [CarGurus API overview](https://perceptlayer.com/apis/cargurus) for every CarGurus endpoint.


## OpenAPI

````yaml /openapi.json get /v1/cargurus/search
openapi: 3.1.0
info:
  title: Perceptlayer API
  version: 1.0.0
  description: >-
    One API key for structured web data. Each successful call costs the credits
    shown on its endpoint; failed calls are free.
servers:
  - url: https://api.perceptlayer.com
security:
  - ApiKeyAuth: []
tags:
  - name: 99acres
  - name: Agoda
  - name: Airbnb
  - name: AliExpress
  - name: Apartments.com
  - name: Apple App Store
  - name: Aramisauto
  - name: Arbeitsagentur Jobs
  - name: Argenprop
  - name: Autohero
  - name: AutoScout24
  - name: AutoTempest
  - name: AutoTrack.nl
  - name: Autotrader
  - name: AutoTrader.ca
  - name: AutoTrader UK
  - name: AutoUncle
  - name: Autovit
  - name: Baidu
  - name: Bandcamp
  - name: Bayut
  - name: Behance
  - name: Bien'ici
  - name: Bilbasen
  - name: Bilibili
  - name: Billiger.de
  - name: Bing
  - name: Blocket Bil
  - name: Bluesky
  - name: Boliga
  - name: Booking.com
  - name: Booli
  - name: Brave Search
  - name: Bring a Trailer
  - name: Capterra
  - name: CarDekho
  - name: CarGurus
  - name: CarMax
  - name: Cars & Bids
  - name: Cars.com
  - name: Cars24
  - name: Carsales
  - name: Carvana
  - name: Carwow
  - name: Casa.it
  - name: Centris
  - name: Coches.net
  - name: Copart
  - name: Craigslist
  - name: Crexi
  - name: Daft.ie
  - name: Dailymotion
  - name: DBA
  - name: Depop
  - name: DeviantArt
  - name: Dice
  - name: Domain Availability
  - name: Domain.com.au
  - name: Dribbble
  - name: Dubizzle
  - name: DuckDuckGo
  - name: eBay
  - name: Economy Car Rentals
  - name: Edmunds
  - name: Eventbrite
  - name: Expedia
  - name: Facebook
  - name: Facebook Ad Library
  - name: Fincaraiz
  - name: FINN
  - name: FINN Bil
  - name: Flickr
  - name: FlixBus
  - name: Fotocasa
  - name: Geizhals
  - name: Genius
  - name: GetYourGuide
  - name: GitHub
  - name: Glassdoor
  - name: Goodreads
  - name: Google Ads Transparency
  - name: Google Events
  - name: Google Finance
  - name: Google Flights
  - name: Google Forums
  - name: Google Hotels
  - name: Google Images
  - name: Google Jobs
  - name: Google Lens
  - name: Google Local
  - name: Google Local Services
  - name: Google Maps
  - name: Google News
  - name: Google Patents
  - name: Google Play
  - name: Google Related Questions
  - name: Google Scholar
  - name: Google Search
  - name: Google Shopping
  - name: Google Short Videos
  - name: Google Translate
  - name: Google Travel Explore
  - name: Google Trends
  - name: Google Videos
  - name: Gumtree
  - name: Habitaclia
  - name: Hacker News
  - name: Hemnet
  - name: heycar
  - name: HolidayCheck
  - name: Holidu
  - name: Homegate
  - name: HomeToGo
  - name: Hostelworld
  - name: HotPads
  - name: IAAI
  - name: Idealista
  - name: Idealo
  - name: Imgur
  - name: ImmobilienScout24
  - name: ImmobilienScout24 Austria
  - name: ImmoScout24 Switzerland
  - name: Immoweb
  - name: Immowelt
  - name: Imovirtual
  - name: Impressum Extraction
  - name: Indeed
  - name: InfoJobs
  - name: Inmuebles24
  - name: Instagram
  - name: Jameda
  - name: Kavak
  - name: Kayak Flights
  - name: Kayak
  - name: Kelley Blue Book
  - name: Kick
  - name: Kijiji
  - name: Kiwi.com
  - name: Kleinanzeigen
  - name: kununu
  - name: Kwai
  - name: La Centrale
  - name: Leboncoin Autos
  - name: Leboncoin Immo
  - name: Lemmy
  - name: Letterboxd
  - name: Link in Bio
  - name: LinkedIn
  - name: Linktree
  - name: LLM Answers
  - name: LoopNet
  - name: Madlan
  - name: MagicBricks
  - name: Marktplaats
  - name: Marktplaats Autos
  - name: Mastodon
  - name: Medium
  - name: Mercado Libre
  - name: Metrocuadrado
  - name: Milanuncios
  - name: Mixcloud
  - name: mobile.de
  - name: Motors.co.uk
  - name: MyAnimeList
  - name: Naukri
  - name: Naver
  - name: North Data
  - name: Odysee
  - name: OfferUp
  - name: Ohne-Makler
  - name: OLX Poland
  - name: Omio
  - name: OnTheMarket
  - name: Otodom
  - name: Otomoto
  - name: Patreon
  - name: Pinterest
  - name: Private Property
  - name: Product Hunt
  - name: Property Finder
  - name: realestate.com.au
  - name: Realtor.ca
  - name: Redfin
  - name: Reed
  - name: Rentalcars.com
  - name: Rentalia
  - name: Ricardo
  - name: Rightmove
  - name: Rumble
  - name: SEEK
  - name: SeLoger
  - name: Semrush
  - name: Similarweb
  - name: Skyscanner
  - name: Snapchat
  - name: SoundCloud
  - name: SpareRoom
  - name: Spotahome
  - name: Spotify
  - name: Sreality
  - name: Standvirtual
  - name: Startpage
  - name: Steam
  - name: StepStone
  - name: Subito
  - name: Subito Motori
  - name: Substack
  - name: SuperCasa
  - name: Telegram
  - name: Threads
  - name: TikTok
  - name: Trade Me Property
  - name: Trainline
  - name: Tripadvisor
  - name: Trivago
  - name: TrueCar
  - name: Trulia
  - name: Trusted Shops
  - name: Trustpilot
  - name: Truth Social
  - name: Tumblr
  - name: tutti.ch
  - name: Twitch
  - name: Viator
  - name: Vimeo
  - name: Vinted
  - name: VivaReal
  - name: VK
  - name: Vrbo
  - name: Wallapop
  - name: Walmart
  - name: Web Scraper
  - name: Weibo
  - name: Welcome to the Jungle
  - name: WG-Gesucht
  - name: willhaben
  - name: wlw
  - name: X (Twitter)
  - name: XING Jobs
  - name: Yad2
  - name: Yaencontre
  - name: Yahoo Search
  - name: Yelp
  - name: YouTube
  - name: Zillow
  - name: Zonaprop
  - name: Zoopla
  - name: Zumper
paths:
  /v1/cargurus/search:
    get:
      tags:
        - CarGurus
      summary: Search
      description: Search from CarGurus. Costs 1 credit per successful call.
      operationId: cargurus_search
      parameters:
        - name: make_model_trim_paths
          in: query
          required: false
          schema:
            type: string
            maxLength: 200
          example: m26/d126
        - name: price_min
          in: query
          required: false
          schema:
            type: integer
        - name: price_max
          in: query
          required: false
          schema:
            type: integer
        - name: distance
          in: query
          required: false
          schema:
            type: integer
          example: 50000
        - name: sort
          in: query
          required: false
          schema:
            type: string
            enum:
              - best_match
              - deal_score
              - price
              - mileage
              - distance
              - date
          example: best_match
        - name: sort_direction
          in: query
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
        - name: page
          in: query
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: Success
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
            X-Credits-Used:
              $ref: '#/components/headers/CreditsUsed'
            X-Credits-Remaining:
              $ref: '#/components/headers/CreditsRemaining'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
          content:
            application/json:
              schema:
                type: object
                properties:
                  endpoint:
                    type: string
                  params:
                    type: object
                    properties:
                      make_model_trim_paths:
                        type: string
                      distance:
                        type: string
                      sort:
                        type: string
                  response:
                    type: object
                    properties:
                      success:
                        type: boolean
                      data:
                        type: object
                        properties:
                          listings:
                            type: array
                            items:
                              type: object
                              properties:
                                listing_id:
                                  type: integer
                                listing_title:
                                  type: string
                                listing_url:
                                  type: string
                                vin:
                                  type: string
                                stock_number:
                                  type: string
                                year:
                                  type: integer
                                make:
                                  type: string
                                make_id:
                                  type: string
                                model:
                                  type: string
                                model_id:
                                  type: string
                                trim:
                                  type: string
                                body_type:
                                  type: string
                                body_type_group_id:
                                  type: string
                                entity_id:
                                  type: string
                                price:
                                  type: object
                                  properties:
                                    amount:
                                      type: integer
                                    currency:
                                      type: string
                                    localized:
                                      type: string
                                    rating:
                                      type: string
                                    fees_compliant:
                                      type: boolean
                                mileage:
                                  type: object
                                  properties:
                                    value:
                                      type: integer
                                    unit:
                                      type: string
                                    localized:
                                      type: string
                                engine:
                                  type: string
                                power:
                                  type: integer
                                transmission:
                                  type: string
                                drivetrain:
                                  type: string
                                fuel_type:
                                  type: string
                                doors:
                                  type: string
                                days_on_market:
                                  type: integer
                                distance:
                                  type: number
                                images:
                                  type: object
                                  properties:
                                    primary_url:
                                      type: string
                                    count:
                                      type: integer
                                seller:
                                  type: object
                                  properties:
                                    seller_id:
                                      type: integer
                                    service_provider_id:
                                      type: string
                                    name:
                                      type: string
                                    city:
                                      type: string
                                    region:
                                      type: string
                                    postal_code:
                                      type: string
                                    location:
                                      type: string
                                    logo_url:
                                      type: string
                                    phone:
                                      type: string
                                is_new:
                                  type: boolean
                                is_cpo:
                                  type: boolean
                                seller_type:
                                  type: string
                                exterior_color:
                                  type: string
                                interior_color:
                                  type: string
                                features:
                                  type: array
                                  items:
                                    type: string
                          pagination:
                            type: object
                            properties:
                              page:
                                type: integer
                              page_size:
                                type: integer
                              page_count:
                                type: integer
                              total:
                                type: integer
                              has_more:
                                type: boolean
                      meta:
                        type: object
                        properties:
                          duration_ms:
                            type: integer
                          endpoint_family:
                            type: string
                          market:
                            type: string
                description: >-
                  The fields of a recorded response. Other responses can carry
                  more, or leave some out.
              example:
                endpoint: cargurus.search
                params:
                  make_model_trim_paths: m26/d126
                  distance: '50000'
                  sort: best_match
                response:
                  success: true
                  data:
                    listings:
                      - listing_id: 461955634
                        listing_title: 1994 GMC Suburban
                        listing_url: https://www.cargurus.com/details/461955634
                        vin: 1GKFK16K4RJ704247
                        stock_number: CT1314A
                        year: 1994
                        make: GMC
                        make_id: m26
                        model: Suburban
                        model_id: d126
                        trim: K1500 4WD
                        body_type: SUV / Crossover
                        body_type_group_id: bg7
                        entity_id: t5758
                        price:
                          amount: 5000
                          currency: USD
                          localized: $5,000
                          rating: NA
                          fees_compliant: true
                        mileage:
                          value: 303817
                          unit: MILES
                          localized: 303,817
                        engine: 190 hp 5.7L V8
                        power: 190
                        transmission: 4-Speed Automatic
                        drivetrain: Four-Wheel Drive
                        fuel_type: Gasoline
                        doors: 4 doors
                        days_on_market: 5
                        distance: 1064.2104
                        images:
                          primary_url: >-
                            https://static.cargurus.com/images/forsale/2026/10/23/06/01/1994_gmc_suburban-pic-6602116930877025209-1024x768.jpeg
                        seller:
                          seller_id: 2310902
                          service_provider_id: '61896'
                          name: Max Chrysler Dodge Jeep Ram Clinton
                          city: Clinton
                          region: MO
                          postal_code: '64735'
                          location: Clinton, MO
                          logo_url: >-
                            https://static.cargurus.com/images/site/2023/12/18/10/18/max_chrysler_dodge_jeep_ram_clinton-pic-14563527118277979221-200x200.jpeg
                          phone: +1 660-638-5806
                        is_new: false
                        is_cpo: false
                        seller_type: DEALER
                      - listing_id: 461194930
                        listing_title: 1996 GMC Suburban
                        listing_url: https://www.cargurus.com/details/461194930
                        vin: 3GKFK16R5TG503480
                        stock_number: '857'
                        year: 1996
                        make: GMC
                        make_id: m26
                        model: Suburban
                        model_id: d126
                        trim: K1500 4WD
                        body_type: SUV / Crossover
                        body_type_group_id: bg7
                        entity_id: t5647
                        price:
                          amount: 7995
                          currency: USD
                          localized: $7,995
                          rating: NA
                          fees_compliant: true
                        mileage:
                          value: 175456
                          unit: MILES
                          localized: 175,456
                        engine: 250 hp 5.7L V8
                        power: 250
                        transmission: Automatic
                        drivetrain: Four-Wheel Drive
                        fuel_type: Gasoline
                        exterior_color: Green
                        interior_color: Gray
                        doors: 4 doors
                        days_on_market: 14
                        distance: 537.75244
                        images:
                          primary_url: >-
                            https://static.cargurus.com/images/forsale/2026/10/14/06/42/1996_gmc_suburban-pic-7257782627014823156-1024x768.jpeg
                          count: 18
                        seller:
                          seller_id: 1654202
                          service_provider_id: '349337'
                          name: Little Rock Auto Sales
                          city: Charlotte
                          region: NC
                          postal_code: '28214'
                          location: Charlotte, NC
                          phone: +1 980-243-4720
                        is_new: false
                        is_cpo: false
                        seller_type: DEALER
                      - listing_id: 457265465
                        listing_title: 1993 GMC Suburban
                        listing_url: https://www.cargurus.com/details/457265465
                        vin: 1GKGK26N8PJ702664
                        stock_number: '702664'
                        year: 1993
                        make: GMC
                        make_id: m26
                        model: Suburban
                        model_id: d126
                        trim: K2500 4WD
                        body_type: SUV / Crossover
                        body_type_group_id: bg7
                        entity_id: t5818
                        price:
                          amount: 14995
                          currency: USD
                          localized: $14,995
                          rating: NA
                          fees_compliant: true
                        mileage:
                          value: 100474
                          unit: MILES
                          localized: 100,474
                        engine: 7.4L V8
                        transmission: Automatic
                        drivetrain: Four-Wheel Drive
                        fuel_type: Gasoline
                        exterior_color: Black
                        interior_color: Gray
                        doors: 4 doors
                        days_on_market: 57
                        distance: 738.74396
                        images:
                          primary_url: >-
                            https://static.cargurus.com/images/forsale/2026/08/27/08/02/1993_gmc_suburban-pic-7103800788573285849-1024x768.jpeg
                          count: 19
                        features:
                          - Steel Wheels
                        seller:
                          seller_id: 349130
                          service_provider_id: '328451'
                          name: Salem Autosports
                          city: Trevor
                          region: WI
                          postal_code: '53179'
                          location: Trevor, WI
                          logo_url: >-
                            https://static.cargurus.com/images/site/2016/03/17/12/26/salem_autosports-pic-2747075027846594839-200x200.jpeg
                          phone: +1 262-747-0782
                        is_new: false
                        is_cpo: false
                        seller_type: DEALER
                    pagination:
                      page: 1
                      page_size: 21
                      page_count: 1
                      total: 21
                      has_more: false
                  meta:
                    duration_ms: 1556
                    endpoint_family: search
                    market: US
        '401':
          $ref: '#/components/responses/Error'
        '402':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
        '504':
          $ref: '#/components/responses/Error'
components:
  headers:
    RequestId:
      description: Unique ID for this request; quote it in support requests.
      schema:
        type: string
    CreditsUsed:
      description: Credits charged for this call (0 when it failed).
      schema:
        type: integer
    CreditsRemaining:
      description: Your balance after this call.
      schema:
        type: integer
    RateLimitLimit:
      description: >-
        Requests a minute your account may make: its rate in requests per second
        times 60.
      schema:
        type: integer
    RateLimitRemaining:
      description: Requests left in the current minute, shared by every key on the account.
      schema:
        type: integer
    RateLimitReset:
      description: Seconds until the current minute's count starts over.
      schema:
        type: integer
    RateLimitPolicy:
      description: The limit and its window in seconds, for example "300;w=60".
      schema:
        type: string
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.