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-key header with an anthropic-version header.

API entry from apis.yml

apis.yml Raw ↑
aid: anthropic-claude:messages-api
name: Anthropic Claude Messages API
description: 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-key header with
  an anthropic-version header.
humanURL: https://docs.anthropic.com/en/api/messages
baseURL: https://api.anthropic.com
tags:
- Messages
- Chat
- Completions
- Tool Use
- Vision
- Streaming
properties:
- type: Documentation
  url: https://docs.anthropic.com/en/api/messages
- type: API Reference
  url: https://docs.anthropic.com/en/api/getting-started
- type: OpenAPI
  url: openapi/anthropic-claude-openapi.yml
- type: Getting Started
  url: https://docs.anthropic.com/en/api/getting-started