Anthropic
ModelAPI for the Claude family of language models
- Erişim
- API key
Hakkında
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.
Neler yapabilirsin
- 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
Başlarken
- Create a Claude Console account
- Create an API key
- Set ANTHROPIC_API_KEY in your environment
Örnek kod
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"}]
}'Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Python, JavaScript/TypeScript, C#, Go, Java, PHP, Ruby
- MCP sunucusu
- Yok