Overview
RandomUser generates complete fake user profiles — including name, email, address, photo, and more — in a single JSON response. It requires no authentication and is great for populating UI mockups with realistic-looking people. Use the results parameter to request multiple users at once.
Beginner Tip
Use the nat parameter to specify a nationality (e.g. nat=us or nat=gb) so that names, addresses, and phone numbers match a realistic regional format.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://randomuser.me/api/?results=5&nat=us
- Result
- HTTP 200 · application/json · 5,493 bytes · compressed
- Response time
- 233 ms (median of 3) · fastest 202 ms
- Transport
- TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
- Browser CORS
- Allowed — Access-Control-Allow-Origin: *
- Served by
- cloudflare
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| gender | string | female |
| name | object | {1 fields} |
| location | object | {1 fields} |
| string | [email protected] | |
| login | object | {1 fields} |
| dob | object | {1 fields} |
| registered | object | {1 fields} |
| phone | string | (292) 475-0947 |
| cell | string | (392) 979-9047 |
| id | object | {1 fields} |
| picture | object | {1 fields} |
| nat | string | US |
Captured Response
Captured from a real request to https://randomuser.me/api/?results=5&nat=us on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"results": [
{
"gender": "female",
"name": {
"…": "(3 more fields)"
},
"location": {
"…": "(7 more fields)"
},
"email": "[email protected]",
"login": {
"…": "(7 more fields)"
},
"dob": {
"…": "(2 more fields)"
},
"registered": {
"…": "(2 more fields)"
},
"phone": "(292) 475-0947",
"cell": "(392) 979-9047",
"id": {
"…": "(2 more fields)"
},
"picture": {
"…": "(3 more fields)"
},
"nat": "US"
}
],
"info": {
"seed": "d2e4768fea187496",
"results": 5,
"page": 1,
"version": "1.4"
}
} Field Reference
results Array of generated user objects name Object with title, first, and last name strings email Randomly generated email address picture URLs for large, medium, and thumbnail profile photos location Full address including street, city, country, and postcode login Generated username, password hash, and UUID Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://randomuser.me/api/?results=5&nat=us";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
How This API Fails
We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.
Not Found
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Bacon Ipsum
⭐ Beginner's PickBacon Ipsum is a fun lorem ipsum generator that returns meat-themed placeholder text in JSON format.
Dicebear Avatars
⭐ Beginner's PickDicebear Avatars is a free API that generates unique, deterministic pixel-art avatars based on a seed string you provide.
English Random Words
⭐ Beginner's PickEnglish Random Words API generates random English words along with their pronunciation guides, making it useful for word games, vocabulary apps, and testing text-to-speech features.
FakerAPI
⭐ Beginner's PickFakerAPI is a free collection of REST endpoints that return realistic fake data including people, companies, addresses, credit cards, and more.
FakeStoreAPI
⭐ Beginner's PickFakeStoreAPI is a free REST API that simulates an e-commerce backend, providing endpoints for products, carts, and users without any setup.