DOCUMENTATION
API Documentation
Introduction
The SynGen Pro API allows you to programmatically generate synthetic data for your applications. Use it to create test data, seed databases, or generate sample datasets.
Base URL:
https://synthgenapp.dev/api
Quick Start
Here's a simple example to get you started:
curl -X POST https://synthgenapp.dev/api/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"rows": 10,
"format": "json",
"fields": [
{"name": "id", "type": "integer", "constraints": {"min": 1, "max": 1000}},
{"name": "email", "type": "email"},
{"name": "name", "type": "name"}
]
}'
Supported Data Types
| Type | Description | Constraints |
|---|---|---|
integer |
Random integer value | min, max |
float |
Random decimal value | min, max, precision |
string |
Random string | min_length, max_length |
name |
Realistic person name | - |
email |
Valid email address | - |
phone |
Phone number | - |
company |
Company name | - |
address |
Street address | - |
city |
City name | - |
country |
Country name | - |
date |
Date (YYYY-MM-DD) | start, end |
datetime |
Date and time | start, end |
boolean |
True/False value | - |
uuid |
UUID v4 | - |
url |
Website URL | - |
Rate Limits
| Plan | Requests/Day | Max Rows/Request |
|---|---|---|
| Free | 100 | 1,000 |
| Pro | 10,000 | 100,000 |