User profile JSON example
Last updated 2026-05-20
Example JSON
A single user record. Identical to what /users/1 returns.
{
"id": 1,
"firstName": "Emily",
"lastName": "Johnson",
"email": "[email protected]",
"username": "emilys",
"phone": "+81 965-431-3024",
"image": "https://jsonexamples.com/image/200?text=User+1",
"age": 28,
"address": {
"address": "626 Main Street",
"city": "Phoenix",
"state": "OK",
"stateCode": "OK",
"postalCode": "29920",
"country": "United States"
},
"company": {
"department": "Engineering",
"name": "Atlas Industries",
"title": "Sales Manager"
}
}Request examples
fetch('https://jsonexamples.com/users/1')
.then(res => res.json())
.then(user => console.log(user));Try the live endpoint
Click below to call /users/1 from your browser.
GET
/users/1{
"hint": "Click 'Run' to call the live endpoint"
}Common variations
Minimal — id, name, email only
Useful for a contact list or autocomplete suggestion.
{
"id": 1,
"firstName": "Emily",
"lastName": "Johnson",
"email": "[email protected]"
}With auth tokens (login response shape)
Same user, returned by /auth/login alongside an access + refresh token.
{
"id": 1,
"firstName": "Emily",
"lastName": "Johnson",
"email": "[email protected]",
"image": "https://jsonexamples.com/image/200?text=User+1",
"accessToken": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIn0.signature",
"refreshToken": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIn0.refreshsig"
}Paginated list wrapper
Same user repeated inside the standard list envelope.
{
"users": [
{
"id": 1,
"firstName": "Emily",
"lastName": "Johnson"
},
{
"id": 2,
"firstName": "Michael",
"lastName": "Williams"
}
],
"total": 100,
"skip": 0,
"limit": 30
}Convert this JSON
Generated starting points for TypeScript, JSON Schema, and Zod. Refine before shipping to production.
export interface UserProfile {
"id": number;
"firstName": string;
"lastName": string;
"email": string;
"username": string;
"phone": string;
"image": string;
"age": number;
"address": {
"address": string;
"city": string;
"state": string;
"stateCode": string;
"postalCode": string;
"country": string;
};
"company": {
"department": string;
"name": string;
"title": string;
};
}