Skip to main content

API Base URL

The KiosAPI base URL is:
All API requests should be sent to this address (or the appropriate sub-path for your chosen endpoint format). For example:

Finding Your Current API Address

While the default base URL is https://kiosapi.com/v1/, you should always verify the current API address from your dashboard:
  1. Log in to kiosapi.com.
  2. Navigate to Dashboard > Console.
  3. Check the displayed API base URL.
The API address shown in Dashboard > Console is the authoritative source. If the address ever changes, the dashboard will reflect the update first.

Configuring Your SDK

OpenAI SDK (Python)

OpenAI SDK (Node.js)

Anthropic SDK (Python)

A very common mistake is mixing up the base URL and API key. Here’s the rule:
  • ✅ KiosAPI key → https://kiosapi.com/v1/
  • ❌ KiosAPI key → https://api.openai.com/v1/ (will fail)
  • ❌ OpenAI key → https://kiosapi.com/v1/ (will fail)
Your KiosAPI key only works with the KiosAPI base URL. Double-check both values in your dashboard before debugging authentication errors.

Environment Variable

You can also set the base URL via an environment variable to avoid hardcoding it:
KiosAPI is designed as a drop-in replacement for OpenAI, Claude, and Gemini APIs. By setting the base URL to kiosapi.com, you can use any existing OpenAI-compatible SDK without changing your application logic — just swap the URL and key.