Overview
API overview
Base URL, authentication, request format and the endpoints the SEOsorted API exposes.
The SEOsorted API is a REST API that follows the OpenAI request and response formats. All requests and responses use JSON, except streaming responses, which use server-sent events.
Base URL
Base URL
Headers
See Authentication to create a key.
Endpoints
GET
/v1/modelsList the models your key can call.POST/v1/chat/completionsGenerate an article from a brief sent as chat messages.POST/v1/completionsGenerate text from a raw prompt.SDKs
Use the official OpenAI SDKs for Python and TypeScript. Set the base URL to the value above and the API key to your SEOsorted key. Other OpenAI compatible clients work the same way.
Errors
Errors return a JSON body of the form {"error": {"message", "type", "param", "code"}}. See Errors for every status code.