---
title: "Lien & Theft"
description: "Check whether a vehicle has active liens or has been reported stolen."
canonical_url: "https://docs.carsxe.com/docs/products/lien-theft"
markdown_url: "https://docs.carsxe.com/docs/products/lien-theft.md"
last_updated: "1980-01-01"
x_farming_labs_generated_preamble: true
agent:
  task: "Check lien and theft records for a VIN with CarsXE."
  outcome: "A Lien & Theft request returns the documented successful vehicle-data response for the supplied input."
  prerequisites:
    - "A valid CarsXE API key with access to this endpoint."
    - "The vehicle identifier or request inputs required by the Lien & Theft example."
  verification:
    - "Run one documented Lien & Theft request and confirm the response is successful and contains the fields described on this page."
  failureModes:
    - symptom: "The Lien & Theft request is rejected or does not return the expected data."
      resolution: "Check the API key, plan access, supported input format, and the returned status code against the error guide before retrying."
---

# Lien & Theft
URL: /docs/products/lien-theft
LLM index: /llms.txt
Description: Check whether a vehicle has active liens or has been reported stolen.
Related: /docs/products, /docs/get-started

<!-- farming-labs:agent-contract:start -->
## Agent Contract

Task: Check lien and theft records for a VIN with CarsXE.
Outcome: A Lien & Theft request returns the documented successful vehicle-data response for the supplied input.

### Prerequisites

- A valid CarsXE API key with access to this endpoint.
- The vehicle identifier or request inputs required by the Lien & Theft example.

### Verification

- Run one documented Lien & Theft request and confirm the response is successful and contains the fields described on this page.

### Failure Modes

- The Lien & Theft request is rejected or does not return the expected data. — Recovery: Check the API key, plan access, supported input format, and the returned status code against the error guide before retrying.
<!-- farming-labs:agent-contract:end -->

Task: Check lien and theft records for a VIN with CarsXE.
Related: /docs/products/lien-theft, /docs/products/vehicle-history, /docs/products/ownership

Check a US VIN for lien and theft-related records. The `/v1/lien-theft` endpoint returns decoded vehicle context plus any reportable lien or theft events CarsXE finds for the VIN.

Results depend on available reporting sources and jurisdictions. Treat missing fields as unavailable data from the source, not as proof that the vehicle is clear.

## Who uses this API

Lenders, wholesale buyers, dealerships, insurers, and consumer-facing vehicle marketplaces call this endpoint to check a US VIN for reportable lien and theft events before they fund, acquire, insure, or list a vehicle. Consumer applications built on the API should explain that results depend on available reporting sources and jurisdictions.

## Use cases

### B2B

- **Lenders — clear-title check:** Look for active liens before funding a loan or lease.
- **Wholesale and dealerships — stolen-vehicle screen:** Review theft records before taking a unit into inventory or sending it to auction.
- **Insurance — underwriting and claims:** Confirm lien and theft context when binding coverage or investigating a claim.

### B2C

- **Private listings — buyer due diligence:** Let a buyer check a used vehicle's VIN for available lien or theft records before purchasing.
- **Car rental and sharing — vehicle screening:** Check vehicles before adding them to a consumer rental or car-sharing marketplace.
- **Consumer vehicle reports:** Include lien and theft context in a VIN-based vehicle report, with clear messaging that missing records do not prove a vehicle is clear.

## Parameters

| Parameter | Required | Description |
|---|---|---|
| `vin` | Yes | The 17-character vehicle identification number |
| `key` | Yes | Your CarsXE API key |

## Example

<CodeGroup title="Check lien and theft records" tag="GET" label="/v1/lien-theft">

```bash
curl -G https://api.carsxe.com/v1/lien-theft \
  -d key=YOUR_API_KEY \
  -d vin=2C3CDXFG1FH762860
```

