> For the complete documentation index, see [llms.txt](https://docs.imperialcad.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperialcad.app/api-and-integrations/api-integrations/emergency-endpoints/check-plate.md).

# Check Plate

This endpoint allows you to check a plate.

{% hint style="warning" %}
This endpoint requires **any** ImperialCAD subscription.
{% endhint %}

### CheckPlate(data, callback)

<mark style="color:green;">`POST`</mark> `https://imperialcad.app/api/1.1/wf/checkplate`

***

#### Request Body

| Name    | Type   | Description   |
| ------- | ------ | ------------- |
| `plate` | string | License Plate |

***

{% tabs %}
{% tab title="Example" %}

```lua
exports["ImperialCAD"]:CheckPlate({
    plate = "XYZ123"
  }, function(success, res)
    if success then
      local result = json.decode(res)
      print("Plate Registered To: " .. result.response.owner)
    else
      print("Failed to check plate.")
    end
end)
```

{% endtab %}

{% tab title="Response of Example" %}

```lua
{
  "status": "success",
  "response": {
    "owner": "John Doe",
    "plate_number": "XYZ123",
    "stolen": false,
    "insurance": true,
    "insurance_status": "Active",
    "business": false,
    "reg_status": "Valid"
  }
}
```

{% endtab %}
{% endtabs %}
