Switch from the Anthropic API
Found this helpful? Share it:
Found this helpful? Share it:
Built on the Anthropic API, or living in Claude Code? Point them at idapt's base URL and keep working, with 200+ models behind the same Messages API 🔁
Change the base URL to https://idapt.app/api/anthropic/v1 and authenticate with an idapt API key. Two endpoints cover the
switch:
v1/messages, with streaming, tools, and system prompts,
translated in full
models, listing the catalog
Step-by-step client snippets live in the Anthropic API migration guide.
Claude Code works with two environment variables:
export ANTHROPIC_BASE_URL=https://idapt.app/api/anthropic/v1
export ANTHROPIC_API_KEY=uk_your_key_hereYou keep the same models, streaming, and tools, and gain idapt usage tracking plus per-key spend caps on top.
The Batches, Files, and Admin APIs are not proxied. The switch covers the Messages API, which is what SDK chat apps and Claude Code use.
Related articles
Was this helpful?