# CarMax car details API

Read CarMax vehicle details by stock number or URL via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as latest, make, model, and retrieve structured data including carMax stock number, vehicle identification number, advertised vehicle price, source reservation flag, and source update timestamp for vehicle detail, and status display.

Documentation: https://openany.si/market/apis/carmax/carmax-car-details-api/?offering=edecfc4e-ba11-4a4e-b844-137efd91c221
API ID: edecfc4e-ba11-4a4e-b844-137efd91c221
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/carmax/v1/car
Page update time: 2026-12-03T02:48:34.563Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:48:33.454Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CarMax car details API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "stock_number": {
          "type": "string",
          "description": "CarMax stock number (stock_number in search), or a carmax.com/car/<number> link in `url`. Required unless latest=true."
        },
        "url": {
          "type": "string",
          "description": "A carmax.com/car/<number> link."
        },
        "latest": {
          "type": "string",
          "description": "true = the first car of a search with the make/model/filters params below, instead of a stock number.",
          "enum": [
            "true",
            "false"
          ]
        },
        "make": {
          "type": "string",
          "description": "With latest=true: make."
        },
        "model": {
          "type": "string",
          "description": "With latest=true: model."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "body_style": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "cons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "credits_used": {
      "type": "integer"
    },
    "drivetrain": {
      "type": "string"
    },
    "engine": {
      "type": "string"
    },
    "exterior_color": {
      "type": "string"
    },
    "feature_score": {
      "type": "integer"
    },
    "feature_summary": {
      "type": "null"
    },
    "features": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "installed_option": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "fees": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "first_listed_at": {
      "type": "string"
    },
    "fuel": {
      "type": "object",
      "properties": {
        "capacityInGallons": {
          "type": "integer"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "generation": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string"
        },
        "endYear": {
          "type": "integer"
        },
        "startYear": {
          "type": "integer"
        }
      }
    },
    "highlights": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "history": {
      "type": "object",
      "properties": {
        "accidents": {
          "type": "integer"
        },
        "owners": {
          "type": "integer"
        },
        "prior_uses": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "images": {
      "type": "object",
      "properties": {
        "hero": {
          "type": "string"
        }
      }
    },
    "interior_color": {
      "type": "string"
    },
    "listed_at": {
      "type": "string"
    },
    "make": {
      "type": "string"
    },
    "mileage": {
      "type": "integer"
    },
    "model": {
      "type": "string"
    },
    "mpg": {
      "type": "object",
      "properties": {
        "batteryRangeInMiles": {
          "type": "null"
        },
        "isMpgEquivalent": {
          "type": "boolean"
        },
        "mpgCity": {
          "type": "integer"
        },
        "mpgCombined": {
          "type": "integer"
        },
        "mpgHighway": {
          "type": "integer"
        }
      }
    },
    "packages": {
      "type": "array",
      "items": {}
    },
    "previous_price": {
      "type": "null"
    },
    "price": {
      "type": "integer"
    },
    "price_drop_date": {
      "type": "null"
    },
    "price_reduced": {
      "type": "boolean"
    },
    "pros": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "status": {
      "type": "string"
    },
    "status_details": {
      "type": "object",
      "properties": {
        "isAvailableToTransact": {
          "type": "boolean"
        },
        "isComingSoon": {
          "type": "boolean"
        },
        "isNewArrival": {
          "type": "boolean"
        },
        "isReserved": {
          "type": "boolean"
        },
        "isSaleable": {
          "type": "boolean"
        },
        "isSold": {
          "type": "boolean"
        },
        "isTransferable": {
          "type": "boolean"
        }
      }
    },
    "stock_number": {
      "type": "string"
    },
    "store": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "name": {
          "type": "string"
        },
        "remote_lot": {
          "type": "boolean"
        },
        "state": {
          "type": "string"
        }
      }
    },
    "transmission": {
      "type": "string"
    },
    "trim": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "vehicle_type": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "vin": {
      "type": "string"
    },
    "warranty": {
      "type": "object",
      "properties": {
        "basicWarrantyStatement": {
          "type": "null"
        },
        "warranties": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "miles": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string"
              },
              "years": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "year": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/carmax/v1/car?latest=true&make=toyota&model=camry&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "body_style": "4D Sedan",
  "cached": false,
  "cons": [
    "Numb driving experience ",
    "Harsh noises on rough roads",
    "Four-cylinder delivers poor performance"
  ],
  "credits_used": 1,
  "drivetrain": "Front Wheel Drive",
  "engine": "4-cyl, Gas, 2.5L",
  "exterior_color": "Black",
  "feature_score": 0,
  "feature_summary": null,
  "features": [
    {
      "category": "Comfort & Convenience",
      "description": null,
      "installed_option": false,
      "name": "Cruise Control"
    },
    {
      "category": "Comfort & Convenience",
      "description": "Set and adjust your seats to the perfect setting.",
      "installed_option": false,
      "name": "Power Seat(s)"
    },
    {
      "category": "Comfort & Convenience",
      "description": null,
      "installed_option": false,
      "name": "Air Conditioning"
    },
    {
      "category": "Comfort & Convenience",
      "description": null,
      "installed_option": false,
      "name": "Power Mirrors"
    },
    {
      "category": "Comfort & Convenience",
      "description": null,
      "installed_option": false,
      "name": "Rear Defroster"
    },
    {
      "category": "Comfort & Convenience",
      "description": null,
      "installed_option": false,
      "name": "Power Windows"
    },
    {
      "category": "Comfort & Convenience",
      "description": null,
      "installed_option": false,
      "name": "Power Locks"
    },
    {
      "category": "Driver Assistance",
      "description": "A view to help avoid blindspots.",
      "installed_option": false,
      "name": "Rear View Camera"
    },
    {
      "category": "Driver Assistance",
      "description": null,
      "installed_option": false,
      "name": "ABS Brakes"
    },
    {
      "category": "Driver Assistance",
      "description": null,
      "installed_option": false,
      "name": "Traction Control"
    },
    {
      "category": "Entertainment & Technology",
      "description": "Syncs with your smartphone so you can chat handsfree.",
      "installed_option": false,
      "name": "Bluetooth Technology"
    },
    {
      "category": "Entertainment & Technology",
      "description": "Stay connected and entertained with app integration.",
      "installed_option": false,
      "name": "Entune"
    },
    {
      "category": "Entertainment & Technology",
      "description": null,
      "installed_option": false,
      "name": "CD Audio"
    },
    {
      "category": "Entertainment & Technology",
      "description": null,
      "installed_option": false,
      "name": "Auxiliary Audio Input"
    },
    {
      "category": "Entertainment & Technology",
      "description": null,
      "installed_option": false,
      "name": "AM/FM Stereo"
    },
    {
      "category": "Interior",
      "description": null,
      "installed_option": false,
      "name": "Leatherette & Cloth"
    },
    {
      "category": "Interior",
      "description": null,
      "installed_option": false,
      "name": "Side Airbags"
    },
    {
      "category": "Interior",
      "description": "Overhead protection, in the event you need it.",
      "installed_option": false,
      "name": "Overhead Airbags"
    },
    {
      "category": "Exterior",
      "description": null,
      "installed_option": false,
      "name": "Rear Spoiler"
    },
    {
      "category": "Exterior",
      "description": null,
      "installed_option": false,
      "name": "Alloy Wheels"
    },
    {
      "category": "Exterior",
      "description": null,
      "installed_option": false,
      "name": "Daytime Running Lights"
    },
    {
      "category": "Mechanical",
      "description": null,
      "installed_option": false,
      "name": "Automatic Transmission"
    }
  ],
  "fees": 0,
  "fetched_at": "2026-11-19T12:27:02.755Z",
  "first_listed_at": "2026-11-19T01:04:43.3403044Z",
  "fuel": {
    "capacityInGallons": 17,
    "type": "Gas"
  },
  "generation": {
    "displayName": "Fifth generation",
    "endYear": 2017,
    "startYear": 2012
  },
  "highlights": [
    {
      "description": "Less than 9,000 miles per year",
      "title": "Low Miles Per Year"
    },
    {
      "description": "Reported by AutoCheck®",
      "title": "Single Owner"
    }
  ],
  "history": {
    "accidents": 0,
    "owners": 1,
    "prior_uses": [
      "Personal Use"
    ]
  },
  "images": {
    "hero": "https://img2.carmax.com/assets/70367814/hero.jpg?width=800"
  },
  "interior_color": "Black",
  "listed_at": "2026-11-19T01:04:43.3403044Z",
  "make": "Toyota",
  "mileage": 74708,
  "model": "Camry",
  "mpg": {
    "batteryRangeInMiles": null,
    "isMpgEquivalent": false,
    "mpgCity": 25,
    "mpgCombined": 28,
    "mpgHighway": 35
  },
  "packages": [],
  "previous_price": null,
  "price": 18998,
  "price_drop_date": null,
  "price_reduced": false,
  "pros": [
    "Comfortable interior front and rear",
    "Intuitive and ergonomic controls",
    "Dedicated luxury and sport trims"
  ],
  "status": "VALUMAX",
  "status_details": {
    "isAvailableToTransact": true,
    "isComingSoon": false,
    "isNewArrival": true,
    "isReserved": false,
    "isSaleable": true,
    "isSold": false,
    "isTransferable": true
  },
  "stock_number": "70367814",
  "store": {
    "id": 7129,
    "latitude": 33.87045,
    "longitude": -118.00329,
    "name": "Buena Park",
    "remote_lot": false,
    "state": "CA"
  },
  "transmission": "Automatic",
  "trim": "SE",
  "updated_at": "2026-11-19T01:18:33.0416018Z",
  "url": "https://www.carmax.com/car/70367814",
  "vehicle_type": [
    "Sedans"
  ],
  "vin": "4T1BF1FK4FU904078",
  "warranty": {
    "basicWarrantyStatement": null,
    "warranties": [
      {
        "miles": 36000,
        "type": "Basic",
        "years": 3
      },
      {
        "miles": null,
        "type": "Corrosion",
        "years": 5
      },
      {
        "miles": 25000,
        "type": "Maintenance",
        "years": 2
      },
      {
        "miles": 60000,
        "type": "Powertrain",
        "years": 5
      },
      {
        "miles": null,
        "type": "Roadside Assistance",
        "years": 2
      }
    ]
  },
  "year": 2015
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/carmax/carmax-car-details-api/?offering=edecfc4e-ba11-4a4e-b844-137efd91c221

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
