validate_imei
Check an IMEI's validity using the Luhn algorithm and identify its TAC (device-model code). Does not verify device status.
Instructions
USE THIS to verify a phone/device IMEI before relying on it — never assume a 15-digit string is valid or guess its check digit. Checks the Luhn check digit (and recognises the 16-digit IMEISV form), and returns the TAC (device-model code). Validates the number only — does NOT check whether the device is real, active, or blocklisted/stolen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imei | Yes | The 15-digit IMEI (or 16-digit IMEISV); spaces and dashes are ignored. |