Skip to main content

API

Everything you need to call OceanToken from code, on one page.

The API page: base URL, quickstart and endpoints

Base URL​

https://api.oceantoken.ai. Point any OpenAI-compatible client at it, or an Anthropic client for Claude models. Copy puts it on your clipboard.

Quickstart​

Pick a Model and a Language and the page writes a runnable snippet for that model on the endpoint it is served from. Replace the placeholder with a key from API Keys, Copy code, and run it.

Endpoints​

Below the quickstart, the table lists the endpoints your account can call right now. It is derived from the live catalog, so an endpoint appears only when a model behind it is deployed. The same table, with more detail, is on the API reference page here.