Name match API
Score how closely two Indian names match.
Overview
Built for the way names appear across Indian records: initials, missing middle names, swapped order, spelling variants like Mohd / Mohammed. Use it to compare names from PAN, bank and Aadhaar.
POST/v1/match/name
Where it’s used
- Cross-document consistency
- Payout beneficiary checks
- Duplicate account detection
How the check runs
- You send two names.
- We normalise case, titles (Mr, Smt, Dr), punctuation and common spelling variants.
- We compare tokens allowing for initials, order and missing parts and return a score with reasons.
Request
| Field | Description |
|---|---|
name_1 | First name string |
name_2 | Second name string |
curl -X POST https://api.yetlix.com/v1/match/name \
-H "x-client-id: $YETLIX_CLIENT_ID" \
-H "x-client-secret: $YETLIX_CLIENT_SECRET" \
-H "Content-Type: application/json" \
-d '{"name_1":"R K Verma","name_2":"Rohit Kumar Verma"}'
{
"status": "success",
"request_id": "req_7Hq2kD91",
"data": {
"score": 82,
"result": "MATCH",
"reasons": [
"INITIALS_EXPANDED"
]
}
}
Response fields
Inside the data object. The envelope (status, request_id, billable, timestamp) is the same for every API and is described in the docs.
| Field | Type | Meaning |
|---|---|---|
score | integer | 0–100. |
result | enum | MATCH, PARTIAL or NO_MATCH. |
reasons | array | e.g. INITIALS_EXPANDED, ORDER_SWAPPED, MIDDLE_NAME_MISSING, SPELLING_VARIANT, TITLE_REMOVED. |
Outcomes and what to do
Every check can end in a handful of ways. Decide up front what your product does in each case, so nothing falls through to a support ticket.
MATCH
Same name in practice.
Do this: Accept.
PARTIAL
Likely same, needs a look.
Do this: Review, or ask the user.
NO_MATCH
Different people.
Do this: Reject or review.
Sandbox test values
Send these values in name_1 with your sandbox key to get each result. Anything else returns INVALID_INPUT in sandbox.
| Value | Returns |
|---|---|
R K Verma | Initials expanded |
Anita Desai | Different person |
Best practices
- Married names and father’s-name-as-surname are common in India. Keep a PARTIAL review band instead of a single cut-off.
Compliance note. No source lookup. Only the two strings you send are processed.
Frequently asked
Can it match Hindi and English names?
Send both in Latin script for now. Transliteration support is in beta.