Anthropic
ModelAPI for the Claude family of language models
- Access
- API key
About
Anthropic's API serves the Claude models for chat, coding, image understanding and agents, with tool use, web search and code execution built in. It is for developers adding an LLM to apps or agents. Current models read up to 1M tokens of context.
What you can do with it
- Add a Claude chat assistant or text generation to your app
- Generate, review and refactor code with Claude models
- Build agents that call your tools, search the web and run code
Get started
- Create a Claude Console account
- Create an API key
- Set ANTHROPIC_API_KEY in your environment
Example
curl https://api.anthropic.com/v1/messages \
-H "content-type: application/json" \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "claude-opus-5-5",
"max_tokens": 1000,
"messages": [{"role": "user", "content": "Hello, Claude"}]
}'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- Official SDKs
- Python, JavaScript/TypeScript, C#, Go, Java, PHP, Ruby
- MCP server
- None