Claude Web accounts, exposed as clean API routes.
Web2API turns browser-authenticated Claude sessions into OpenAI-compatible and Anthropic-compatible endpoints, with a compact admin dashboard for proxy groups, account auth, runtime status, and persistent global auth settings.
Supported models
Public model IDs are accepted on both OpenAI-compatible and Anthropic-compatible routes. The cards below show the exact public → upstream mapping used by the server.
Quick start
Point your client to the OpenAI-compatible route, then use one of the public model IDs from the list above.
curl https://YOUR_HOST/openai/claude/v1/chat/completions \
-H "Authorization: Bearer $WEB2API_AUTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4.6",
"messages": [
{"role": "user", "content": "Hello from Web2API"}
]
}'
POST /openai/claude/v1/chat/completionsPOST /claude/v1/chat/completionsPOST /anthropic/claude/v1/messagesGET /api/models/claude/metadataGET /healthz
Use /config after signing in to edit proxy groups, account JSON auth, API
keys, and the admin password.