RandomUser
生成并列出用户数据
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 测试数据
- 文档 / URL
- https://randomuser.me
简介
RandomUser.me 生成逼真的假用户档案——名字、照片和位置——免密钥(实测可用)。UI 测试的标准假用户 API。
快速开始
一个用户(实测可用):
curl "https://randomuser.me/api/"
{
"results": [
{
"gender": "male",
"name": { "title": "Mr", "first": "Etiènne", "last": "Walravens" },
"location": { "city": "Warmenhuizen", "state": "Limburg", "country": "Netherlands" },
"email": "[email protected]",
"picture": { "large": "https://randomuser.me/api/portraits/men/75.jpg" }
}
]
}
更多用户 / 筛选:
curl "https://randomuser.me/api/?results=5&gender=female&nat=US"
认证方式
无需认证——免密钥。
速率限制与注意事项
- 免费;请礼貌使用——没有公开的硬性限制(按文档个人/原型免费)。
- 参数:
results、gender、nat、inc、exclude。 - 含逼真的档案照片。
常见问题
RandomUser 免费吗? 是的——免费且免密钥(实测)。
可以拿多个用户吗?
可以——?results=5。
有什么数据? 名字、邮箱、位置和照片。
测试数据 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AddressMock Random US, Hong Kong and Cape Verde addresses with matched city, state and ZIP | No auth | Yes | Yes | ↗ |
| Bacon Ipsum A Meatier Lorem Ipsum Generator | No auth | Yes | Unknown | ↗ |
| Dicebear Avatars Generate random pixel-art avatars | No auth | Yes | No | ↗ |
| DummyJSON Fake REST API with products, users, posts, comments, todos and more | No auth | Yes | Yes | ↗ |
| English Random Words Generate English Random Words with Pronunciation | No auth | Yes | No | ↗ |