What is API (Application Programming Interface)?

An API is a set of rules that lets one program ask another program for data or actions.

Web APIs usually work over HTTP: your code sends a request to an address and gets a response, most often in JSON. A weather app asking a server for tomorrow’s forecast is using an API.

APIs often need a key or token to say who is calling. Treat keys like passwords and keep them out of public code.

← All terms

↑ ↓ navigateEnter openEsc close