MockHero

last_name

Identity

Generate culturally accurate last names that match your target locale. From Bergmann to Tanaka to Patel — realistic surnames for any region.

Example Outputs

BergmannTanakaPatelO'BrienJohansson

Parameters

ParameterDescription
localeLanguage/region code

API Usage

Send a POST request to generate last name 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": "last_name",
          "type": "last_name",
          "params": {
            "locale": "de"
          }
        }
      ]
    }
  ]
}'

Common Use Cases

  • User database seeding
  • Address book testing
  • Name search testing
  • Sorting and filtering tests

Quick Info

Field Type
last_name
Category
Identity
Parameters
1 parameter
Output Format
JSON, CSV, SQL

Try it now

Generate last name data instantly in the playground.

Generate Last Name + 155 more types via API

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

Get Started Free