Anthropic Claude website screenshot

Anthropic Claude

Anthropic Claude is a family of frontier large language models (Opus, Sonnet, Haiku) accessible via the Anthropic API for building AI assistants, agents, and integrations. The API supports streaming chat completions, tool use, vision, prompt caching, batch processing, the Files API, computer use, and the Model Context Protocol, with authentication via x-api-key headers and a base URL at api.anthropic.com.

1 APIs 0 Features
Artificial IntelligenceLarge Language ModelsLLMGenerative AIChatAgentsClaude

APIs

Anthropic Claude Messages API

REST API for sending messages to Claude models with support for streaming, tool use, vision, system prompts, prompt caching, and extended thinking. Authentication uses an x-api-...

Collections

Event Specifications

Anthropic Claude Messages Streaming API

AsyncAPI specification modeling the Server-Sent Events (SSE) stream produced by Anthropic's Claude Messages API when `"stream": true` is set on a POST to `/v1/messages`. Transpo...

ASYNCAPI

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🔗
APIReference
APIReference
🌐
Console
Console
📝
Signup
Signup
💰
Pricing
Pricing
🔗
Models
Models
🔑
Authentication
Authentication
🔗
RateLimits
RateLimits
💻
ErrorCodes
ErrorCodes
🔗
Versioning
Versioning
🟢
StatusPage
StatusPage
💬
Support
Support
📜
PrivacyPolicy
PrivacyPolicy
📜
TermsOfService
TermsOfService
👥
GitHubOrganization
GitHubOrganization
📦
Python SDK
Python SDK
📦
TypeScript SDK
TypeScript SDK
🔗
Cookbook
Cookbook
💻
Claude Code
Claude Code
🔗
ModelContextProtocol
ModelContextProtocol
📰
Blog
Blog
🔗
X (Twitter)
X (Twitter)
🔗
LinkedIn
LinkedIn
👥
YouTube
YouTube
🔗
MCPServer
MCPServer

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Anthropic Claude Messages API
  version: '2023-06-01'
request:
  auth:
    type: apikey
    key: x-api-key
    value: '{{x-api-key}}'
    placement: header
items:
- info:
    name: Messages
    type: folder
  items:
  - info:
      name: Create a Message
      type: http
    http:
      method: POST
      url: https://api.anthropic.com/v1/messages
      headers:
      - name: anthropic-version
        value: ''
      - name: anthropic-beta
        value: ''
      body:
        type: json
        data: '{}'
    docs: Send a structured list of input messages with text and/or image content, and the model will generate the next message
      in the conversation.
- info:
    name: Token Counting
    type: folder
  items:
  - info:
      name: Count tokens for a Messages request
      type: http
    http:
      method: POST
      url: https://api.anthropic.com/v1/messages/count_tokens
      headers:
      - name: anthropic-version
        value: ''
      - name: anthropic-beta
        value: ''
      body:
        type: json
        data: '{}'
    docs: Count the number of input tokens that a Messages request would consume, without actually creating a Message.
- info:
    name: Message Batches
    type: folder
  items:
  - info:
      name: List Message Batches
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/messages/batches
      headers:
      - name: anthropic-version
        value: ''
      params:
      - name: before_id
        value: ''
        type: query
      - name: after_id
        value: ''
        type: query
      - name: limit
        value: ''
        type: query
    docs: List Message Batches in the workspace.
  - info:
      name: Create a Message Batch
      type: http
    http:
      method: POST
      url: https://api.anthropic.com/v1/messages/batches
      headers:
      - name: anthropic-version
        value: ''
      body:
        type: json
        data: '{}'
    docs: Submit a batch of Messages requests for asynchronous processing.
  - info:
      name: Retrieve a Message Batch
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/messages/batches/:message_batch_id
      headers:
      - name: anthropic-version
        value: ''
      params:
      - name: message_batch_id
        value: ''
        type: path
    docs: Retrieve a Message Batch
  - info:
      name: Cancel a Message Batch
      type: http
    http:
      method: POST
      url: https://api.anthropic.com/v1/messages/batches/:message_batch_id/cancel
      headers:
      - name: anthropic-version
        value: ''
      params:
      - name: message_batch_id
        value: ''
        type: path
    docs: Cancel a Message Batch
  - info:
      name: Retrieve Message Batch results
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/messages/batches/:message_batch_id/results
      headers:
      - name: anthropic-version
        value: ''
      params:
      - name: message_batch_id
        value: ''
        type: path
    docs: Stream the JSONL results of an ended Message Batch.
- info:
    name: Models
    type: folder
  items:
  - info:
      name: List available models
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/models
      headers:
      - name: anthropic-version
        value: ''
      params:
      - name: before_id
        value: ''
        type: query
      - name: after_id
        value: ''
        type: query
      - name: limit
        value: ''
        type: query
    docs: List available models
  - info:
      name: Get a model
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/models/:model_id
      headers:
      - name: anthropic-version
        value: ''
      params:
      - name: model_id
        value: ''
        type: path
    docs: Get a model
bundled: true