Check if the Social Security Number is within the acceptable range, and match against the First and Last Name.
- SSN Name Match Serverhttps://namessn.melissadata.net/v4/web/SSN/doLookup
import requests
url = "https://namessn.melissadata.net/v4/web/SSN/doLookup"
query = {
"id": "{REPLACE-WITH-YOUR-LICENSE-KEY}",
"ssn": "111222333",
"first": "John",
"last": "Doe"
}
headers = {
"Accept": "application/json",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers, params=query)
data = response.json()
print(data)Successful response
Lists error codes from any errors caused by the most recent request as a whole. For more information, see SSN Name Match Result Codes.
Response
{ "TransmissionResults": "", "TransmissionReference": "", "Version": "6.2.0.1028", "TotalRecords": "1", "Records": [ { … } ] }