address
LocationGenerate complete mailing addresses with street, city, and postal code — all locale-appropriate. A German address looks German, not a US address with a German city name.
Example Outputs
Friedrichstraße 42, 10117 Berlin123 Main St, San Francisco, CA 941024-2-8 Shibuyaku, Tokyo 150-0002API Usage
Send a POST request to generate address data:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tables": [
{
"name": "example",
"count": 5,
"fields": [
{
"name": "address",
"type": "address"
}
]
}
]
}'Common Use Cases
- Shipping form testing
- Address label generation
- Geocoding testing
- Checkout flow seeding
Quick Info
- Field Type
- address
- Category
- Location
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Generate Address + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.