Skip to main content
Name-classification ML API that infers demographic signals from personal names — gender, country of origin, country of residence, ethnicity/diaspora, US race, Indian caste/religion, plus name parsing, name-type detection, and phone formatting. Best for enriching contact lists and demographic analytics when only a name is known. Unlike profile-enrichment APIs (People Data Labs, Apollo) that look up records, Namsor predicts attributes purely from the linguistic structure of the name, in any alphabet. 31 endpoints available through Lava’s AI Gateway. See the Namsor API docs for full documentation.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.

Endpoints

Infer likely gender from a personal name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/gender/John/Smith — $0.005 / request

Infer likely gender from a personal name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/genderBatch — $0.005 / request

Process Chinese names — gender, pinyin romanization, parsing, and romanized↔character matching — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/genderChineseNamePinyin/Wang/Xiaoming — $0.005 / request

Process Chinese names — gender, pinyin romanization, parsing, and romanized↔character matching — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/parseChineseNameBatch — $0.005 / request

Process Japanese names — gender, kanji↔romaji candidates, parsing, and matching — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/genderJapaneseName/Yamada/Taro — $0.005 / request

Process Japanese names — gender, kanji↔romaji candidates, parsing, and matching — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/parseJapaneseNameBatch — $0.005 / request

Classify a proper noun as a personal name vs. a brand/place/other entity — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/nameType/Apple — $0.005 / request

Classify a proper noun as a personal name vs. a brand/place/other entity — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/nameTypeBatch — $0.005 / request

Split a full name into first and last name components — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/parseName/John%20Smith — $0.005 / request

Split a full name into first and last name components — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/parseNameBatch — $0.005 / request

Match, search, and transliterate full names across scripts — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/compareFullBatch — $0.005 / request

Infer the most likely country of origin from a name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/origin/John/Smith — $0.05 / request

Infer the most likely country of origin from a name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/originBatch — $0.05 / request

Infer the most likely country of residence from a name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/countryFnLn/John/Smith — $0.05 / request

Infer the most likely country of residence from a name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/countryBatch — $0.05 / request

Estimate US race/ethnicity (Census taxonomy) from a name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/usRaceEthnicity/John/Smith — $0.05 / request

Estimate US race/ethnicity (Census taxonomy) from a name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/usRaceEthnicityBatch — $0.05 / request

Estimate Indian caste group from a name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/castegroupIndian/IN-DL/Anil/Sharma — $0.05 / request

Estimate Indian caste group from a name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/castegroupIndianBatch — $0.05 / request

Estimate likely religion from a name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/religionIndian/IN-DL/Anil/Sharma — $0.05 / request

Estimate likely religion from a name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/religionBatch — $0.05 / request

Fine-grained ethnicity subclassification from a name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/subclassificationIndian/Anil/Sharma — $0.05 / request

Fine-grained ethnicity subclassification from a name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/subclassificationBatch — $0.05 / request

Validate and format a phone number, inferring country from the name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/phoneCode/John/Smith/2025550143 — $0.055 / request

Validate and format a phone number, inferring country from the name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/phoneCodeBatch — $0.055 / request

Infer ethnicity/diaspora from a name given a country of residence — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/diaspora/US/John/Smith — $0.10 / request

Infer ethnicity/diaspora from a name given a country of residence — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/diasporaBatch — $0.10 / request

Diaspora-based community engagement segmentation from a name — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/communityEngage/US/John/Smith — $0.10 / request

Diaspora-based community engagement segmentation from a name — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/communityEngageBatch — $0.10 / request

Analyze a name pair as a migration/transaction corridor (origin + destination) — single name.

GET https://v2.namsor.com/NamSorAPIv2/api2/json/corridor/US/John/Smith/CN/Wei/Zhang — $0.25 / request

Analyze a name pair as a migration/transaction corridor (origin + destination) — batch (up to 100 names).

POST https://v2.namsor.com/NamSorAPIv2/api2/json/corridorBatch — $0.25 / request

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests