具
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/users | Random fictional users. A seed makes the answer repeatable. |
| GET | /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. |
| GET | /randomuser/nationality | Random fictional users of one country, by its two-letter code. |
users
GET
/v1/randomuser/usersRandom fictional users. A seed makes the answer repeatable.
scope social:read1 unitcached 1 hpaginated
Parameters
limitinteger | Items per page, 1 to 50. default 1e.g. 2 |
seedstring | Letters and digits; the same seed returns the same users. e.g. hoshime |
genderstring | Only users of this gender.malefemale |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
age | integer (int64) |
birthDate | string |
city | string |
country | string |
email | string |
firstName | string |
gender | string |
id | string |
lastName | string |
phone | string |
pictureUrl | string |
title | string |
curl "https://api.hoshime.com/v1/randomuser/users?limit=2&seed=hoshime" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/randomuser/users?limit=2&seed=hoshime", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/randomuser/users?limit=2&seed=hoshime", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/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.
scope social:read1 unitcached 1 hpaginated
Parameters
seedstring required | Letters and digits, 1 to 32; the same seed returns the same users. e.g. hoshime |
limitinteger | Items per page, 1 to 50. default 10e.g. 2 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
age | integer (int64) |
birthDate | string |
city | string |
country | string |
email | string |
firstName | string |
gender | string |
id | string |
lastName | string |
phone | string |
pictureUrl | string |
title | string |
curl "https://api.hoshime.com/v1/randomuser/seededPage?seed=hoshime&limit=2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/randomuser/seededPage?seed=hoshime&limit=2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/randomuser/seededPage?seed=hoshime&limit=2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/nationalityRandom fictional users of one country, by its two-letter code.
scope social:read1 unitcached 1 hpaginated
Parameters
natstring required | Country code such as gb or us.aubrcachdedkesfifrgbieinirmxnlnonzrstruause.g. gb |
limitinteger | Items per page, 1 to 50. default 1e.g. 2 |
seedstring | Letters and digits; the same seed returns the same users. e.g. hoshime |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
age | integer (int64) |
birthDate | string |
city | string |
country | string |
email | string |
firstName | string |
gender | string |
id | string |
lastName | string |
phone | string |
pictureUrl | string |
title | string |
curl "https://api.hoshime.com/v1/randomuser/nationality?nat=gb&limit=2&seed=hoshime" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/randomuser/nationality?nat=gb&limit=2&seed=hoshime", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/randomuser/nationality?nat=gb&limit=2&seed=hoshime", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }