Getting Started

Follow these steps to start retrieving auction data from the API.

Choose Your Integration

  • REST API — For developers building applications. Continue reading below.
  • MCP Server — For AI tools like Claude. Query auction data with natural language, no code required.
  • Google Sheets — For spreadsheet users. Use custom formulas to pull auction data directly into sheets.

1. Sign Up

Create an account to access the API.

Sign Up / Sign In

2. Create an API Key

After signing up and subscribing to a plan, generate an API key in your profile settings.

Go to Profile

Keep your API key secure. Include it in all requests using the Authorization header:

Authorization: Bearer YOUR_API_KEY

3. Find Available Makes

Query the /makes endpoint to get a list of all vehicle makes in the database.

Request:

bash
curl "https://api.oldcarsdata.com/makes"

Response:

json
{
  "data": [
    "Toyota",
    "Ford",
    "Chevrolet",
    "BMW",
    "Mercedes-Benz"
  ]
}

4. Find Models for a Make

Use the /models endpoint to get available models for a specific make.

Request:

bash
curl "https://api.oldcarsdata.com/models?make=Toyota"

Response:

json
{
  "data": [
    "Land Cruiser",
    "Supra",
    "Celica",
    "Corolla"
  ]
}

5. Query Auction Data

Now you can retrieve auction data using the /auctions endpoint with the make and model you discovered.

Request:

bash
curl "https://api.oldcarsdata.com/auctions?make=Toyota&model=Land+Cruiser&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response:

json
{
  "data": [
    {
      "id": 12345,
      "source": "bringatrailer",
      "url": "https://bringatrailer.com/listing/...",
      "title": "1970 Toyota Land Cruiser FJ40",
      "auction_status": "sold",
      "price": 45000,
      "auction_end_date": "2024-01-15",
      "mileage": 85000,
      "year": 1970,
      "listing_make": "Toyota",
      "listing_model": "Land Cruiser",
      "engine": "4.2L I6",
      "drivetrain": "4WD",
      "transmission": "Manual",
      "body_style": "SUV",
      "exterior_color": "Beige",
      "interior_color": "Brown"
    }
  ],
  "meta": {
    "total": 150,
    "page": 1,
    "limit": 10,
    "total_pages": 15
  }
}

Next Steps

You're ready to start building. Here's where to go from here: