There are two types of API functions available in NodeJS: Synchronous and Asynchronous.