Spain APIs
DNI, NIE and CIF checks with their control letters, postal codes for every province, holidays, IBAN and live VIES VAT checks.
What LiveAPI covers in Spain
| ID and tax numbers | DNI, NIE, CIF / NIF de entidad |
|---|---|
| Postal codes | 37,000+ postal codes with community and province. |
| Public holidays | National and regional holidays via Nager.Date. |
| IBAN | Length and checksum, with the country's IBAN format. |
| VAT numbers | Live check against EU VIES. |
| License plates | Format checks. |
ID, tax and company numbers
- DNI
POST /v1/validate/ES/dni
8 digits and the mod 23 control letter. Example:12345678Z - NIE
POST /v1/validate/ES/nie
X, Y or Z, 7 digits and the control letter. Example:X1234567L - CIF / NIF de entidad
POST /v1/validate/ES/cif
Entity letter, province, number and control digit or letter. Example:B12345674
Checks are algorithmic only (registry_checked: false). Values are never stored or logged.
More Spain APIs
FAQ
Can I check a live VAT number?
Yes. POST /v1/vat/validate asks the European Commission's VIES service whether the VAT number is active.