Anthropic’s developer API for the Claude family of large language models, offering chat, vision, tool-use and agentic capabilities.
The Claude API lets you embed Anthropic’s state-of-the-art Claude models (Opus, Sonnet, Haiku — and the latest Claude 4 generation) into any product through simple HTTP-JSON calls.
Key capabilities
Core endpoints
Endpoint | Purpose |
---|---|
/v1/messages | Conversational & vision chat |
/v1/message_batches | Async bulk jobs |
/v1/files | File upload / retrieval |
/v1/models | Model catalogue & pricing |
All requests require an anthropic-version
header (e.g. 2023-06-01
) and an x-api-key
.
Recent additions
Typical use-cases
Anthropic enforces strict safety policies (Constitutional AI) and rates Claude 4 Opus at AI Safety Level 3.
For full pricing, rate-limits and SDKs (Python, JS/TS, Go, Java, Ruby) see the official docs.