r/eli5_programming • • 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.

6 Upvotes

25 comments sorted by

View all comments

10

u/wiggle_room1337 Oct 07 '26

It's like a UI but no gui. imagine controlling your program with buttons and knobs, but it's just code.

1

u/Byte_Xplorer Oct 08 '26

Such an amazing description.