API Documentation
Generate mock data programmatically with our RESTful API
🚀 Public API Coming Soon!
We're working on launching public API endpoints for programmatic access to GenMock's data generation capabilities.
Get Notified When ReadyCurrent Endpoint
POST /api/generateOur current internal API powers the web interface. The public API will include:
- ✓ RESTful endpoints
- ✓ API key authentication
- ✓ Rate limiting
- ✓ Multiple output formats
- ✓ Bulk generation
Example Request
curl -X POST https://genmock.ai/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schema": {
"name": "John Doe",
"email": "john@example.com",
"age": 30
},
"count": 100,
"format": "json"
}'Ready-to-Use Schema Examples
User Profile Data
Generate realistic user profiles with names, emails, and demographics
{
"name": "John Doe",
"email": "john@example.com",
"age": 30,
"address": {
"street": "123 Main St",
"city": "New York",
"zipCode": "10001"
},
"isActive": true
}E-commerce Product Data
Create product catalogs with prices, categories, and inventory
{
"productId": "PROD-001",
"name": "Wireless Headphones",
"price": 99.99,
"category": "Electronics",
"inStock": true,
"rating": 4.5,
"reviews": 127
}Financial Transaction Data
Generate transaction records for testing financial applications
{
"transactionId": "TXN-123456",
"amount": 250,
"currency": "USD",
"date": "2025-09-08T10:30:00Z",
"merchant": "Coffee Shop",
"category": "Food & Dining",
"accountNumber": "****1234"
}Upcoming API Features
🔑 Authentication
- • API key management
- • JWT token support
- • Team-based access control
- • Usage analytics
⚡ Performance
- • Sub-100ms response times
- • Batch generation up to 100K records
- • Global CDN distribution
- • 99.9% uptime SLA
🧠 AI Features
- • Smart schema inference
- • ML dataset generation
- • Custom AI model integration
- • Relationship modeling
🔄 Integrations
- • REST & GraphQL APIs
- • Webhook notifications
- • CI/CD pipeline integration
- • Popular dev tools plugins
Ready to Get Started?
While our public API is in development, try our web interface to see the power of GenMock's data generation capabilities.