MockHero

address_line_2

Location

Generate 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 C

API 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

Try it now

Generate address line 2 data instantly in the playground.

Generate Address Line 2 + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free