API
Also: AI API
A way for software to talk to other software — specifically, a set of rules for how your application can send requests to Claude and receive responses back. Instead of a human typing into Claude.ai, your code sends a message to Anthropic's API and gets Claude's response back as data it can use. APIs are how Claude gets embedded in other products: your company's app, a custom internal tool, or an automated workflow.
In practice
You want Claude inside your own product — not sending users to Claude.ai. The API lets you do that: your app sends a message to Anthropic's servers, Claude responds, and your app shows the response. Every time a user types into your custom Claude-powered tool, an API call happens in the background.
Related concepts
Where API shows up
7 articlesAuth, the messages array, streaming, structured output, token limits, and the errors you will hit in the first week, updated for the Claude 5.5 models and the October 2026 API version. Everything else you can look up later.
Environment variables, rate limits, error handling, costs, and the things that bite you on your first production deploy. A practical checklist.
When your app has more than one user, naive retry logic is not enough. Token budgeting, per-user quotas, request queuing, and graceful degradation — in code.
Protect your API routes, tie conversations to users, and track per-user costs. The full integration from NextAuth setup to authenticated Claude calls.
On October 20, 2026 Anthropic launched user profiles, which tag each API request with the end customer it is for, so a safety restriction lands on that customer instead of your whole organization. Organization webhooks (beta) tell you when it happens. Who needs this, and how to wire it in.
On October 22, 2026, Anthropic made its own Claude API available inside Google Cloud. You authenticate with Google IAM, pay on your Google Cloud bill, and get every Claude Platform feature the day it ships, including Managed Agents. Here's how it differs from Claude on Vertex AI, how to set it up, and when to pick each.
On November 17, 2026 Anthropic launched linked billing in beta. A customer links their Claude Platform organization to your app once, and from then on you choose per request whether they pay or you do. No API key changes hands. How the link works, the request shape, the three errors to handle, and what the customer's admin should check before approving.