NamSor API v2
NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. By default, enpoints use 1 unit per name (ex. Gender), but Ethnicity classification uses 10 to 20 units per name depending on taxonomy. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it!
- Homepage
- https://api.apis.guru/v2/specs/namsor.com/2.0.24.json
- Provider
- namsor.com
- OpenAPI version
- 3.0.1
- Spec (JSON)
- https://api.apis.guru/v2/specs/namsor.com/2.0.24/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/namsor.com/2.0.24/openapi.yaml
Tools (86)
Extracted live via the executor SDK.
-
admin.anonymizeActivate/deactivate anonymization for a source.
-
admin.apiKeyInfoRead API Key info.
-
admin.apiStatusPrints the current status of the classifiers. A classifier name in apiStatus corresponds to a service name in apiServices.
-
admin.apiUsagePrint current API usage.
-
admin.apiUsageHistoryPrint historical API usage.
-
admin.apiUsageHistoryAggregatePrint historical API usage (in an aggregated view, by service, by day/hour/min).
-
admin.availableServicesList of classification services and usage cost in Units per classification (default is 1=ONE Unit). Some API endpoints (ex. Corridor) combine multiple classifiers.
-
admin.learnableActivate/deactivate learning from a source.
-
admin.regionsPrint basic source statistics.
-
admin.softwareVersionGet the current software version
-
admin.taxonomyClassesPrint the taxonomy classes valid for the given classifier.
-
chinese.chineseNameCandidatesIdentify Chinese name candidates, based on the romanized name ex. Wang Xiaoming
-
chinese.chineseNameCandidatesBatchIdentify Chinese name candidates, based on the romanized name (firstName = chineseGivenName; lastName=chineseSurname), ex. Wang Xiaoming
-
chinese.chineseNameCandidatesGenderBatchIdentify Chinese name candidates, based on the romanized name (firstName = chineseGivenName; lastName=chineseSurname) ex. Wang Xiaoming.
-
chinese.chineseNameGenderCandidatesIdentify Chinese name candidates, based on the romanized name ex. Wang Xiaoming - having a known gender ('male' or 'female')
-
chinese.chineseNameMatchReturn a score for matching Chinese name ex. 王晓明 with a romanized name ex. Wang Xiaoming
-
chinese.chineseNameMatchBatchIdentify Chinese name candidates, based on the romanized name (firstName = chineseGivenName; lastName=chineseSurname), ex. Wang Xiaoming
-
chinese.genderChineseNameInfer the likely gender of a Chinese full name ex. 王晓明
-
chinese.genderChineseNameBatchInfer the likely gender of up to 100 full names ex. 王晓明
-
chinese.genderChineseNamePinyinInfer the likely gender of a Chinese name in LATIN (Pinyin).
-
chinese.genderChineseNamePinyinBatchInfer the likely gender of up to 100 Chinese names in LATIN (Pinyin).
-
chinese.parseChineseNameInfer the likely first/last name structure of a name, ex. 王晓明 -> 王(surname) 晓明(given name)
-
chinese.parseChineseNameBatchInfer the likely first/last name structure of a name, ex. 王晓明 -> 王(surname) 晓明(given name).
-
chinese.pinyinChineseNameRomanize the Chinese name to Pinyin, ex. 王晓明 -> Wang (surname) Xiaoming (given name)
-
chinese.pinyinChineseNameBatchRomanize a list of Chinese name to Pinyin, ex. 王晓明 -> Wang (surname) Xiaoming (given name).
-
general.nameTypeInfer the likely type of a proper noun (personal name, brand name, place name etc.)
-
general.nameTypeBatchInfer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.)
-
general.nameTypeGeoInfer the likely type of a proper noun (personal name, brand name, place name etc.)
-
general.nameTypeGeoBatchInfer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.)
-
indian.castegroupIndianFull[USES 10 UNITS PER NAME] Infer the likely Indian name castegroup of a personal full name.
-
indian.castegroupIndianFullBatch[USES 10 UNITS PER NAME] Infer the likely Indian name castegroup of up to 100 personal full names.
-
indian.religion[USES 10 UNITS PER NAME] Infer the likely religion of a personal Indian full name, provided the Indian state or Union territory (NB/ this can be inferred using the subclassification endpoint).
-
indian.religionIndianFullBatch[USES 10 UNITS PER NAME] Infer the likely religion of up to 100 personal full Indian names, provided the subclassification at State or Union territory level (NB/ can be inferred using the subclassification endpoint).
-
indian.subclassificationIndian[USES 10 UNITS PER NAME] Infer the likely Indian state of Union territory according to ISO 3166-2:IN based on the name.
-
indian.subclassificationIndianBatch[USES 10 UNITS PER NAME] Infer the likely Indian state of Union territory according to ISO 3166-2:IN based on a list of up to 100 names.
-
japanese.genderJapaneseNameFullInfer the likely gender of a Japanese full name ex. 王晓明
-
japanese.genderJapaneseNameFullBatchInfer the likely gender of up to 100 full names
-
japanese.genderJapaneseNamePinyinInfer the likely gender of a Japanese name in LATIN (Pinyin).
-
japanese.genderJapaneseNamePinyinBatchInfer the likely gender of up to 100 Japanese names in LATIN (Pinyin).
-
japanese.japaneseNameGenderKanjiCandidatesBatchIdentify japanese name candidates in KANJI, based on the romanized name (firstName = japaneseGivenName; lastName=japaneseSurname) with KNOWN gender, ex. Yamamoto Sanae
-
japanese.japaneseNameKanjiCandidatesIdentify japanese name candidates in KANJI, based on the romanized name ex. Yamamoto Sanae
-
japanese.japaneseNameKanjiCandidates1Identify japanese name candidates in KANJI, based on the romanized name ex. Yamamoto Sanae - and a known gender.
-
japanese.japaneseNameKanjiCandidatesBatchIdentify japanese name candidates in KANJI, based on the romanized name (firstName = japaneseGivenName; lastName=japaneseSurname), ex. Yamamoto Sanae
-
japanese.japaneseNameLatinCandidatesRomanize japanese name, based on the name in Kanji.
-
japanese.japaneseNameLatinCandidatesBatchRomanize japanese names, based on the name in KANJI
-
japanese.japaneseNameMatchReturn a score for matching Japanese name in KANJI ex. 山本 早苗 with a romanized name ex. Yamamoto Sanae
-
japanese.japaneseNameMatchBatchReturn a score for matching a list of Japanese names in KANJI ex. 山本 早苗 with romanized names ex. Yamamoto Sanae
-
japanese.japaneseNameMatchFeedbackLoop[CREDITS 1 UNIT] Feedback loop to better perform matching Japanese name in KANJI ex. 山本 早苗 with a romanized name ex. Yamamoto Sanae
-
japanese.parseJapaneseNameInfer the likely first/last name structure of a name, ex. 山本 早苗 or Yamamoto Sanae
-
japanese.parseJapaneseNameBatchInfer the likely first/last name structure of a name, ex. 山本 早苗 or Yamamoto Sanae
-
personal.corridor[USES 20 UNITS PER NAME COUPLE] Infer several classifications for a cross border interaction between names (ex. remit, travel, intl com)
-
personal.corridorBatch[USES 20 UNITS PER NAME PAIR] Infer several classifications for up to 100 cross border interaction between names (ex. remit, travel, intl com)
-
personal.country[USES 10 UNITS PER NAME] Infer the likely country of residence of a personal full name, or one surname. Assumes names as they are in the country of residence OR the country of origin.
-
personal.countryBatch[USES 10 UNITS PER NAME] Infer the likely country of residence of up to 100 personal full names, or surnames. Assumes names as they are in the country of residence OR the country of origin.
-
personal.diaspora[USES 20 UNITS PER NAME] Infer the likely ethnicity/diaspora of a personal name, given a country of residence ISO2 code (ex. US, CA, AU, NZ etc.)
-
personal.diasporaBatch[USES 20 UNITS PER NAME] Infer the likely ethnicity/diaspora of up to 100 personal names, given a country of residence ISO2 code (ex. US, CA, AU, NZ etc.)
-
personal.genderInfer the likely gender of a just a fiven name, assuming default 'US' local context. Please use preferably full names and local geographic context for better accuracy.
-
personal.gender1Infer the likely gender of a name.
-
personal.genderBatchInfer the likely gender of up to 100 names, detecting automatically the cultural context.
-
personal.genderFullInfer the likely gender of a full name, ex. John H. Smith
-
personal.genderFullBatchInfer the likely gender of up to 100 full names, detecting automatically the cultural context.
-
personal.genderFullGeoInfer the likely gender of a full name, given a local context (ISO2 country code).
-
personal.genderFullGeoBatchInfer the likely gender of up to 100 full names, with a given cultural context (country ISO2 code).
-
personal.genderGeoInfer the likely gender of a name, given a local context (ISO2 country code).
-
personal.genderGeoBatchInfer the likely gender of up to 100 names, each given a local context (ISO2 country code).
-
personal.origin[USES 10 UNITS PER NAME] Infer the likely country of origin of a personal name. Assumes names as they are in the country of origin. For US, CA, AU, NZ and other melting-pots : use 'diaspora' instead.
-
personal.originBatch[USES 10 UNITS PER NAME] Infer the likely country of origin of up to 100 names, detecting automatically the cultural context.
-
personal.parseNameInfer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John.
-
personal.parseNameBatchInfer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John.
-
personal.parseNameGeoInfer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. For better accuracy, provide a geographic context.
-
personal.parseNameGeoBatchInfer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. Giving a local context improves precision.
-
personal.religionFull[USES 10 UNITS PER NAME] Infer the likely religion of a personal full name. NB: only for INDIA (as of current version).
-
personal.religionFullBatch[USES 10 UNITS PER NAME] Infer the likely religion of up to 100 personal full names. NB: only for India as of currently.
-
personal.subclassification[USES 10 UNITS PER NAME] Infer the likely origin of a name at a country subclassification level (state or regeion). Initially, this is only supported for India (ISO2 code 'IN').
-
personal.subclassificationBatch[USES 10 UNITS PER NAME] Infer the likely origin of a list of up to 100 names at a country subclassification level (state or regeion). Initially, this is only supported for India (ISO2 code 'IN').
-
personal.usRaceEthnicity[USES 10 UNITS PER NAME] Infer a US resident's likely race/ethnicity according to US Census taxonomy W_NL (white, non latino), HL (hispano latino), A (asian, non latino), B_NL (black, non latino). Optionally add header X-OPTION-USRACEETHNICITY-TAXONOMY: USRACEETHNICITY-6CLASSES for two additional classes, AI_AN (American Indian or Alaskan Native) and PI (Pacific Islander).
-
personal.usRaceEthnicityBatch[USES 10 UNITS PER NAME] Infer up-to 100 US resident's likely race/ethnicity according to US Census taxonomy. Output is W_NL (white, non latino), HL (hispano latino), A (asian, non latino), B_NL (black, non latino). Optionally add header X-OPTION-USRACEETHNICITY-TAXONOMY: USRACEETHNICITY-6CLASSES for two additional classes, AI_AN (American Indian or Alaskan Native) and PI (Pacific Islander).
-
personal.usRaceEthnicityZiP5[USES 10 UNITS PER NAME] Infer a US resident's likely race/ethnicity according to US Census taxonomy, using (optional) ZIP5 code info. Output is W_NL (white, non latino), HL (hispano latino), A (asian, non latino), B_NL (black, non latino). Optionally add header X-OPTION-USRACEETHNICITY-TAXONOMY: USRACEETHNICITY-6CLASSES for two additional classes, AI_AN (American Indian or Alaskan Native) and PI (Pacific Islander).
-
personal.usZipRaceEthnicityBatch[USES 10 UNITS PER NAME] Infer up-to 100 US resident's likely race/ethnicity according to US Census taxonomy, with (optional) ZIP code. Output is W_NL (white, non latino), HL (hispano latino), A (asian, non latino), B_NL (black, non latino). Optionally add header X-OPTION-USRACEETHNICITY-TAXONOMY: USRACEETHNICITY-6CLASSES for two additional classes, AI_AN (American Indian or Alaskan Native) and PI (Pacific Islander).
-
social.phoneCode[USES 11 UNITS PER NAME] Infer the likely country and phone prefix, given a personal name and formatted / unformatted phone number.
-
social.phoneCodeBatch[USES 11 UNITS PER NAME] Infer the likely country and phone prefix, of up to 100 personal names, detecting automatically the local context given a name and formatted / unformatted phone number.
-
social.phoneCodeGeo[USES 11 UNITS PER NAME] Infer the likely phone prefix, given a personal name and formatted / unformatted phone number, with a local context (ISO2 country of residence).
-
social.phoneCodeGeoBatch[USES 11 UNITS PER NAME] Infer the likely country and phone prefix, of up to 100 personal names, with a local context (ISO2 country of residence).
-
social.phoneCodeGeoFeedbackLoop[CREDITS 1 UNIT] Feedback loop to better infer the likely phone prefix, given a personal name and formatted / unformatted phone number, with a local context (ISO2 country of residence).
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools