Piloterr Copart API

The Copart API from Piloterr — 2 operation(s) for copart.

GitHub OpenAPI

Operations 4

POST /v2/copart/search Copart Search #
GET /v2/copart/lot Copart Lot #
POST /v2/copart/lot Copart Lot #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-copart-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

piloterr-com-copart-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloterr API Reference Copart API
  description: Complete API reference documentation.
  version: 1.0.0
servers:
- url: https://api.piloterr.com
  description: API Server
tags:
- name: Copart
paths:
  /v2/copart/search:
    get:
      summary: Copart Search
      description: 'Copart Search API: search auction lots by keyword or URL across Copart regional sites. Returns lot listings and pagination.


        **Credit cost:** 2 credits per call'
      operationId: get-copart-search
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: 'Search keyword or full Copart search URL.


          **Examples:**


          ```

          chevrolet

          ```


          ```

          audi + region=ca

          ```


          ```

          https://www.copart.co.uk/lotSearchResults?query=bmw

          ```


          Use **Copart Lot** on any result `id` or `url` for full details.'
        schema:
          type: string
          description: 'Search keyword or full Copart search URL.


            **Examples:**


            ```

            chevrolet

            ```


            ```

            audi + region=ca

            ```


            ```

            https://www.copart.co.uk/lotSearchResults?query=bmw

            ```


            Use **Copart Lot** on any result `id` or `url` for full details.'
      - name: region
        in: query
        required: false
        description: 'Copart regional site when `query` is a keyword or lot number only. Defaults to US.


          **Examples:**


          ```

          ca

          ```


          ```

          uk

          ```


          ```

          de

          ```'
        schema:
          type: string
          description: 'Copart regional site when `query` is a keyword or lot number only. Defaults to US.


            **Examples:**


            ```

            ca

            ```


            ```

            uk

            ```


            ```

            de

            ```'
      - name: page
        in: query
        required: false
        description: 'Page number (default: 1).'
        schema:
          type: number
          minimum: 1
          maximum: 500
          description: 'Page number (default: 1).'
      - name: return_page_source
        in: query
        required: false
        description: 'When `true`, return the raw HTML page source as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
        schema:
          type: boolean
          description: 'When `true`, return the raw HTML page source as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        url:
                          type: string
                        title:
                          type: string
                        region:
                          type: string
                        image_url:
                          type: string
                  pagination:
                    type: object
                    properties:
                      next:
                        type: string
                      page:
                        type: integer
                      region:
                        type: string
                      keyword:
                        type: string
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                Search chevrolet on copart.com (page 1):
                  value:
                    results:
                    - id: '99998285'
                      url: https://www.copart.com/lot/99998285/2018-chevrolet-volt-lt-ky-walton
                      title: Lot Details
                      region: www.copart.com
                      image_url: https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/c52d88ab17584eef8aaeec778bfd0cf7_thb.jpg
                    - id: '99997735'
                      url: https://www.copart.com/lot/99997735/2017-chevrolet-silverado-k1500-high-country-ky-louisville
                      title: Lot Details
                      region: www.copart.com
                      image_url: https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/24b81615824643148af9cd947ab96c3c_thb.jpg
                    - id: '99997465'
                      url: https://www.copart.com/lot/99997465/2020-transcraft-drop-deck-trailer-va-richmond
                      title: Lot Details
                      region: www.copart.com
                      image_url: https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/1d92611531ed43c89a846d17fd7a0e87_thb.jpg
                    pagination:
                      next: https://www.copart.com/lotSearchResults?free=true&query=chevrolet&page=2
                      page: 1
                      region: www.copart.com
                      keyword: chevrolet
                      per_page: 20
                      total_pages: 500
                      total_results: 10000
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Copart
    post:
      summary: Copart Search
      description: 'Copart Search API: search auction lots by keyword or URL across Copart regional sites. Returns lot listings and pagination.


        **Credit cost:** 2 credits per call'
      operationId: post-copart-search
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: 'Search keyword or full Copart search URL.


                    **Examples:**


                    ```

                    chevrolet

                    ```


                    ```

                    audi + region=ca

                    ```


                    ```

                    https://www.copart.co.uk/lotSearchResults?query=bmw

                    ```


                    Use **Copart Lot** on any result `id` or `url` for full details.'
                region:
                  type: string
                  description: 'Copart regional site when `query` is a keyword or lot number only. Defaults to US.


                    **Examples:**


                    ```

                    ca

                    ```


                    ```

                    uk

                    ```


                    ```

                    de

                    ```'
                page:
                  type: number
                  minimum: 1
                  maximum: 500
                  description: 'Page number (default: 1).'
                return_page_source:
                  type: boolean
                  description: 'When `true`, return the raw HTML page source as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        url:
                          type: string
                        title:
                          type: string
                        region:
                          type: string
                        image_url:
                          type: string
                  pagination:
                    type: object
                    properties:
                      next:
                        type: string
                      page:
                        type: integer
                      region:
                        type: string
                      keyword:
                        type: string
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                Search chevrolet on copart.com (page 1):
                  value:
                    results:
                    - id: '99998285'
                      url: https://www.copart.com/lot/99998285/2018-chevrolet-volt-lt-ky-walton
                      title: Lot Details
                      region: www.copart.com
                      image_url: https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/c52d88ab17584eef8aaeec778bfd0cf7_thb.jpg
                    - id: '99997735'
                      url: https://www.copart.com/lot/99997735/2017-chevrolet-silverado-k1500-high-country-ky-louisville
                      title: Lot Details
                      region: www.copart.com
                      image_url: https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/24b81615824643148af9cd947ab96c3c_thb.jpg
                    - id: '99997465'
                      url: https://www.copart.com/lot/99997465/2020-transcraft-drop-deck-trailer-va-richmond
                      title: Lot Details
                      region: www.copart.com
                      image_url: https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/1d92611531ed43c89a846d17fd7a0e87_thb.jpg
                    pagination:
                      next: https://www.copart.com/lotSearchResults?free=true&query=chevrolet&page=2
                      page: 1
                      region: www.copart.com
                      keyword: chevrolet
                      per_page: 20
                      total_pages: 500
                      total_results: 10000
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Copart
  /v2/copart/lot:
    get:
      summary: Copart Lot
      description: 'Copart Lot API: retrieve structured auction lot data by lot number or URL. Specs, damage, bids, photos, yard location and sale status across regional Copart sites.


        **Credit cost:** 2 credits per call'
      operationId: get-copart-lot
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: 'Copart lot number or full lot URL.


          **Examples:**


          ```

          55295666

          ```


          ```

          55295666 + region=uk

          ```


          ```

          https://www.copart.co.uk/lot/55295666/clean-title-2014-porsche-panamera

          ```'
        schema:
          type: string
          description: 'Copart lot number or full lot URL.


            **Examples:**


            ```

            55295666

            ```


            ```

            55295666 + region=uk

            ```


            ```

            https://www.copart.co.uk/lot/55295666/clean-title-2014-porsche-panamera

            ```'
      - name: region
        in: query
        required: false
        description: 'Regional Copart site when `query` is a lot number only. Defaults to US.


          **Examples:**


          ```

          ca

          ```


          ```

          uk

          ```


          ```

          de

          ```'
        schema:
          type: string
          description: 'Regional Copart site when `query` is a lot number only. Defaults to US.


            **Examples:**


            ```

            ca

            ```


            ```

            uk

            ```


            ```

            de

            ```'
      - name: return_page_source
        in: query
        required: false
        description: 'When `true`, return the raw HTML page source as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
        schema:
          type: boolean
          description: 'When `true`, return the raw HTML page source as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  lic:
                    type: array
                    items:
                      type: string
                  url:
                    type: string
                  fuel:
                    type: string
                  keys:
                    type: string
                  make:
                    type: string
                  year:
                    type: integer
                  color:
                    type: string
                  drive:
                    type: string
                  model:
                    type: string
                  title:
                    type: string
                  engine:
                    type: string
                  images:
                    type: array
                    items:
                      type: string
                  currency:
                    type: string
                  latitude:
                    type: number
                  lot_sold:
                    type: boolean
                  odometer:
                    type: integer
                  image_url:
                    type: string
                  longitude:
                    type: number
                  sale_date:
                    type: string
                  yard_city:
                    type: string
                  yard_name:
                    type: string
                  bid_status:
                    type: string
                  buy_it_now:
                    type: boolean
                  run_status:
                    type: string
                  title_code:
                    type: string
                  yard_state:
                    type: string
                  current_bid:
                    type: integer
                  model_group:
                    type: string
                  sale_status:
                    type: string
                  vin_partial:
                    type: string
                  yard_number:
                    type: integer
                  last_updated:
                    type: string
                  title_status:
                    type: string
                  transmission:
                    type: string
                  vehicle_type:
                    type: string
                  yard_country:
                    type: string
                  primary_damage:
                    type: string
                  buy_it_now_price:
                    type: integer
                  secondary_damage:
                    type: string
              examples:
                Lot 55295666 on copart.co.uk:
                  value:
                    id: '55295666'
                    lic:
                    - ADDL-INFO
                    - CERT-D
                    - IV
                    - VHDRP
                    url: https://www.copart.co.uk/lot/55295666/clean-title-2014-porsche-panamera-4-8-v8-gts-4dr-pdk-sandy
                    fuel: PETROL
                    keys: 'YES'
                    make: PORSCHE
                    year: 2014
                    color: GREY
                    drive: 2 AXLE RIGID BODY
                    model: PANAMERA G
                    title: 2014 PORSCHE PANAMERA 4.8 V8 GTS 4DR PDK
                    engine: 4806 cc
                    images:
                    - https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0626/7834e4c0e5da4ef3809e87b2e31a987d_thb.jpg
                    currency: GBP
                    latitude: 52.14
                    lot_sold: false
                    odometer: 74190
                    image_url: https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0626/7834e4c0e5da4ef3809e87b2e31a987d_thb.jpg
                    longitude: -0.3
                    sale_date: '2026-07-01T09:00:00+00:00'
                    yard_city: SANDY
                    yard_name: SANDY
                    bid_status: NEVER_BID
                    buy_it_now: true
                    run_status: RUNS AND DRIVES
                    title_code: U - Used Unrecorded
                    yard_state: GB
                    current_bid: 4100
                    model_group: PANAMERA
                    sale_status: MINIMUM_BID
                    vin_partial: '*****************'
                    yard_number: 401
                    last_updated: '2026-06-30T13:12:15+00:00'
                    title_status: CLEAN TITLE
                    transmission: 7 SPEED S-AUTO
                    vehicle_type: VEHICLES UNDER 7.5 TONNES
                    yard_country: GBR
                    primary_damage: FRONT END
                    buy_it_now_price: 0
                    secondary_damage: PREVIOUS REPAIR
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Copart
    post:
      summary: Copart Lot
      description: 'Copart Lot API: retrieve structured auction lot data by lot number or URL. Specs, damage, bids, photos, yard location and sale status across regional Copart sites.


        **Credit cost:** 2 credits per call'
      operationId: post-copart-lot
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: 'Copart lot number or full lot URL.


                    **Examples:**


                    ```

                    55295666

                    ```


                    ```

                    55295666 + region=uk

                    ```


                    ```

                    https://www.copart.co.uk/lot/55295666/clean-title-2014-porsche-panamera

                    ```'
                region:
                  type: string
                  description: 'Regional Copart site when `query` is a lot number only. Defaults to US.


                    **Examples:**


                    ```

                    ca

                    ```


                    ```

                    uk

                    ```


                    ```

                    de

                    ```'
                return_page_source:
                  type: boolean
                  description: 'When `true`, return the raw HTML page source as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  lic:
                    type: array
                    items:
                      type: string
                  url:
                    type: string
                  fuel:
                    type: string
                  keys:
                    type: string
                  make:
                    type: string
                  year:
                    type: integer
                  color:
                    type: string
                  drive:
                    type: string
                  model:
                    type: string
                  title:
                    type: string
                  engine:
                    type: string
                  images:
                    type: array
                    items:
                      type: string
                  currency:
                    type: string
                  latitude:
                    type: number
                  lot_sold:
                    type: boolean
                  odometer:
                    type: integer
                  image_url:
                    type: string
                  longitude:
                    type: number
                  sale_date:
                    type: string
                  yard_city:
                    type: string
                  yard_name:
                    type: string
                  bid_status:
                    type: string
                  buy_it_now:
                    type: boolean
                  run_status:
                    type: string
                  title_code:
                    type: string
                  yard_state:
                    type: string
                  current_bid:
                    type: integer
                  model_group:
                    type: string
                  sale_status:
                    type: string
                  vin_partial:
                    type: string
                  yard_number:
                    type: integer
                  last_updated:
                    type: string
                  title_status:
                    type: string
                  transmission:
                    type: string
                  vehicle_type:
                    type: string
                  yard_country:
                    type: string
                  primary_damage:
                    type: string
                  buy_it_now_price:
                    type: integer
                  secondary_damage:
                    type: string
              examples:
                Lot 55295666 on copart.co.uk:
                  value:
                    id: '55295666'
                    lic:
                    - ADDL-INFO
                    - CERT-D
                    - IV
                    - VHDRP
                    url: https://www.copart.co.uk/lot/55295666/clean-title-2014-porsche-panamera-4-8-v8-gts-4dr-pdk-sandy
                    fuel: PETROL
                    keys: 'YES'
                    make: PORSCHE
                    year: 2014
                    color: GREY
                    drive: 2 AXLE RIGID BODY
                    model: PANAMERA G
                    title: 2014 PORSCHE PANAMERA 4.8 V8 GTS 4DR PDK
                    engine: 4806 cc
                    images:
                    - https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0626/7834e4c0e5da4ef3809e87b2e31a987d_thb.jpg
                    currency: GBP
                    latitude: 52.14
                    lot_sold: false
                    odometer: 74190
                    image_url: https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0626/7834e4c0e5da4ef3809e87b2e31a987d_thb.jpg
                    longitude: -0.3
                    sale_date: '2026-07-01T09:00:00+00:00'
                    yard_city: SANDY
                    yard_name: SANDY
                    bid_status: NEVER_BID
                    buy_it_now: true
                    run_status: RUNS AND DRIVES
                    title_code: U - Used Unrecorded
                    yard_state: GB
                    current_bid: 4100
                    model_group: PANAMERA
                    sale_status: MINIMUM_BID
                    vin_partial: '*****************'
                    yard_number: 401
                    last_updated: '2026-06-30T13:12:15+00:00'
                    title_status: CLEAN TITLE
                    transmission: 7 SPEED S-AUTO
                    vehicle_type: VEHICLES UNDER 7.5 TONNES
                    yard_country: GBR
                    primary_damage: FRONT END
                    buy_it_now_price: 0
                    secondary_damage: PREVIOUS REPAIR
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Copart
components:
  parameters:
    fields:
      name: fields
      in: query
      required: false
      description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
      schema:
        type: string
    is_async:
      name: is_async
      in: query
      required: false
      description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
      schema:
        type: boolean
        default: false
    soft_fail:
      name: soft_fail
      in: query
      required: false
      description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
      schema:
        type: boolean
        default: false
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your API key. Include it in the x-api-key header for every request.