Public APIs
GeneradorDNI favicon

GeneradorDNI

Test Data

Data generator API. Profiles, vehicles, banks and cards, etc.

GeneradorDNI's website screenshot

About GeneradorDNI

GeneradorDNI is an API that generates randomized but structurally valid test data for use in QA, testing, integration, and demo environments. It produces Spanish identity and business identifiers such as DNI, NIE, and CIF numbers, along with bank data (IBAN, CCC, BIC), credit card numbers, and person/company profiles. Additional endpoints cover vehicle plate numbers and VIN numbers, passport numbers, social security numbers, usernames, emails, passwords, addresses, phone numbers, postal codes, IMEI, LEI, ISIN, CUPS codes, cadastral references, birthdates, and generated text (characters, words, paragraphs). Responses are returned as JSON and endpoints are documented via OpenAPI/Swagger.

The API applies fixed generation rules and validation algorithms (such as Luhn and letter-check formats) so that generated identifiers pass format validators, distinguishing it from freeform text produced by a chat-based LLM. It supports a custom endpoint for generating batches of mixed data types in a single request, and list-returning endpoints accept a "results" parameter to control the number of items returned (default 10, maximum 100).

It is intended for developers building CI/QA pipelines and end-to-end tests who need reproducible, schema-stable test data rather than plausible-looking but potentially invalid strings. A holidays resource (countries, states, regions, and holiday listings) is included starting from the Pro subscription tier, and a promotional code generator endpoint is also available.

Key features

  • Generates valid Spanish DNI, NIE, and CIF identification numbers
  • Generates bank data including IBAN, CCC, BIC, and credit card numbers
  • Generates person and company profiles via /profiles/person and /profiles/company
  • Generates vehicle plate numbers and VIN codes
  • Generates text data including characters, words, and paragraphs
  • Custom batch data generation via /custom/custom endpoint

Frequently asked questions

Is there a free tier or paid plans?

The API offers paid Pro and Business subscription plans, with a 50% discount code (50OFF) available for the first month.

What data formats does the API support?

It returns stable JSON responses for identifiers like DNI, NIE, CIF, IBAN, credit cards, passports, and more, following fixed validation rules rather than approximate text.

Is there API documentation available?

Yes, full documentation is available including an OpenAPI (Swagger) specification and an endpoint table with JSON examples.

Who is this API for?

It is aimed at developers doing testing, QA, integration, and demos who need structured data that passes validation, rather than plausible-looking text from an LLM.

What extra features are included with the Pro plan?

The Pro subscription includes access to the holidays resource for listing countries, states, regions, and holidays.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product