Skip to content

About

Copart API client for Python and JavaScript: Copart auction lots (USA) with VIN, damage and sale date as JSON. From the apiauto.space team, not affiliated with Copart

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copart API clients for Python and JavaScript

Copart auction lots (USA) with VIN, damage and sale date as clean JSON through the apiauto.space REST API: search by make, model, year, price and mileage, fetch one listing by its number, follow new cars and price changes. No scraper to write or maintain.

Language Package Install Folder
Python 3.10+ copart-api on PyPI pip install copart-api python/
JavaScript / TypeScript copart-api on npm npm install copart-api js/
import copart_api

with copart_api.Client() as client:  # reads APIAUTO_KEY
    for car in client.cars(brand="Toyota", year_min=2020, limit=20)["items"]:
        print(car["id"], car["title"], car["price"]["amount"])
import { CopartApi } from "copart-api";

const page = await new CopartApi().cars({ brand: "Toyota", year_min: 2020, limit: 20 });

Both are thin layers over the general apiauto.space clients (Python, JavaScript) with the market preset to us. A key comes from the Telegram bot @apiautospace_bot; see each package's README.

The API keeps Copart and IAAI lots together in the us market; these clients keep only Copart lots on the client side, so the IAAI lots on the same pages still count against the quota.

More: Copart API page, API documentation, examples in curl, Python, JavaScript and PHP. Clients for the other sources: encar-api, che168-api, copart-api, iaai-api.

From the apiauto.space team. Not affiliated with Copart; Copart is a trademark of its owner and is named here only to say which listings the clients return. MIT license.

About

Copart API client for Python and JavaScript: Copart auction lots (USA) with VIN, damage and sale date as JSON. From the apiauto.space team, not affiliated with Copart

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages