Learn Claude API
Build with Anthropic's Claude models through the Messages API and Python SDK
The Claude API is Anthropic's developer platform for building applications on Claude models. You call the Messages API, usually through the official Python SDK `anthropic`, to generate text, read images and PDFs, use tools, return structured JSON and run agents, with production features such as streaming, prompt caching, batches and the Claude Agent SDK.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know