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.
