back to home
/ developer-docs

Developer documentation

// last updated June 2026

The SpiderX API is a JSON-over-HTTPS interface for chat completions, image generation, document builders (PPT, PDF), website generation and file uploads. Streaming is supported via Server-Sent Events.

Authentication

API keys are not yet generally available. During the early-access period the SpiderX product UI authenticates via secure HTTP-only cookies. To request API access, contact us.

Base URL

https://spiderxai.com/api

Chat — streaming

POST /api/chat/stream
Content-Type: application/json
{
  "session_id": "optional-existing-session",
  "model": "spiderx-pro",
  "mode": "chat",
  "content": "Summarise the attached file",
  "file_ids": ["..."]
}

Responds with an SSE stream — events: meta, delta, tool, artifact, done.

Models

  • spiderx-max — most capable, longest context, strongest reasoning.
  • spiderx-pro — balanced production workhorse (default).
  • spiderx-lite — fastest and most economical for high-volume calls.

File uploads

POST /api/files/upload
Content-Type: multipart/form-data
file: <binary>

Quickstart

# install: pip install spiderx
from spiderx import SpiderX

client = SpiderX(api_key="sx-...")
reply = client.chat.create(model="spiderx-pro", message="Hello")
print(reply.text)

SDKs

Python, Node and Go SDKs are in active development. Sign up via contact to join the SDK early-access list.

/ cookies

We use cookies

SpiderX uses essential cookies for sign-in and security, and analytics cookies to understand how you use the product. Read our Privacy Policy.

/ follow