APIAPI Overview

API Overview

kineticRouter offers three API protocol families: OpenAI-compatible, Anthropic native, and Grok / xAI.

Base URL

ProtocolBase URLDescription
OpenAI Compatiblehttps://api.kineticrouter.com/v1Compatible with OpenAI SDK, supports all models
Anthropic Nativehttps://api.kineticrouter.com/anthropicCompatible with Anthropic SDK, native Claude experience
Grok / xAI Protocolhttps://api.kineticrouter.com/grokGrok / xAI route with an xAI OpenAI-compatible text JSON/SSE shape

Authentication

All protocols use a unified kineticRouter API Key, but the header format varies by protocol:

ProtocolHeaderFormat
OpenAIAuthorizationBearer sk-xxx
Anthropicx-api-keysk-xxx
Grok / xAIAuthorizationBearer sk-xxx

See the Authentication guide for details.

Available Endpoints

OpenAI Compatible Protocol

EndpointMethodDescription
/v1/chat/completionsPOSTCreate chat completion
/v1/modelsGETList available models
/v1/models/{model_id}GETGet model details
/v1/images/generationsPOSTGenerate images

Anthropic Native Protocol

EndpointMethodDescription
/anthropic/v1/messagesPOSTCreate Messages

Grok / xAI Protocol

EndpointMethodDescription
/grok/v1/chat/completionsPOSTCreate a Grok chat completion. See Chat Completions
/grok/v1/responsesPOSTCreate a Grok Responses API response. See Responses
/grok/v1/modelsGETList available Grok models. See Models
/grok/v1/models/{model_id}GETGet a Grok model detail

Rate Limits

kineticRouter uses pay-as-you-go pricing with a unified rate policy for all users:

LimitQuota
RPM (requests/minute)100 (team-aggregated)
TPM (tokens/minute)Unlimited

RPM is aggregated at the team level — multiple API Keys under the same team share a single quota. If you need a higher RPM quota, contact kineticRouter support to request an adjustment.

When rate-limited, the API returns 429 Too Many Requests with the following response headers:

x-ratelimit-limit-requests: 100 x-ratelimit-remaining-requests: 0 x-ratelimit-reset-requests: 1s

Error Codes

All protocols return unified HTTP status codes:

Status CodeDescriptionCommon Causes
200Success
400Bad RequestInvalid parameters, missing required fields
401UnauthorizedInvalid or expired API Key
403ForbiddenAccount lacks access to the model
404Not FoundIncorrect model ID
429Rate LimitedExceeded rate limit
500Server ErrorInternal error, please retry
502Upstream ErrorModel provider service issue
503Service UnavailableUnder maintenance

Error Response Format

{ "error": { "code": "invalid_api_key", "message": "The provided API Key is invalid. Please check and try again.", "type": "authentication_error" } }

kineticRouter Extension Parameters

kineticRouter provides extension parameters on top of standard protocols for advanced routing and fallback control:

Planned example

The Anthropic-native route is planned and its configuration is shown only as a reference. This example is intentionally not copyable in its current display state.

See Provider Routing and Fallback for details.