Skip to content

Random User Generator API

3 endpointsUtilitiesGlobalsocial:read3 real examples

Returns random fictional user profiles, repeatable by seed and page, or filtered by nationality.

View as Markdown
GET/randomuser/usersRandom fictional users. A seed makes the answer repeatable.
GET/randomuser/seededPageOne page of the users of a seed. The same seed and page always return the same users, so the list can be walked with cursor.
GET/randomuser/nationalityRandom fictional users of one country, by its two-letter code.

users

GET/v1/randomuser/users

Random fictional users. A seed makes the answer repeatable.

scope social:read1 unitcached 1 hpaginated

Parameters

limit
integer
Items per page, 1 to 50.
default 1e.g. 2
seed
string
Letters and digits; the same seed returns the same users.
e.g. hoshime
gender
string
Only users of this gender.
malefemale
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
ageinteger (int64)
birthDatestring
citystring
countrystring
emailstring
firstNamestring
genderstring
idstring
lastNamestring
phonestring
pictureUrlstring
titlestring
curl "https://api.hoshime.com/v1/randomuser/users?limit=2&seed=hoshime" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "age": 58,
      "birthDate": "1967-12-23",
      "city": "Busselton",
      "country": "Australia",
      "email": "terry.webb@example.com",
      "firstName": "Terry",
      "gender": "male",
      "id": "ef38647f-e112-4ff6-846e-d66e3d728cbb",
      "lastName": "Webb",
      "phone": "02-8415-7777",
      "pictureUrl": "https://randomuser.me/api/portraits/med/men/88.jpg",
      "title": "Mr"
    },
    {
      "age": 81,
      "birthDate": "1945-02-28",
      "city": "Coyotitán",
      "country": "Mexico",
      "email": "hernan.ulloa@example.com",
      "firstName": "Hernán",
      "gender": "male",
      "id": "f07af77a-fd9a-41c5-bd92-6ebb03b52ed2",
      "lastName": "Ulloa",
      "phone": "(652) 921 0244",
      "pictureUrl": "https://randomuser.me/api/portraits/med/men/94.jpg",
      "title": "Mr"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "users",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "randomuser",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

seededPage

GET/v1/randomuser/seededPage

One page of the users of a seed. The same seed and page always return the same users, so the list can be walked with cursor.

scope social:read1 unitcached 1 hpaginated

Parameters

seed
string
required
Letters and digits, 1 to 32; the same seed returns the same users.
e.g. hoshime
limit
integer
Items per page, 1 to 50.
default 10e.g. 2
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
ageinteger (int64)
birthDatestring
citystring
countrystring
emailstring
firstNamestring
genderstring
idstring
lastNamestring
phonestring
pictureUrlstring
titlestring
curl "https://api.hoshime.com/v1/randomuser/seededPage?seed=hoshime&limit=2" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "age": 58,
      "birthDate": "1967-12-23",
      "city": "Busselton",
      "country": "Australia",
      "email": "terry.webb@example.com",
      "firstName": "Terry",
      "gender": "male",
      "id": "ef38647f-e112-4ff6-846e-d66e3d728cbb",
      "lastName": "Webb",
      "phone": "02-8415-7777",
      "pictureUrl": "https://randomuser.me/api/portraits/med/men/88.jpg",
      "title": "Mr"
    },
    {
      "age": 81,
      "birthDate": "1945-02-28",
      "city": "Coyotitán",
      "country": "Mexico",
      "email": "hernan.ulloa@example.com",
      "firstName": "Hernán",
      "gender": "male",
      "id": "f07af77a-fd9a-41c5-bd92-6ebb03b52ed2",
      "lastName": "Ulloa",
      "phone": "(652) 921 0244",
      "pictureUrl": "https://randomuser.me/api/portraits/med/men/94.jpg",
      "title": "Mr"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "seededPage",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "randomuser",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

nationality

GET/v1/randomuser/nationality

Random fictional users of one country, by its two-letter code.

scope social:read1 unitcached 1 hpaginated

Parameters

nat
string
required
Country code such as gb or us.
aubrcachdedkesfifrgbieinirmxnlnonzrstruaus
e.g. gb
limit
integer
Items per page, 1 to 50.
default 1e.g. 2
seed
string
Letters and digits; the same seed returns the same users.
e.g. hoshime
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
ageinteger (int64)
birthDatestring
citystring
countrystring
emailstring
firstNamestring
genderstring
idstring
lastNamestring
phonestring
pictureUrlstring
titlestring
curl "https://api.hoshime.com/v1/randomuser/nationality?nat=gb&limit=2&seed=hoshime" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "age": 58,
      "birthDate": "1967-12-23",
      "city": "Coventry",
      "country": "United Kingdom",
      "email": "theodore.webb@example.com",
      "firstName": "Theodore",
      "gender": "male",
      "id": "ef38647f-e112-4ff6-846e-d66e3d728cbb",
      "lastName": "Webb",
      "phone": "025 7645 9606",
      "pictureUrl": "https://randomuser.me/api/portraits/med/men/88.jpg",
      "title": "Mr"
    },
    {
      "age": 34,
      "birthDate": "1992-09-21",
      "city": "Wakefield",
      "country": "United Kingdom",
      "email": "allie.warren@example.com",
      "firstName": "Allie",
      "gender": "female",
      "id": "f07af77a-fd9a-41c5-bd92-6ebb03b52ed2",
      "lastName": "Warren",
      "phone": "019467 49070",
      "pictureUrl": "https://randomuser.me/api/portraits/med/women/65.jpg",
      "title": "Ms"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "nationality",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "randomuser",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open