Yes, NodeJS is commonly used for building APIs. According to the State of JavaScript 2020 survey, over 70% of developers who used NodeJS reported using it to build APIs.