r/eli5_programming • u/Magpie_Reawakened • Oct 07 '26
Question What actually is API?
The moment I think I get it, another definition of it comes in. I was learning Flask APIs used with GET PUT PATCH DELETE . But then I started with JS , it has DOM APIs . And then API is also used when people say companies like ChatGPT , Higgsfield etc provide their APIs.
5
Upvotes
View all comments
1
u/Arcanite_Cartel Oct 10 '26
An API is a standardized and consistent way for one piece of software to interact programmatically with another. There's no one size fits all..... many tend to be REST based, some are SOAP based, some graphQL, even a library with a well defined set of functions is an API. There are many different APIs.