NamePrism is a name-based nationality/ethnicity classification tool that aims to support academic research. Please cite following paper if you used this tool (or free API) in your work.

Junting Ye, Shuchu Han, Yifan Hu, Baris Coskun, Meizhu Liu, Hong Qin and Steven Skiena. Nationality Classification using Name Embeddings. CIKM, Singapore, Nov. 2017, pp. 1897-1906.