Mock Data API - Generate Fake Data from JSON Schema
Walks a JSON Schema and emits realistic values: string format:email → fake email, format:date → random date between 2000-2030, format:uri → fake URL, format:uuid → crypto.randomUUID, enum → random pick, arrays with minItems/maxItems, nested objects with full property walks. Generates 1-100 items per request.
Code examples
curl -X POST https://api.botoi.com/v1/mock/generate \
-H "Content-Type: application/json" \
-d '{"schema":{"type":"object","properties":{"id":{"type":"integer"},"email":{"type":"string","format":"email"},"role":{"type":"string","enum":["admin","member","viewer"]}}},"count":2}'When to use this API
Seed test databases
Describe each table row as a JSON Schema and generate hundreds of fake records. Ship seed scripts that work identically in CI and on dev laptops without bundled fixture files.
Prototype UIs with realistic data
When designing a dashboard, generate mock user records, transactions, or events to populate the UI with plausible data instead of Lorem Ipsum. Screenshots for specs look real.
Load testing payloads
Generate thousands of request bodies matching your OpenAPI schema, then replay them against a staging environment to validate behavior under load.
Frequently asked questions
Which JSON Schema features are supported?
Are the generated values deterministic?
How many items can I generate per request?
What happens with $ref?
Are format validations enforced?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.