```js
import { CarsXE } from "carsxe-api";

const carsxe = new CarsXE("YOUR_API_KEY");
const vin = "2C3CDXFG1FH762860";

try {
  const lienAndTheft = await carsxe.lienAndTheft({ vin });
  console.log(lienAndTheft);
} catch (error) {
  console.error(error);
}
```

```python
import asyncio
from carsxe_api import CarsXE

carsxe = CarsXE("YOUR_API_KEY")
vin = "2C3CDXFG1FH762860"

try:
    lienAndTheft = asyncio.run(carsxe.lien_and_theft({"vin": vin}))
    print(lienAndTheft)
except Exception as e:
    print(f"Error: {e}")
```

```php
<?php
require_once __DIR__ . '/vendor/autoload.php';
use CarsxeDeveloper\Carsxe\Carsxe;

$carsxe = new Carsxe("YOUR_API_KEY");
$vin = "2C3CDXFG1FH762860";

try {
    $lienAndTheft = $carsxe->lienAndTheft(["vin" => $vin]);
    print_r($lienAndTheft);
} catch (Exception $error) {
    echo "Error: " . $error->getMessage();
}
```

```ruby
require "carsxe"

carsxe = Carsxe::CarsXE.new(api_key: "YOUR_API_KEY")
vin = "2C3CDXFG1FH762860"

begin
  lienAndTheft = carsxe.lien_and_theft("vin" => vin)
  puts lienAndTheft
rescue StandardError => error
  puts "Error: #{error.message}"
end
```

```go
package main

import (
	"fmt"
	"github.com/carsxe/carsxe-go-package"
)

func main() {
	client := carsxe.New("YOUR_API_KEY")
	vin := "2C3CDXFG1FH762860"
	lienAndTheft := client.LienAndTheft(map[string]string{"vin": vin})
	fmt.Println(lienAndTheft)
}
```

```java
import io.github.carsxe.CarsXE;
import java.util.Map;
import java.util.HashMap;

public class Main {
    public static void main(String[] args) {
        CarsXE carsxe = new CarsXE("YOUR_API_KEY");
        Map<String, String> params = new HashMap<>();
        params.put("vin", "2C3CDXFG1FH762860");

        try {
            Map<String, Object> lienAndTheft = carsxe.lienAndTheft(params);
            System.out.println(lienAndTheft);
        } catch (Exception e) {
            System.err.println("Error: " + e.getMessage());
        }
    }
}
```

```swift
import carsxe

let carsxe = CarsXE(apiKey: "YOUR_API_KEY")
let vin = "2C3CDXFG1FH762860"

do {
    let lienAndTheft = try carsxe.lienAndTheft(["vin": vin])
    print(lienAndTheft)
} catch {
    print("Error: \(error)")
}
```

```csharp
using carsxe;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

class Program
{
    static async Task Main(string[] args)
    {
        CarsXE carsxe = new CarsXE("YOUR_API_KEY");
        string vin = "2C3CDXFG1FH762860";

        try
        {
            var lienAndTheft = await carsxe.LienAndTheft(new Dictionary<string, string> { { "vin", vin } });
            Console.WriteLine(lienAndTheft);
        }
        catch (Exception ex)
        {
            Console.WriteLine($"Error: {ex.Message}");
        }
    }
}
```

```bash {{ title: "Response" }}
{
  "success": true,
  "input": { "vin": "2C3CDXFG1FH762860" },
  "timestamp": "2025-12-07T20:32:11.027Z",
  "year": 2015,
  "make": "DODGE",
  "model": "Charger",
  "type": "CAR",
  "events": [
    {
      "event": "Recovered Theft",
      "location": "OH",
      "details_list": [
        "The vehicle is reported to be an Recovered Theft."
      ]
    }
  ]
}
```

</CodeGroup>

## Response

### Top-level shape

<LienTheftTopLevelShape />

Click any object or array to expand it and see sample data. For the full interactive reference, try it live in the [API Reference](/api-reference/lien-and-theft/lien-theft-records).

