All tools Web Data Domain Intelligence DNS & Infrastructure Security & Trust Identity & Verification Monitoring & Automation

DNI, NIE and NIF Validator

Enter a Spanish DNI, NIE or company NIF to check its format and control letter or digit. If it does not match, you will see the character it should end with.

Results

        
Interactive intelligence tool

Run the check, then ship the workflow

Use the browser tool for a fast answer, then move the same logic into scripts, monitoring, or product flows when it becomes repeatable.

1
Start with the live form

Enter a domain, URL, IP, email, or record and get a focused result without setup.

2
Review decision-ready signals

Outputs highlight statuses, risks, records, and next actions instead of raw provider noise.

3
Automate the workflow that works

Use the request and response examples to turn a one-off check into an API call or recipe.

Used by people at these companies

InstantOutseerMongoDBRespondentSage Expense ManagementInstantlyD.R. HortonWhatConvertsAdobeLLM Pulse

What this tool helps you decide

Each page is shaped around a practical operational question, not just a raw lookup.

Signal

See the current DNS, registration, security, pricing, or reputation evidence.

Context

Compare the result with related checks so the next move is easier to trust.

Action

Copy examples, open linked tools, or move into API documentation when you need scale.

Trust signals before you integrate

Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.

Live Service status

Check live service health and documented failure responses before you integrate.

OpenAPI API artifacts

OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.

API keys Protected access

Authenticated endpoints use API keys with clear credit costs before you call them.

10,000 Free allowance

Start with 10,000 monthly credits and upgrade only when usage grows.

Key Features

DNI, NIE and company NIF

Personal DNIs, foreigner NIEs, K, L and M numbers, and company NIFs (formerly CIF), each with its own rules.

The right control letter

When the last character is wrong, the result shows the one it should be, which fixes most typing mistakes at once.

Type of company

Company numbers show the type of entity, such as a public or limited company, an association or a public body.

Example request

GET /v1/national-id/validate?id=12345678Z http
GET /v1/national-id/validate?id=12345678Z
GET /v1/national-id/validate?id=B58378431 http
GET /v1/national-id/validate?id=B58378431

Built on the same API

The browser experience previews DomScan's structured endpoints, so teams can validate a use case before writing code.

Frequently asked questions

Does a valid DNI mean the person exists?

No. The check confirms that the number is well formed and its control letter is correct. It does not confirm that the number was issued or who it belongs to.

How is the DNI letter calculated?

The 8 digits are divided by 23 and the remainder picks the letter from a fixed table. NIEs replace the first letter X, Y or Z with 0, 1 or 2 first. Company NIFs use a different control digit or letter.

Can I check whether a company is registered for VAT?

Yes. Use the VAT number checker with the ES prefix, for example ES B12345678, to check the company with the EU VAT register.

Related tools and resources