Dummy JSON
  1. Users
Dummy JSON
  • Start your journey
  • Dummy JSON
    • Auth
      • Login user and get tokens
      • Get current auth user
    • Users
      • Get all users
        GET
      • Get a single user
        GET
      • Add a new user
        POST
      • Update a user
        PUT
      • Delete a user
        DELETE
    • Products
      • Get all products
      • Get a single product
      • Search product
      • Limit and skip product
      • Sort products
      • Get all products categories
      • Get products category list
      • Get products by a category
      • Add a new product
      • Update a product
      • Delete a product
    • Posts
      • Get all post
      • Get a single post
      • Search posts
      • Limit and skip posts
      • Sort posts
      • Get all posts tags
      • Get posts tag list
      • Get posts by a tag
      • Get all post by user id
      • Get post's comments
      • Add a new post
      • Update a post
      • Delete a post
  1. Users

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
Previous
Get all users
Next
Add a new user
Built with