Loading...
  • 构建
  • 管理
  • 模型与定价
  • 客户端 SDK
  • API 参考
Search...
⌘K
Log in
快速入门
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Solutions

  • AI agents
  • Code modernization
  • Coding
  • Customer support
  • Education
  • Financial services
  • Government
  • Life sciences

Partners

  • Amazon Bedrock
  • Google Cloud's Vertex AI

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Company

  • Anthropic
  • Careers
  • Economic Futures
  • Research
  • News
  • Responsible Scaling Policy
  • Security and compliance
  • Transparency

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Help and security

  • Availability
  • Status
  • Support
  • Discord

Terms and policies

  • Privacy policy
  • Responsible disclosure policy
  • Terms of service: Commercial
  • Terms of service: Consumer
  • Usage policy
构建/入门步骤

Claude 入门指南

进行您的第一次 API 调用并构建一个简单的网络搜索助手。

前置条件

  • 一个 Anthropic Console 账户
  • 一个 API 密钥

调用 API

后续步骤

您已经进行了第一次 API 调用。接下来,学习您在每个 Claude 集成中都会使用的 Messages API 模式。

使用 Messages API

学习多轮对话、系统提示、停止原因和其他核心模式。

一旦您熟悉了基础知识,可以进一步探索:

模型概览

按能力和成本比较 Claude 模型。

功能概览

浏览所有 Claude 功能:工具、上下文管理、结构化输出等。

客户端 SDK

Python、TypeScript、Java 和其他客户端库的参考文档。

Was this page helpful?

  • 调用 API