name_prefix
IdentityGenerate appropriate name prefixes and honorifics like Mr., Mrs., Dr., Prof. Useful for formal address testing and title fields.
Example Outputs
Mr.Mrs.Ms.Dr.Prof.API Usage
Send a POST request to generate name prefix 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": "name_prefix",
"type": "name_prefix"
}
]
}
]
}'Common Use Cases
- Formal letter generation
- Title/honorific fields
- Address label testing
Quick Info
- Field Type
- name_prefix
- Category
- Identity
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate Name Prefix + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.