---
name: hashgraph-online-vehicle-history
description: "Retrieve a vehicle history report from a VIN using the CarsXE API. Use this when a user wants to know a car's history — past owners, accidents, title status, odometer readings, or whether it's been in a crash."
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "2751f0b6-f782-4ac9-b840-e7b45c9368c0"
  decimalai-version-id: "ed77ef80-f6e4-4de3-80b0-5daed2b5f264"
  decimalai-version: "1"
  decimalai-body-sha256: "5c6604ff9fe9e838a8ab5492de9ec81e5f51734536d8c6d5f3d66ecb5239b4d9"
  decimalai-name: "hashgraph-online/vehicle-history"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "industry"
  decimalai-source: "https://app.decimal.ai/s/hashgraph-online-vehicle-history@1/SKILL.md"
---
When the user asks about a vehicle's history, past accidents, title status, or ownership:

1. Make an HTTP GET request to the CarsXE History API:
   ```
   GET https://api.carsxe.com/history?key={CARSXE_API_KEY}&vin={VIN}&source=codex_plugin
   ```
2. Summarize the history report:
   - Number of previous owners
   - Accident / damage records
   - Title status (clean, salvage, rebuilt, lemon)
   - Odometer history
   - Theft records
3. Clearly highlight any red flags (salvage title, accidents, odometer rollback).
4. If the API key is missing, tell the user to set the `CARSXE_API_KEY` environment variable (see AGENTS.md).
