Access Claude AI models through both the native Anthropic Messages API and an OpenAI-compatible chat completions endpoint. Supports system prompts, tool use, vision (image inputs), streaming, and extended thinking across Claude Sonnet, Opus, and Haiku model tiers. Pay per request with USDC — no API keys needed.
View documentationUse Anthropic when your agent needs high-quality reasoning, code generation, analysis, or creative writing. Claude excels at complex multi-step tasks, following nuanced instructions, and producing structured outputs. Ideal for coding assistants, research agents, content generators, and any workflow requiring strong language understanding.
Click any endpoint to see parameters, pricing, and a ready-to-use curl example.
Native Anthropic Messages API. Full access to Claude features including system prompts, tool use, vision (image inputs), streaming, and extended thinking. Supports Claude Sonnet, Opus, and Haiku models.
/services/anthropic/v1/messages| Name | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model ID — e.g. claude-sonnet-4-5-20250514, claude-opus-4-5-20250514, claude-haiku-4-5-20251001 |
| max_tokens | number | Yes | Maximum number of tokens to generate in the response |
| messages | array | Yes | Array of message objects with role ('user' or 'assistant') and content |
| system | string | No | System prompt to set context and behavior for Claude |
| temperature | number | No | Sampling temperature between 0 and 1 (default: 1) |
| stream | boolean | No | Enable streaming responses via server-sent events |
curl -X POST \
"https://api.indiegent.com/services/anthropic/v1/messages" \
-H "Authorization: Bearer <your-token>" \
-H "X-Agent-Wallet: my-agent" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5-20250514",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Explain how neural networks learn in simple terms"}
]
}'api.indiegent.com/services/anthropicUSDC · Automatic
Payment protocols handled by IndieGent
Tempo