API Endpoints

Copart & IAAI Auction Data API

Access structured Copart and IAAI auction data through one developer API. Get VIN records, lot details, photos, prices, auction status, sale history, filters, locations and shipping data in JSON.
Log in to test endpoints
AI and OpenAPI

Machine-readable API reference for AI agents and developer tools

Use this page together with the OpenAPI schema, llms.txt, llms-full.txt and GitHub examples when generating code, building MCP tools or integrating Copart and IAAI auction data into applications.

Base URL
https://apibara.tech/api/v1/vehicle-auction
Auth
X-API-Key
Format
JSON
Product
Copart + IAAI

Main endpoint map

GET /api/v1/vehicle-auction/vehicles
Search Copart and IAAI auction lots with filters such as platform, make, model, year, VIN, lot number, status and location.
GET /api/v1/vehicle-auction/vehicles/{slugVin}
Get one vehicle by VIN, lot number, slug or supported vehicle identifier.
GET /api/v1/vehicle-auction/vehicles/{slugVin}/history
Get auction history and previous records for one vehicle when available.
GET /api/v1/vehicle-auction/vehicles/{slugVin}/related
Find related or similar auction vehicles for one vehicle record.
GET /api/v1/vehicle-auction/vehicles/filters
Get available filters for search forms, marketplaces, dashboards and WordPress listings.
GET /api/v1/vehicle-auction/vehicles/{slugVin}/shipping
Get shipping options or shipping-related data for one vehicle when available.
GET /api/v1/vehicle-auction/locations
List supported auction locations for filters and logistics workflows.
GET /api/v1/vehicle-auction/shipping/auction-to-port
Estimate auction-to-port shipping when supported by location and port data.
GET /api/v1/vehicle-auction/vehicles/urltodetails
Resolve a supported Copart or IAAI auction URL into structured vehicle details.

Agent-ready resources

AI agents should use the OpenAPI schema first, then this endpoint reference for examples and human-readable notes.

What AI agents should know

  • Use X-API-Key for protected endpoints.
  • Keep API keys server-side and never expose them in frontend bundles.
  • Do not invent unsupported endpoints, filters or response fields.
  • Treat nullable fields as normal because auction data depends on source availability.
  • Copart and IAAI are supported data sources, not official partners.
  • Prefer the OpenAPI schema for code generation and this page for implementation examples.
Common API errors

Standard error responses for integrations

Use these responses when handling authentication, validation and rate-limit errors in your application or AI-generated integration.

401 Unauthorized
{
  "ok": false,
  "status": 401,
  "message": "Invalid or missing API key"
}
422 Validation error
{
  "ok": false,
  "status": 422,
  "message": "Validation failed",
  "errors": {
    "vin": [
      "The VIN must be 17 characters."
    ]
  }
}
429 Rate limit
{
  "ok": false,
  "status": 429,
  "message": "Rate limit exceeded"
}