1. Home
  2. APIs
  3. Face & documents

Name match API

Score how closely two Indian names match.

Mode: Instant
Checked against: Yetlix matching engine

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

  1. You send two names.
  2. We normalise case, titles (Mr, Smt, Dr), punctuation and common spelling variants.
  3. We compare tokens allowing for initials, order and missing parts and return a score with reasons.

Request

FieldDescription
name_1First name string
name_2Second 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"}'

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.

FieldTypeMeaning
scoreinteger0–100.
resultenumMATCH, PARTIAL or NO_MATCH.
reasonsarraye.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.

ValueReturns
R K VermaInitials expanded
Anita DesaiDifferent person

Run these in the playground

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.

Often used with