CreateWithAIHub

API / SDK Anthropic

Claude API

Anthropic's REST API for Claude models, with official SDKs in Python, TypeScript, Go, Java, C#, PHP and Ruby.

Visit website ↗
Save

What it is

The Claude API is Anthropic's RESTful API at api.anthropic.com for calling Claude models and running Claude Managed Agents. It includes the Messages API plus batch processing, token counting, files, models and skills endpoints. Anthropic maintains official client SDKs in seven languages that handle authentication, retries, streaming and typed responses.

What it's useful for

Adding Claude to a backend or agent, processing large volumes of requests with batches, or building agents on managed cloud sandboxes.

Key features

  • Messages API for conversations, tool use and vision
  • Message Batches API at 50% lower cost for asynchronous jobs
  • Files, Token Counting, Models and Skills APIs
  • Managed Agents (beta): agents, sessions, environments
  • Official SDKs: Python, TypeScript, C#, Go, Java, PHP, Ruby
  • Also available via Amazon Bedrock, Google Cloud and Microsoft Foundry

How to use it

Before you start

  • Claude Console account
  • API key
Python SDK
pip install anthropic
TypeScript SDK
npm install @anthropic-ai/sdk

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • Usage is billed per token; new users get free credits for testing only
  • Rate limits and monthly spend caps depend on the organization's usage tier (Start tier: $500/month)
  • Available only in supported countries and regions

Website tech stack

Hosting & CDN
Cloudflare
Framework
Next.js

Detected on platform.claude.com on 25 Nov 2026. This describes the public website only; the product itself may use different technology.

Alternatives

Mistral AI's pay-as-you-go API for chat, code completion, OCR, embeddings, audio and agents, with Python and TypeScript SDKs.

Paid

Cohere's API for Command chat models, Embed and Rerank, with official Python, TypeScript, Java and Go SDKs and free trial keys.

Free plan + paid

Google's API for Gemini models, with a free tier and the Google GenAI SDKs for Python, JS, Go, Java and C#.

Free plan + paid

xAI's (now SpaceXSI) OpenAI-compatible API for Grok text, image, video and voice models, with Python and TypeScript SDKs.

Paid

See all 5 Claude API alternatives →

MCP servers for this

Redis's official MCP server that lets agents store, read and search data in Redis, including JSON documents and vectors.

FreeOpen source

Browserbase's hosted MCP server that lets agents drive cloud browsers with natural-language Stagehand actions.

Free plan + paid

Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.

FreeOpen source

Skills for this

Hugging Face's Agent Skills for the Hub CLI, datasets, model training, evaluation, Spaces and SageMaker deployment.

FreeOpen source

Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.

FreeOpen source

Related resources

Anthropic's collection of starter projects for building apps and agents on the Claude API.

FreeOpen source

Google's collection of small runnable agents built with Agent Development Kit (formerly ADK Samples), in Python, TypeScript, Go, Java and Kotlin.

FreeOpen source

Google's open-source, code-first framework for building, evaluating and deploying agents in Python, TypeScript, Go and Java.

FreeOpen source

Boundary's open-source language for type-safe LLM functions and structured outputs, callable from Python, TypeScript, Go and more.

FreeOpen source

Type to search. Use ↑ ↓ and Enter.