MockHero

ssn

Identity

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

API 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

Try it now

Generate ssn data instantly in the playground.

Generate SSN + 155 more types via API

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

Get Started Free