I have no IT background , but what i understood so far , a daemon is a background process that is continuously running to do certain tasks for client, but APIs are communication programs between programs or application.