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
https://api.seosorted.ai/v1

Headers

HeaderValueRequired
AuthorizationBearer $SEOSORTED_API_KEYYes
Content-Typeapplication/jsonFor POST requests

See Authentication to create a key.

Endpoints

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.