NamePrism is a name-based nationality/ethnicity classification tool that aims to support academic research. It has been supporting over 100 social sicence and economic research projects (till Sep. 2018). 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. in Proceedings of the 2017 ACM on Conference on Information and Knowledge Management (CIKM), Singapore, Nov. 2017, pp. 1897-1906. Arxiv Download