ssn
IdentityGenerate properly formatted Social Security Numbers for testing. Uses the AAA-GG-SSSS format with valid area, group, and serial ranges. For testing only — never real SSNs.
Example Outputs
123-45-6789456-78-9012789-01-2345API Usage
Send a POST request to generate ssn 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": "ssn",
"type": "ssn"
}
]
}
]
}'Common Use Cases
- Identity verification testing
- Form validation testing
- Government system seeding
- Data masking testing
Quick Info
- Field Type
- ssn
- Category
- Identity
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate SSN + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.