Since sitefinity had an Fluent API for different module.
But if i create a new custom module from sitefinity, did that module also has API?
Yes, each module created through the Module Builder has an API too. The documentation for that API will automatically be created. Click the Code Reference link in the module to see it.