Skip to main content
POST
Generate Random User Profiles

Request contract

  • Method and path: POST /apis/v1/api-ninjas/generate-random-user
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/generate-random-user
  • Runtime facts: 80f6d0ab09ca1b2bfaa51bc30934eca7d1f0ea7e38c9d075b9100f098998c5d9
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.00089 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.00089
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Declared maximum count/units: 10000000
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
seed
string

Seed value for reproducible random data generation. Using the same seed value will always produce the same set of random users, which is useful for testing or creating consistent demo data.

Examples:

"my-test-seed-123"

"demo-data-v1"

count
integer
default:10

Number of random user profiles to generate. Must be between 1 and 30. Default: 10

Required range: 1 <= x <= 30
Examples:

1

5

10

fields
enum<string>[]

Profile fields to include in the response. Only these fields are returned.

Available options:
id,
username,
password,
email,
uuid,
locale,
name,
first_name,
last_name,
full_name,
prefix,
suffix,
phone,
cell,
company_email,
street_address,
city,
state,
postal_code,
country,
address,
latitude,
longitude,
timezone,
dob,
age,
gender,
job,
company,
ssn,
credit_card,
credit_card_provider,
iban,
ipv4,
ipv6,
mac_address,
user_agent,
url,
domain,
md5,
sha1,
sha256,
picture,
avatar
Examples:
gender
enum<string>

Gender filter for random user generation

Available options:
male,
female,
nonbinary,
any
Examples:

"male"

"female"

"nonbinary"

"any"

locale
string

Locale for generating localized data such as names, addresses, and phone numbers. Use standard locale codes like 'en_US' (English - United States), 'de_DE' (German - Germany), 'fr_FR' (French - France), 'es_ES' (Spanish - Spain), etc. Default: 'en_US'

Examples:

"en_US"

"de_DE"

"fr_FR"

"es_ES"

exclude
enum<string>[]

Profile fields to exclude from the response. All other fields are returned.

Available options:
id,
username,
password,
email,
uuid,
locale,
name,
first_name,
last_name,
full_name,
prefix,
suffix,
phone,
cell,
company_email,
street_address,
city,
state,
postal_code,
country,
address,
latitude,
longitude,
timezone,
dob,
age,
gender,
job,
company,
ssn,
credit_card,
credit_card_provider,
iban,
ipv4,
ipv6,
mac_address,
user_agent,
url,
domain,
md5,
sha1,
sha256,
picture,
avatar
Examples:
max_age
integer

Maximum age for generated users. Must be between 0 and 1000. Default: 100

Required range: 0 <= x <= 1000
Examples:

50

65

100

min_age
integer

Minimum age for generated users. Must be between 0 and 1000. Default: 0

Required range: 0 <= x <= 1000
Examples:

18

25

30

Response

Tool result data

id
string
age
integer
dob
string
job
string
md5
string
ssn
string
url
string
cell
string
city
string
iban
string
ipv4
string
ipv6
string
name
string
sha1
string
uuid
string
email
string
phone
string
state
string
avatar
string
domain
string
gender
string
locale
string
prefix
string
sha256
string
suffix
string
address
string
company
string
country
string
picture
string
latitude
number
password
string
timezone
string
username
string
full_name
string
last_name
string
longitude
number
first_name
string
user_agent
string
credit_card
string
mac_address
string
postal_code
string
company_email
string
street_address
string
credit_card_provider
string