Generator · Generic data

Person name

Endpoint GET /v1/person-name

What it covers

Returns a realistic synthetic person name drawn from a mix of EU countries. Pass `countries` as a comma-separated list of ISO codes (`?countries=pl,sk,it`) and each record is generated by one of them, picked at random — so a batch can mix Polish, Slovak, and Italian names, each in its own local form. Omit `countries` to draw from all 27 EU countries. Each record reports the `country` it came from. `sex`, `edge`, and `caseStrict` work as on the per-country endpoints.

Parameters

ParameterTypeDescription
caseStrictbooleanDefaults to true (proper casing). Set false to deliberately mangle the casing of name and surname (all-lower, all-upper, or random); initials stay proper uppercase.
countinteger1–1000Number of records to return, 1–1000 (your plan may lower this). Omitted returns a single record; set it for a batch.
countries"at" | "be" | "bg" | "cy" | "cz" | "de" | "dk" | "ee" | "es" | "fi" | "fr" | "gr" | "hr" | "hu" | "ie" | "it" | "lt" | "lu" | "lv" | "mt" | "nl" | "pl" | "pt" | "ro" | "se" | "si" | "sk"[]Comma-separated ISO 3166 country codes to draw from, e.g. `pl,sk,it`. Omit for all 27.
edgebooleanBias toward edge-case name shapes (second given names, double surnames, short names).
extremebooleanReturn a correct name whose name and surname are wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, homoglyph letters, or bidi/combining marks). initials stay clean.
invalidbooleanReturn a deliberately invalid value that fails validation, for testing rejection paths.
seedintegerInteger seed for reproducible output: the same seed always yields the same record.
sex"m" | "f"Gendered form of the name: "m" or "f". Omit for random.

Response fields

FieldTypeDescription
namestringGiven (first) name(s), in the local script, agreeing with the sex.
surnamestringSurname in the form matching the sex (inflected where required).
initialsstringUppercase initials of name and surname, no dots.
sex"m" | "f"The sex the name was inflected for.
countrystringISO 3166 alpha-2 code of the country this name was drawn from.

Other generic generators

Try it

Generate a live example below — every response is valid by format and entirely synthetic.