GET /randomuser
Myndaðu a realistic random user profile frá RandomUser.me API, a popular service for generating fake user data. Skilar a complete user identity þar á meðal name, email, phone, address (street, city, state, country, postcode), date of birth, age, profile picture URLs (thumbnail, medium, large), login credentials (username, password), nationality, and a unique ID. Ólíkt /generate/user endapunktur which generates simple profiles locally, this endapunktur produces richer, more realistic data with actual profile photos. Tilvalið fyrir UI prototyping, populating demo environments, testing user registration flows, and creating realistic mockup data for presentations.
gender
valfrjálst
Filter by gender (male or female)
nat
valfrjálst
Nationality code (e.g., US, GB, NO, FI, DK)
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
gender |
Nei | - | Filter by gender (male or female) |
nat |
Nei | - | 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": 41,
"date_of_birth": "1985-02-28T18:15:27.687Z",
"email": "marito.aragao@example.com",
"gender": "male",
"location": {
"city": "Valparaíso de Goiás",
"country": "Brazil",
"latitude": "-76.0878",
"longitude": "-84.1812",
"postcode": 68501,
"state": "Rio Grande do Sul"
},
"name": {
"first": "Marito",
"last": "Aragão",
"title": "Mr"
},
"nationality": "BR",
"phone": "(65) 5806-2817",
"picture": {
"large": "https://randomuser.me/api/portraits/men/32.jpg",
"medium": "https://randomuser.me/api/portraits/med/men/32.jpg",
"thumbnail": "https://randomuser.me/api/portraits/thumb/men/32.jpg"
},
"registered": "2003-07-14T21:07:24.462Z",
"username": "whitepeacock981"
}
],
"success": true
}