Docs

Anthropic-style messages endpoint, wrapped in your own product layer.

The platform exposes a simple `/api/v1/messages` endpoint plus `/api/v1/models`. Point compatible clients to `https://apexclaude.com/api` and authenticate with an API key issued from the dashboard.

Quickstart

First request

curl -X POST https://apexclaude.com/api/v1/messages \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
  -d '{
    "model": "claude-opus-4.6",
    "max_tokens": 512,
    "messages": [{ "role": "user", "content": "Write a clean SaaS welcome email." }]
  }'

`GET $https://apexclaude.com/api/v1/models` returns the models currently available for customers.

`POST $https://apexclaude.com/api/v1/messages` validates the API key, checks the wallet, forwards upstream, and records wallet value used.

For Anthropic-compatible clients such as Claude Code, set `ANTHROPIC_BASE_URL=$https://apexclaude.com/api` and `ANTHROPIC_AUTH_TOKEN` to the API key created in your dashboard.