Get fake random user profiles
Generates fake user profiles such as name, email, address and username for testing or placeholders, with count, gender, age, locale, field selection and seed options.
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v2/randomuser"
});
console.log(output);Query parameters
Number of users to generate (1-10000) (Default: 10)
Filter by gender (Allowed: male, female, nonbinary, any) (Default: any)
Minimum age (0-115) (Default: 0)
Maximum age (0-115) (Default: 100)
Locale for generating localized data (e.g., en_US, de_DE, fr_FR) (Default: en_US)
Comma-separated list of fields to include. If not specified, all available fields are returned.
Comma-separated list of fields to exclude from the response
Seed value for reproducible random data generation
Percentage of fields to leave blank (0-100) (Default: 0)
Length of generated passwords (6-128) (Default: 12)
Nationality filter (Default: any)