Unfiltered Chatbot: Uncensored LLM API Documentation
This documentation guides you through integrating our uncensored LLM API for NSFW chatbot applications, from authentication to streaming responses.
Quickstart: First Request
Get started with a simple text generation request. Our API is compatible with the OpenAI SDK format, making integration straightforward for developers familiar with standard LLM endpoints.
Send a POST request to the chat completions endpoint with your API key in the header. The model identifier is "uncensored". This model is tuned to provide direct responses without filtering lawful adult content, making it ideal for NSFW chatbot applications.
Ensure your request includes the necessary parameters like messages and model. The API returns a JSON response with the generated text.
Base URL & Authentication
Use the base URL https://api.unfilteredchatbot.cc/v1 for all requests. Authentication is handled via an API key passed in the Authorization header as a Bearer token.
Sign up on the "Get API key" page using Google or email. Your key is shown immediately and is the only active key for your account; generating a new one replaces the old. No phone number is required.
Keep your key secure. Invalid keys return a 401 error. The API is an independent service, not affiliated with OpenAI or other model providers.
Chat Completions Endpoint
The primary endpoint is POST /v1/chat/completions. It accepts text input and returns text output. It does not support embeddings, images, audio, or video.
Send your conversation history in the messages array. The model ID is always "uncensored". It is an open-weight model hosted on our servers, distinct from GPT, Claude, or other vendor models.
Set parameters like temperature and top_p to control generation. The context window is 100,000 tokens total, and if max_tokens is not specified, the response can run to the end of the window.
Streaming Responses
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE) with incremental token updates.
Stream efficiently for real-time NSFW chatbot interactions. Token usage details are included in the final chunk.
JSON Mode & Function Calling
For structured outputs, set response_format: {"type": "json_object"} in your request. This ensures the model returns valid JSON, useful for parsing data in your application.
Function calling (tools) is also supported. Define tools in your request and the model will return function calls when appropriate. This allows for interactive NSFW scenarios or data extraction.
Combine JSON mode and function calling as needed. The API handles tool choice automatically based on your configuration.
Rate Limits & Constraints
Each API key is limited to 300 requests per minute and 8 concurrent requests. Request bodies must be under 8 MB.
Common errors: 401 for invalid keys, 402 for insufficient credit, and 429 for rate limits. Errors and refusals (except for minor content) do not consume credit.
Credit is prepaid and never expires. Top up via crypto (USDT TRC20 or USDC Base). No subscriptions or monthly fees.
cURL
curl https://api.unfilteredchatbot.cc/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.unfilteredchatbot.cc/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)Node.js
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unfilteredchatbot.cc/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);Streaming
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Tell the story in second person."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)Technical specifications
Everything the endpoint can and cannot do, in one place — check it before you top up.
| Spec | Value |
|---|---|
| Compatibility | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Base URL | https://api.unfilteredchatbot.cc/v1 |
| API key | Authorization: Bearer YOUR_KEY |
| Model | uncensored |
| Other parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Tools / tool calls | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Context window | 100,000 tokens, input and output combined |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| Structured output | response_format: {"type": "json_object"} |
| Request size | up to 8 MB per request |
| Requests per minute | 300/min per key |
| Parallel requests | up to 8 in parallel per key |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Price | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Credit expiry | paid credit never expires, no subscription |
| Free trial | $0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Top-up | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Billing | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Volume bonus | +5% from $50, +10% from $100, +15% from $200 |
| Account | Google or e-mail and password |
| Key management | one key per account, regenerate any time (the old one stops working) |
| Content | adult content allowed; sexual content involving minors is refused |
When a request fails
Every error is JSON with a type you can switch on. You are never charged for an error.
| HTTP | Type | What to do |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
401 | missing_key · invalid_key · key_revoked | check the Authorization header or use your current key |
402 | no_credit | out of credit; add credit and retry |
403 | content_blocked | refused by the content policy |
404 | not_found | unknown endpoint |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | model busy — retry in a few seconds |
Questions and answers
What is the context window size?
The context window is 100,000 tokens, including both prompt and completion. There is no separate output cap, and if max_tokens is not set, the response can run to the end of the window.
How do I top up my credit?
Top up is crypto-only: USDT on TRC20 or USDC on Base. Amounts range from $20 to $500. Bonuses of +5% from $50, +10% from $100, and +15% from $200 apply for larger amounts. No cards or PayPal are accepted.
Is the trial credit valid forever?
No, the $0.50 trial credit is valid for 7 days. It requires no card and is one per person. Claim this credit with one click on your API key page. Regular prepaid credit, however, never expires.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.