GET /randomuser
Generieren Sie eine realistic random user profile from the RandomUser.me API, a popular service for generating fake user data. Liefert eine complete user identity einschließlich name, email, phone, address (street, city, state, country, postcode), date of birth, age, profile picture URLs (thumbnail, medium, large), login credentials (username, password), nationality, und a unique ID. Im Gegensatz zu the /generate/user Endpunkt which generates simple profiles locally, this Endpunkt produces richer, more realistic data with actual profile photos. Ideal für UI prototyping, populating demo environments, testing user registration flows, und creating realistic mockup data for presentations.
gender
optional
Filter by gender (male or female)
nat
optional
Nationality code (e.g., US, GB, NO, FI, DK)
| Name | Erforderlich | Standard | Beschreibung |
|---|---|---|---|
gender |
Nein | - | Filter by gender (male or female) |
nat |
Nein | - | Nationality code (e.g., US, GB, NO, FI, DK) |
curl https://nordapi.ee/api/v1/randomuser
curl https://nordapi.ee/api/v1/randomuser
curl "https://nordapi.ee/api/v1/randomuser?nat=NO"
curl "https://nordapi.ee/api/v1/randomuser?gender=female&nat=FI"
curl "https://nordapi.ee/api/v1/randomuser?nat=DK"
{
"count": 1,
"data": [
{
"age": 64,
"date_of_birth": "1961-11-13T16:31:49.679Z",
"email": "sertac.vansetten@example.com",
"gender": "male",
"location": {
"city": "Doesburg",
"country": "Netherlands",
"latitude": "30.2230",
"longitude": "-117.1194",
"postcode": "1105 YN",
"state": "Zuid-Holland"
},
"name": {
"first": "Sertaç",
"last": "Van Setten",
"title": "Mr"
},
"nationality": "NL",
"phone": "(049) 3681482",
"picture": {
"large": "https://randomuser.me/api/portraits/men/48.jpg",
"medium": "https://randomuser.me/api/portraits/med/men/48.jpg",
"thumbnail": "https://randomuser.me/api/portraits/thumb/men/48.jpg"
},
"registered": "2013-10-14T14:06:47.246Z",
"username": "whiterabbit140"
}
],
"success": true
}