Claude API · Setup and first request

Install the Python SDK

Install the official Anthropic SDK for Python.

pip install anthropic

Official Claude API documentation

More setup and first request commands

All setup and first request commands · Claude API cheatsheet

Was this page helpful?