Quickstart
Get started with Claude API in minutes.
1
Create an API key
Generate a key from the API keys page to authenticate your requests.
2
Build an agent
Use the agent builder to configure your agent with a model and tools.
3
Deploy
Deploy your agent and start making API calls.
Sample request
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-sonnet-5-20250901",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello, Claude"}]
}'