- Start your journey
- Dummy JSON
Get a single user
GET
/users/1
Last modified:2025-05-19 14:41:51
Maintainer:ekovegeance
Request
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dummyjson.com/users/1' \
--header 'Content-Type: text/plain' \
--data-raw ''
Responses
🟢200OK
application/json
Body
id
integer
required
firstName
string
required
lastName
string
required
maidenName
string
required
age
integer
required
gender
string
required
email
string
required
phone
string
required
username
string
required
password
string
required
birthDate
string
required
image
string
required
bloodGroup
string
required
height
number
required
weight
number
required
eyeColor
string
required
hair
object
required
color
string
required
type
string
required
ip
string
required
address
object
required
address
string
required
city
string
required
state
string
required
stateCode
string
required
postalCode
string
required
coordinates
object
required
country
string
required
macAddress
string
required
university
string
required
bank
object
required
cardExpire
string
required
cardNumber
string
required
cardType
string
required
currency
string
required
iban
string
required
company
object
required
department
string
required
name
string
required
title
string
required
address
object
required
ein
string
required
ssn
string
required
userAgent
string
required
crypto
object
required
coin
string
required
wallet
string
required
network
string
required
role
string
required
Example
{
"id": 0,
"firstName": "string",
"lastName": "string",
"maidenName": "string",
"age": 0,
"gender": "string",
"email": "string",
"phone": "string",
"username": "string",
"password": "string",
"birthDate": "string",
"image": "string",
"bloodGroup": "string",
"height": 0,
"weight": 0,
"eyeColor": "string",
"hair": {
"color": "string",
"type": "string"
},
"ip": "string",
"address": {
"address": "string",
"city": "string",
"state": "string",
"stateCode": "string",
"postalCode": "string",
"coordinates": {
"lat": 0,
"lng": 0
},
"country": "string"
},
"macAddress": "string",
"university": "string",
"bank": {
"cardExpire": "string",
"cardNumber": "string",
"cardType": "string",
"currency": "string",
"iban": "string"
},
"company": {
"department": "string",
"name": "string",
"title": "string",
"address": {
"address": "string",
"city": "string",
"state": "string",
"stateCode": "string",
"postalCode": "string",
"coordinates": {
"lat": 0,
"lng": 0
},
"country": "string"
}
},
"ein": "string",
"ssn": "string",
"userAgent": "string",
"crypto": {
"coin": "string",
"wallet": "string",
"network": "string"
},
"role": "string"
}
Modified at 2025-05-19 14:41:51