---
title: "Identify Chinese name candidates, based on the romanized name ex. Wang Xiaoming"
method: GET
path: "/api2/json/chineseNameCandidates/{chineseSurnameLatin}/{chineseGivenNameLatin}"
tags: ["chinese"]
---

# Identify Chinese name candidates, based on the romanized name ex. Wang Xiaoming

`GET /api2/json/chineseNameCandidates/{chineseSurnameLatin}/{chineseGivenNameLatin}`

## Request

- Base URL: `https://v2.namsor.com/NamSorAPIv2`
- URL: `https://v2.namsor.com/NamSorAPIv2/api2/json/chineseNameCandidates/{chineseSurnameLatin}/{chineseGivenNameLatin}`
- Auth: API key in header `X-API-KEY`

## Path parameters

- `chineseSurnameLatin` string, required
- `chineseGivenNameLatin` string, required

## Response `200`

A romanized name.

- NameMatchCandidatesOut: Classified matched names
  - `script` string
  - `id` string
  - `explanation` string
  - `firstName` string: The first name (also known as given name)
  - `lastName` string: The last name (also known as family name, or surname)
  - `orderOption` string: The option for ordering
  - `matchCandidates` NameMatchCandidateOut[]: The ordered list of name matching candidates
    - `candidateName` string: The name matching candidate name
    - `probability` number, double: The name matching estimated probability.
    - `predScoreGivenName` number, double: The given name prediction score.
    - `predScoreFamilyName` number, double: The family name prediction score.

## Other responses

- `401`: Missing or incorrect API Key
- `403`: Email not Verified, or API Limit Reached, or API Key Disabled
- `429`: Too Many Requests

## Changes

- **2025-05-16** `6297d39b756d`: 2 info
  - added the non-success response with the status `429`
  - added the optional property `explanation` to the response with the `200` status

[Operation history](https://skmtc.dev/namsor/apis/namsor-api-v2/changes/api2/json/chineseNameCandidates/:chineseSurnameLatin/:chineseGivenNameLatin/get.md)

---

[API](https://skmtc.dev/namsor/apis/namsor-api-v2.md) - [All operations](https://skmtc.dev/namsor/apis/namsor-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/namsor/apis/namsor-api-v2/revisions/305e4f6eeaf5?raw)
