User account with profile information including personal details, contact information, location, and account creation timestamp. Used for authentication, user management, and profile systems.
https://api.mockly.codes/users?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/usersGet a collection of users
/people/users/users/:idGet a single user by ID
/people/users/:id/users/metaGet resource metadata and schema
/people/users/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/users?q=laptopGET https://api.mockly.codes/users?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 users
fetch('https://api.mockly.codes/users?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/users?count=10'
)
data = response.json()curl "https://api.mockly.codes/users?count=10"fetch('https://api.mockly.codes/users?nocache=true')idintegerrequiredUnique identifier
random_intageintegerUser's age in years (must be 18+ for account registration)
ageusernamestringrequiredUnique username for login and identification
usernameemailstringrequiredEmail address
emailemailfirst_namestringUser's first name
first_namelast_namestringUser's last name or surname
last_nameavatarstringURL to the user's profile picture or avatar image
avatarurigenderstringUser's gender
genderphonestringUser's phone number
phoneaddressstringUser's street address
addresscitystringCity where the user is located
citycountrystringCountry where the user is located
countrycreated_atstringTimestamp when the user account was created
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request