Name Matcher
The matcher compares names and name pairs to find out whether the people could possibly be one and the same person.
See also the Swagger specification.
See also the Swagger specification.
POST
application/json (you must set the content-type as http header)
We have integrated Swagger directly into our API.
Visit https://api.nameapi.org/rest/swagger-ui/.
Visit https://api.nameapi.org/rest/swagger-ui/.
Input
See InputPerson.
See Context.
{ "context" : { "priority" : "REALTIME", "properties" : [ ] }, "inputPerson1" : { "type" : "NaturalInputPerson", "personName" : { "nameFields" : [ { "string" : "John", "fieldType" : "GIVENNAME" }, { "string" : "Doe", "fieldType" : "SURNAME" } ] }, "gender" : "UNKNOWN" }, "inputPerson2" : { "type" : "NaturalInputPerson", "personName" : { "nameFields" : [ { "string" : "Johnny", "fieldType" : "GIVENNAME" }, { "string" : "Doe", "fieldType" : "SURNAME" } ] }, "gender" : "UNKNOWN" } }
Output
Shows how well the 2 people matched.
See PersonMatcherResult.
{ "matchType" : "MATCHING", "personMatchComposition" : "FULL", "points" : 0.7592745638200183, "confidence" : 1.0, "personNameMatcherResult" : { "matchType" : "MATCHING" }, "genderMatcherResult" : { "matchType" : "EQUAL", "confidence" : 0.5, "warnings" : [ ] }, "ageMatcherResult" : { "matchType" : "NOT_APPLICABLE" } }