> ## 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.

# AutoTrader UK: Search

> Search from AutoTrader UK. Costs 1 credit per successful call.

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


## OpenAPI

````yaml /openapi.json get /v1/autotrader-uk/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/autotrader-uk/search:
    get:
      tags:
        - AutoTrader UK
      summary: Search
      description: Search from AutoTrader UK. Costs 1 credit per successful call.
      operationId: autotrader_uk_search
      parameters:
        - name: postcode
          in: query
          required: true
          schema:
            type: string
            maxLength: 8
          example: SW1A1AA
        - name: price_search_type
          in: query
          required: false
          schema:
            type: string
            enum:
              - total
              - monthly
          example: total
        - name: make
          in: query
          required: false
          schema:
            type: string
            maxLength: 100
          example: BMW
        - name: model
          in: query
          required: false
          schema:
            type: string
            maxLength: 100
        - name: body_type
          in: query
          required: false
          schema:
            type: string
            maxLength: 100
        - name: colour
          in: query
          required: false
          schema:
            type: string
            maxLength: 100
        - name: transmission
          in: query
          required: false
          schema:
            type: string
            maxLength: 100
        - name: seller_type
          in: query
          required: false
          schema:
            type: string
            enum:
              - private
              - trade
        - name: fuel_type[]
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
              maxLength: 50
        - name: min_price
          in: query
          required: false
          schema:
            type: integer
        - name: max_price
          in: query
          required: false
          schema:
            type: integer
        - name: min_year_manufactured
          in: query
          required: false
          schema:
            type: integer
        - name: max_year_manufactured
          in: query
          required: false
          schema:
            type: integer
        - name: min_mileage
          in: query
          required: false
          schema:
            type: integer
        - name: max_mileage
          in: query
          required: false
          schema:
            type: integer
        - name: distance
          in: query
          required: false
          schema:
            type: integer
        - name: sort
          in: query
          required: false
          schema:
            type: string
            enum:
              - relevance
              - price_asc
              - price_desc
              - distance
              - mileage
              - year_dsc
              - year_asc
              - most_recent
          example: relevance
        - name: page
          in: query
          required: false
          schema:
            type: integer
          example: 1
      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:
                      postcode:
                        type: string
                      price_search_type:
                        type: string
                      make:
                        type: string
                      page:
                        type: string
                      sort:
                        type: string
                  response:
                    type: object
                    properties:
                      success:
                        type: boolean
                      data:
                        type: object
                        properties:
                          listings:
                            type: array
                            items:
                              type: object
                              properties:
                                advert_id:
                                  type: string
                                type:
                                  type: string
                                title:
                                  type: string
                                sub_title:
                                  type: string
                                attention_grabber:
                                  type: string
                                price:
                                  type: object
                                  properties:
                                    amount:
                                      type: integer
                                    currency:
                                      type: string
                                    display:
                                      type: string
                                vehicle_location:
                                  type: string
                                location_type:
                                  type: string
                                distance:
                                  type: object
                                  properties:
                                    value:
                                      type: integer
                                    unit:
                                      type: string
                                images:
                                  type: array
                                  items:
                                    type: string
                                number_of_images:
                                  type: integer
                                seller_type:
                                  type: string
                                dealer_link:
                                  type: string
                                fpa_link:
                                  type: string
                                has_digital_retailing:
                                  type: boolean
                                pre_reg:
                                  type: boolean
                                dealer_review:
                                  type: object
                                  properties: {}
                                position:
                                  type: integer
                                tracking_context:
                                  type: object
                                  properties:
                                    price:
                                      type: integer
                                    make:
                                      type: string
                                    model:
                                      type: string
                                    year:
                                      type: integer
                                    condition:
                                      type: string
                                    price_indicator:
                                      type: string
                          pagination:
                            type: object
                            properties:
                              page:
                                type: integer
                              page_count:
                                type: integer
                              total_results:
                                type: integer
                              has_more:
                                type: boolean
                      meta:
                        type: object
                        properties:
                          duration_ms:
                            type: integer
                          endpoint_family:
                            type: string
                description: >-
                  The fields of a recorded response. Other responses can carry
                  more, or leave some out.
              example:
                endpoint: autotrader-uk.search
                params:
                  postcode: SW1A1AA
                  price_search_type: total
                  make: BMW
                  page: '1'
                  sort: relevance
                response:
                  success: true
                  data:
                    listings:
                      - advert_id: '202610227244889'
                        type: NATURAL_LISTING
                        title: BMW X5
                        sub_title: 3.0d SE Exclusive Edition Auto 4WD Euro 4 5dr
                        attention_grabber: 12 MONTHS MOT | EXTENSIVE HIST
                        price:
                          amount: 2700
                          currency: GBP
                          display: £2,700
                        vehicle_location: Crawley (27 miles)
                        location_type: STANDARD
                        distance:
                          value: 27
                          unit: miles
                        images:
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/0c0688ab2d564da695f83178d62a546c.jpg
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/47c0209db39d4428a45c88e07c02d009.jpg
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/91799836f2eb480280593aa6a5d78eb1.jpg
                        number_of_images: 16
                        seller_type: PRIVATE
                        dealer_link: ''
                        fpa_link: >-
                          /car-details/202610227244889?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6
                        has_digital_retailing: false
                        pre_reg: false
                        dealer_review: {}
                        position: 1
                        tracking_context:
                          price: 2700
                          make: BMW
                          model: X5
                          year: 2005
                          condition: used
                          price_indicator: NOANALYSIS
                      - advert_id: '202606063062554'
                        type: NATURAL_LISTING
                        title: BMW 5 Series
                        sub_title: 2.0 518d SE Euro 6 (s/s) 4dr
                        attention_grabber: ''
                        price:
                          amount: 2200
                          currency: GBP
                          display: £2,200
                        vehicle_location: London (2 miles)
                        location_type: STANDARD
                        distance:
                          value: 2
                          unit: miles
                        images:
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/1e3ed5d54c9145a18980973bc22e2208.jpg
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/cb701ead90bb4aba89c1e4e67133cc42.jpg
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/b1e014ffc7034cd783a0b36d9ea7fbec.jpg
                        number_of_images: 14
                        seller_type: PRIVATE
                        dealer_link: ''
                        fpa_link: >-
                          /car-details/202606063062554?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6
                        has_digital_retailing: false
                        pre_reg: false
                        dealer_review: {}
                        position: 2
                        tracking_context:
                          price: 2200
                          make: BMW
                          model: 5 Series
                          year: 2014
                          condition: used
                          price_indicator: NOANALYSIS
                      - advert_id: '202610076769720'
                        type: NATURAL_LISTING
                        title: BMW 3 Series
                        sub_title: 2.0 318Ci 318 Sport Auto 2dr
                        attention_grabber: ''
                        price:
                          amount: 1100
                          currency: GBP
                          display: £1,100
                        vehicle_location: Stepney (4 miles)
                        location_type: STANDARD
                        distance:
                          value: 4
                          unit: miles
                        images:
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/ffd4885940034a9a942cc496f295a9a4.jpg
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/a2f6f511ee434cf28068f6b19786a00b.jpg
                          - >-
                            https://m.atcdn.co.uk/a/media/{resize}/446408cbe38f41d6b3822690ce519ef3.jpg
                        number_of_images: 17
                        seller_type: PRIVATE
                        dealer_link: ''
                        fpa_link: >-
                          /car-details/202610076769720?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6
                        has_digital_retailing: false
                        pre_reg: false
                        dealer_review: {}
                        position: 3
                        tracking_context:
                          price: 1100
                          make: BMW
                          model: 3 Series
                          year: 2003
                          condition: used
                          price_indicator: NOANALYSIS
                    pagination:
                      page: 1
                      page_count: 2146
                      total_results: 42916
                      has_more: true
                  meta:
                    duration_ms: 1129
                    endpoint_family: search
        '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.