Nagios XI APIs to be changed to Nagios core APIs

We are using nagios XI APIs (create and query a host, host group, service etc) in out application. We had used CURL and now converted to REST via request module. We now want to implement the same using nagios core module. Is it possible? Does the API remain same omegle shagle voojio ? Any help is very much appreciated. Thanks in advance.