address_line_2
LocationGenerate secondary address lines like apartment numbers, suite numbers, and floor designations. The optional 'Address Line 2' field in forms.
Example Outputs
Apt 4BSuite 200Floor 3Unit 12Building CAPI Usage
Send a POST request to generate address line 2 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_line_2",
"type": "address_line_2"
}
]
}
]
}'Common Use Cases
- Address form testing
- Optional field validation
- Shipping address completeness
Quick Info
- Field Type
- address_line_2
- Category
- Location
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate Address Line 2 + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.