An API is a doorway that lets software talk to software. When an automation creates a contact in a CRM, when a website takes a card payment, or when an app sends a prompt to a language model, an API carries the request and returns the answer. For a business buyer whether a system has a good API decides how easily it can be automated, connected to AI, or replaced later.
How it works
An API publishes a list of operations it supports, such as "get customer", "create invoice" or "generate text", and the exact format for calling each one. A program sends a request to an address, called an endpoint, with any required data and a credential proving it is allowed. The API checks the request, does the work and returns a response, usually in JSON.
Most web APIs follow the REST style, though GraphQL and other styles exist. Access is controlled by API keys or by OAuth, which lets a user grant an app limited access to their account. Providers also set rate limits on how many requests can be made in a period.
AI models are mostly reached through APIs. An app sends the conversation and settings to a model provider's API and receives the model's reply, billed by the tokens processed. A builder connecting a support inbox to a language model, for example, uses the helpdesk's API to read tickets, the model's API to draft answers, and the helpdesk's API again to post the draft for an agent to review.
What it means for cost
APIs shape both build and running costs:
- API quality. Well-documented APIs with test environments are quick to integrate. Poorly documented or partial APIs add days of trial and error.
- Coverage. If the API does not expose the data or action you need, the build may need workarounds such as exports or browser automation.
- Usage fees. Some APIs, including AI models, charge per request or per unit processed.
- Limits and changes. Rate limits shape design for high volumes, and providers change or retire versions, which creates maintenance work.
Ask a builder whether every system in scope has an API that covers what you need, and whether any API access needs a higher plan from the vendor.
Common questions
Does every software product have an API?
No. Most modern cloud software does, but coverage varies widely, and some API access is limited to higher-priced plans. Older desktop and on-premise systems often have none, which is where RPA or database connections come in.
Is calling an AI model through an API safe for company data?
It depends on the provider's terms and settings. Check whether data sent through the API is stored, for how long, and whether it is used for training, and choose a region and plan that match your data protection needs.