Question: what are apis written in?
Answer: APIs gives you a way to interact with a system or program, though most people you talk to today mean web/REST APIs when they say API. Web based APIs are written in all the same languages used for creating server software, such as C++, Java, Pascal, JavaScript, CFML, PHP, Ruby, Python, etc.