What is an API?
An API is a set of rules that lets one program ask another for data or actions. Your app uses APIs to talk to outside services, such as maps, payments, or weather.
An example
A weather app asks a weather service's API for "tomorrow's forecast in Boston." The API sends back the temperature and chance of rain, and the app shows them.
Where you’ll meet it
- Add reCAPTCHA and check it on the server · Stop bots with Google reCAPTCHA
- Create an account and set a spending limit · Add AI features with the Claude API
- Create an account and add credits · Add AI features with the OpenAI API
- Sign in and choose free or paid · Add AI features with the Gemini API
- How do the pieces talk to each other? · How the pieces fit
- Do I need an AI API in my product? · AI features