API quickstart
Sign in, confirm a model, create an API key, and send the first request. The full walkthrough is the first-call guide. The homepage does not keep a second copy of the curl examples.
Two key groups
New keys default to the Text group for GPT text models and can also generate images (Codex defaults to Image 2.6). Choose the Full group for Claude. Existing keys remain valid. The comparison is in the beginner guide and the pro guide.
Guides
First API call
Sign in, check a model, create an API key, and make your first request.
CCSwitch / Codex: beginner guide
Copy one prompt into Codex or a chat assistant and follow along. Text-group keys handle chat and images; choose the full group for Claude.
CCSwitch / Codex: pro guide
Text group vs full group, Base URL and key, copyable prompts, image generation, and a checklist.
OpenAI-compatible API
Responses and Chat Completions examples, streaming, and Python SDK setup.
API key security
Store keys on the server, rotate them, and respond to a leak.
Migrate from another gateway
Verify an existing compatible client before cutover, with a rollback path.
Base URL
https://apirove.com/v1The homepage keeps the Base URL only. Full request examples stay in the OpenAI-compatible API guide. Key groups are in Two key groups. Cache rates, image-size prices, and low-balance notes stay on the pricing page.
Authenticate with an API key
For OpenAI-compatible endpoints, pass the API key as a Bearer token in the request header:
Authorization: Bearer YOUR_API_KEYCreate or revoke keys in API key management. Store the key on your server. Never embed a long-lived key in browser JavaScript or a public mobile client.
Text request endpoints
Verified examples include the Responses API and Chat Completions. A model may support only one format; check the model details before sending a request.
POST /v1/responsesPOST /v1/chat/completionsGET /v1/models— requires API key authentication
See the OpenAI-compatible API integration guide for cURL and SDK examples.
Models, access, and pricing
Public USD unit prices are on the models and pricing pages. Your account group controls which models you can call. Sign in to check balance, access, and usage.
Error handling
For 401, check the API key. For 403, verify model and account permissions. For 429, follow the response guidance and review account limits. For 5xx, capture any request ID and avoid blindly retrying non-idempotent requests.