Full Identity (Spain)
GET/api/v1/es/identity
Algorithms it implements
- Full identityComposite: Mod 23 + Mod 97
Name, DNI/NIE, NSS, email, phone and address, consistent with each other.
Inspect the step-by-step calculation in /en/catalog.
Query parameters
| Name | Default | Values | Description |
|---|---|---|---|
| sexo | any | any · H · M | Sex of the generated person. |
| edad_min | 18 | — | Minimum age (18-90). |
| edad_max | 75 | — | Maximum age (18-90). |
Generated fields
- sexo
- nombre
- apellido1
- apellido2
- fecha_nacimiento
- edad
- documento
- tipo_documento
- nss
- telefono
- tipo_via
- calle
- numero
- piso
- cp
- municipio
- provincia
- comunidad
Usage example
terminal
curl "https://datamockseed.firstflip.es/api/v1/es/identity?sexo=any&edad_min=18&edad_max=75&count=2&seed=docs-ejemplo"Example response
Generated when this page was built, with the deterministic seed docs-ejemplo.
{
"status": "success",
"meta": {
"generator": "identity",
"locale": "es",
"seed": "docs-ejemplo",
"count": 2,
"options": {
"sexo": "any",
"edad_min": "18",
"edad_max": "75"
}
},
"data": [
{
"sexo": "H",
"nombre": "Joaquín",
"apellido1": "Morales",
"apellido2": "Márquez",
"fecha_nacimiento": "08/10/2000",
"edad": 25,
"documento": "83904867Q",
"tipo_documento": "DNI",
"nss": "323232450201",
"email": "joaquin.morales@example.net",
"telefono": "606493981",
"tipo_via": "Ronda",
"calle": "San Pedro",
"numero": "175",
"cp": "32500",
"municipio": "O Carballiño",
"provincia": "Ourense",
"comunidad": "Galicia"
},
{
"sexo": "H",
"nombre": "Joaquín",
"apellido1": "Díaz",
"apellido2": "Herrera",
"fecha_nacimiento": "28/07/2005",
"edad": 20,
"documento": "30341789M",
"tipo_documento": "DNI",
"nss": "130511117739",
"email": "joaquin.diaz@example.org",
"telefono": "745326713",
"tipo_via": "Travesía",
"calle": "Santa María",
"numero": "41",
"cp": "13200",
"municipio": "Manzanares",
"provincia": "Ciudad Real",
"comunidad": "Castilla-La Mancha"
}
]
}