All response fields are optional except fields included in a successful response. Empty or missing `events` means CarsXE did not receive an event group for that VIN in that response.

<Properties>
  <Property name="success" type="boolean">
    `true` on a successful `200` response.
  </Property>
  <Property name="input" type="object">
    Echo of request inputs, including the VIN that was checked.
  </Property>
  <Property name="timestamp" type="string">
    ISO 8601 response timestamp.
  </Property>
  <Property name="year" type="integer">
    Decoded vehicle model year returned with the record.
  </Property>
  <Property name="make" type="string">
    Decoded vehicle manufacturer.
  </Property>
  <Property name="model" type="string">
    Decoded vehicle model.
  </Property>
  <Property name="type" type="string">
    Vehicle category returned by the source. Example: `"CAR"`.
  </Property>
  <Property name="events" type="array">
    Lien or theft-related records found for the VIN.
  </Property>
  <Property name="trim_data" type="object">
    Optional decoded trim or source-specific vehicle details when returned.
  </Property>
</Properties>

### events

Each item in `events` is a reportable lien or theft-related record. Event payloads can include additional source-specific fields.

<Properties>
  <Property name="event" type="string">
    Human-readable event label. See [Event types](#event-types) for the full list. Example: `"Recovered Theft"`.
  </Property>
  <Property name="location" type="string">
    State or jurisdiction abbreviation when available. Example: `"OH"`.
  </Property>
  <Property name="date" type="string">
    Event date when the source provided one. Format is typically `MM/DD/YYYY`.
  </Property>
  <Property name="details_list" type="array">
    Human-readable details from the source record. These strings match the derived text for the event type.
  </Property>
</Properties>

## Event types

The `events` array can contain the following record types. Fields listed for each type are present when the reporting source provided them.

| Event type | Fields | Details | Derived text |
|---|---|---|---|
| Open Lien | `lienholder`, `location`, `date` | Text as supplied, state, date | `Vehicle is reported to have an open lien on title: <lienholder>` |
| Active Theft | `location` | State | `The vehicle is reported to be an active theft.` |
| Recovered Theft | `location` | State | `The vehicle is reported to be a recovered theft` |
| Exported | `date`, `location` | `MM/DD/YYYY`, state | `Vehicle is reported to have been exported out of the United States` |
| Towing/Impound | `date`, `location` | `MM/DD/YYYY`, state | `Vehicle is reported as Towed or Impounded` |
| Vehicle for Sale | `date` | `MM/DD/YYYY` | `Vehicle is reported to have been available for sale on eBay Motors.com...` |

Use `event` to branch on type, then read `details_list` for the derived text. Missing fields mean the source did not provide that value.

## How to interpret results

Use this endpoint as a screening signal, not as a complete legal determination of title status.

- A `200` with `events` means CarsXE found reportable lien or theft-related records for the VIN.
- A `404` with `"No lien or theft data found for this VIN"` means this endpoint did not find lien or theft data for that VIN.
- Missing fields mean the source did not provide that value in the returned record.

## Billing

Lien & Theft is billed **per successful call**. A `404` with no record, a validation `400`, and upstream failures are never billed. You can also get this check alongside a vehicle history report with [`/history?lienTheft=true`](/docs/products/vehicle-history#billing), which bills one Lien & Theft call on top of the history call. See [How Billing Units Work](/docs/guides/billing-units) for how units are counted across the rest of the API.

## Errors

See the [Errors guide](/docs/guides/errors) for the full list. The most common cases specific to this endpoint:

- **400** — `"Missing vin (vehicle identification number)"` or `"Wrong VIN length, must be 17 characters"` — fix the input, don't retry.
- **401** — missing or invalid API key.
- **404** — `"No lien or theft data found for this VIN"` — no lien or theft data was found by this endpoint for the VIN.
- **429** — usage limit exceeded.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
