validate_imei
Check if a 15- or 16-digit IMEI is valid by verifying its Luhn check digit and identifying the TAC. Validates the number's structure only, not device authenticity or 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. |