freeapis

Mockaroo

生成 JSON、CSV、TXT、SQL 和 XML 格式的模拟数据

认证方式
API Key
HTTPS
Yes
CORS
Unknown

简介

Mockaroo 根据 schema 生成自定义模拟数据——CSV/JSON/SQL。认证是 API 密钥(无效密钥返回 401,已实测)。

快速开始

生成(替换 YOUR_KEY):

curl "https://api.mockaroo.com/api/123456?count=1&key=YOUR_KEY"
[ { "id": 1, "first_name": "John", "last_name": "Doe", "email": "john@example.com" } ]

认证方式

  • 在 mockaroo.com 注册 → 创建 schema → API 密钥。
  • 通过 key 查询参数携带(无效 → 401,已实测)。

速率限制与注意事项

  • 免费层:200 次/天(看文档);付费档可扩展。
  • 输出:JSON、CSV、SQL 或 Excel。
  • 丰富字段类型(名字、邮箱、日期、自定义列表)。

常见问题

Mockaroo 免费吗? 免费层:200 次/天;更多需要付费。

如何获取密钥? mockaroo.com → 创建 schema → 密钥。

认证风格是什么? key 查询参数(已实测)。

测试数据 分类更多

APIAuthHTTPSCORS
AddressMock

Random US, Hong Kong and Cape Verde addresses with matched city, state and ZIP

No authYesYes
Bacon Ipsum

A Meatier Lorem Ipsum Generator

No authYesUnknown
Dicebear Avatars

Generate random pixel-art avatars

No authYesNo
DummyJSON

Fake REST API with products, users, posts, comments, todos and more

No authYesYes
English Random Words

Generate English Random Words with Pronunciation

No authYesNo