Skip to content

API Reference

ZoneToken exposes an OpenAI-compatible REST API. You can use the official OpenAI SDKs, the Anthropic-style messages endpoint, or plain HTTP.

Base URL

https://api.zonetoken.net/v1

Authentication

All endpoints require a Bearer token in the Authorization header:

Authorization: Bearer <apiKey>

Endpoints

MethodEndpointDescription
GET/v1/modelsList the models available to your account.
POST/v1/chat/completionsOpenAI-style chat completions.
POST/v1/responsesOpenAI Responses API.
POST/v1/messagesAnthropic-style messages.

Content type

Send and receive JSON. Include Content-Type: application/json on every request that has a body.