Online course, Engineering, Claude
6 lessons of 20 minutes, about 2 hours: SDK setup, the Messages API format, model choice, parameters, streaming and images. Python code in every lesson.
No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.
Lesson 1, 20 minFirst Steps: Installation and Your First RequestInstall the SDK with pip install anthropic (the current version needs Python 3.10+), put your key in the ANTHROPIC_API_KEY variable and call client.messages.create with model, max_tokens and messages. The course walks this path in 6 lessons based on Anthropic's materials, then covers the Messages API format, model choice, parameters, streaming and images.
Install anthropic and python-dotenv, keep the key in a .env file, create the Anthropic() client and send a first request to claude-haiku-5-5: a haiku from Claude in a few lines of code. The lesson reads the answer from blocks with type == "text": current models may return a thinking block before it.
Setup and first request → Messages API format → model choice → generation parameters → streaming → vision. One lesson per module, the first two are free.
Install the SDK, authenticate, and make your first request to the Claude API.
1First Steps: Installation and Your First Requestfree20 minHow to install the anthropic SDK, securely store your API key with dotenv, and send your first request to Claude — from installation to printing the response.Message structure, response object, few-shot prompting, and building a chatbot.
2Messages API: Format, Response Object, and Chatbotfree20 minThe messages structure with role and content, the Message object (id, stop_reason, usage), reading text from response blocks, the response format through structured outputs (prefill returns a 400 error since Claude 4.6), few-shot prompting, mid-conversation system messages and a simple chatbot.Comparing models by speed and capabilities, and criteria for choosing the right one.
3Choosing a Model: Speed, Capabilities, Cost25 minThe current lineup (Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5): comparing latency, quality and price on real tasks, effort as a second lever, and how to choose a model for your own task.You get it when you finish every lesson. Each certificate has its own code, so an employer can check it on our site. You can add it to LinkedIn.
See how a certificate is checkedAnthropic wrote the course for Claude 3, and every model in its notebooks is now retired: claude-3-haiku-20240307 on April 20, 2026, claude-3-5-sonnet on October 28, 2025, claude-3-opus on January 5, 2026. The first four lessons are updated: they use claude-haiku-5-5 for practice and claude-opus-5-5, where Anthropic recommends starting, read text from blocks with type == "text", and set the format with structured outputs in place of prefill and temperature. The streaming and vision lessons still show claude-3-opus-20240229, claude-3-haiku-20240307 and claude-3-5-sonnet-20240620: swap them for current IDs. A fresh pip install anthropic gives you SDK 2.x with API version 2026-10-21, which answers temperature, top_p and top_k with a 400 error. With thinking on, a stream also carries thinking_delta events that have no text field: print only text_delta or use stream.text_stream. The SDK now runs on httpx2, so install httpx separately for the image download examples. Images can also be passed by link with a type: "url" source.
Run pip install anthropic, ideally inside a virtual environment (python3 -m venv .venv). The current SDK 2.x requires Python 3.10 or newer. In Jupyter use %pip install anthropic. The SDK reads the key from ANTHROPIC_API_KEY, and a .env file with python-dotenv is a convenient place to keep it.
Claude 3 Haiku was retired on April 20, 2026, and requests to it fail. The updated lessons use claude-haiku-5-5, the cheapest current model, from $0.10 per million input tokens. Anthropic recommends starting with claude-opus-5-5 at $4 per million input and $20 per million output tokens. Lesson three shows how to compare models on your own task.
API version 2026-10-21 removed temperature, top_p and top_k: a request that sends them gets a 400 error even at the default value, and SDK 2.x no longer has these parameters. Delete them from old code and sampling runs at temperature 1.0. Claude 4.7 and later models already accepted only the defaults. The parameters lesson shows what to use for format, accuracy and variety: structured outputs, effort and the prompt.
Claude 5 models have thinking on by default, so content can start with a thinking block that has no text field. Loop over the blocks and take those with type == "text", as the quickstart in Anthropic's docs does. The first four lessons read text this way; the streaming and vision lessons still use content[0].text, which worked with Claude 3 models.
Anthropic API Fundamentals is six short Python lessons based on Anthropic's open notebooks, from setup to images. Claude API from A to Z is 16 lessons with code mostly in TypeScript: tool use, the Message Batches API, prompt caching, computer use and production patterns. Start with the fundamentals if you have never called Claude from code.
Intermediate, Claude7 lessons: how to give Claude design tasks, build a DESIGN.md with tokens and components, generate screens in Stitch and code from Figma over MCP.
Certificate
Intermediate, Claude10 lessons on Claude Code in real projects: CLAUDE.md, slash commands, task plans, git and PRs, test-first debugging, MCP servers, VS Code, JetBrains and CI.
Certificate
Intermediate, Claude16 Claude API lessons with TypeScript code: Messages API, model choice, prompting, tool use, streaming, batches, prompt caching, vision, production.
Certificate
IntermediateA one-hour course on choosing and using AI coding tools: Claude Code, Codex, Cursor, Windsurf, TDD with AI, plan-based refactoring and a team AI policy.
CertificateThe lessons on SDK setup and the Messages API format are open after a free sign-up. Sign up with email or Google to get 7 days of full access to every lesson in the course and the whole catalog.
Sign upToken-by-token streaming to improve Time to First Token and user experience.
5Streaming: Real-Time Responses20 minHow stream=True changes API behavior, SSE event types (MessageStart, ContentBlockDelta, MessageDelta), Time to First Token, the client.messages.stream helper, and custom event handlers.Multimodal prompts: images from files and URLs, multiple images, prompting tips.
6Vision: Images in Claude Prompts25 minThe image content block format with base64 encoding, passing images from files and URLs via httpx, multiple images in one request, and few-shot prompting for structured output from images.Basic Python is enough: install a package, run a script, write a function. The course is for people just starting with the API. You create the key in the Claude Console at platform.claude.com, and requests are billed at Anthropic's rates.
It is built on Anthropic's open API fundamentals course from the anthropics/courses repository: the same six topics and the code from the notebooks. Academl added the lesson texts, AI-checked tasks, quizzes and a tutor. The repository is now archived, so the API changes since the course was recorded are collected on this page.
The first two lessons are always free. After sign-up you get 7 days of full access with no card. Pro opens every lesson in the catalog for $9 a month or $79 a year.