中文 ▾
Open account

Chatbot UncensoredBuild

API Documentation

Integrate our uncensored chatbot API into your stack by sending a standard OpenAI-compatible request. You get raw model output without content filters, using prepaid crypto credit that never expires.

Base URL
https://api.chatbotuncensored.com/v1
Model
uncensored

Base URL and Authentication

The API lives at https://api.chatbotuncensored.com/v1. Pass your key via the Authorization header as a Bearer token. We issue one active key per account, replacing the previous one if you generate a new key. Sign up with Google or email to get this key instantly without phone verification.

  • Base URL: https://api.chatbotuncensored.com/v1
  • Auth: Authorization: Bearer YOUR_API_KEY

Your First Request

Send a POST request to /v1/chat/completions with the model ID uncensored. The model responds with text, adhering to the 100,000-token context window for prompt and completion combined. You can adjust the output length using the max_tokens parameter.

curl https://api.chatbotuncensored.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Show me the status of the current API request"}]
  }'

Python SDK Integration

Use the official OpenAI Python library to interact with our API. Set the base_url to our endpoint and provide your API key. The client handles JSON serialization and streaming automatically. This approach works for both synchronous and asynchronous applications.

from openai import OpenAI

client = OpenAI(base_url="https://api.chatbotuncensored.com/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 SDK Usage

The Node.js SDK follows the same OpenAI-compatible structure. Configure the base URL and API key in the client initialization. This allows you to integrate our uncensored LLM into web servers or backend services seamlessly. You can control parameters like temperature and top_p directly.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.chatbotuncensored.com/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 Responses

Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE) with each token. Token usage details appear in the final chunk. This reduces perceived latency for long-form content generation or roleplay sessions.

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)

Limits, Errors, and Context

Requests are limited to 300 per minute per key. You can have up to 8 concurrent requests. If your credit is insufficient, the API returns a 402 error. A 401 error indicates an invalid or missing API key. A 429 error means you have exceeded the rate limit. The context window is 100,000 tokens total. Errors and refusals do not consume credit.

Frequently asked questions

Is this a free uncensored API?

We offer a $0.50 trial credit valid for 7 days. Regular usage requires prepaid credit via USDT or USDC. Errors and refusals are free, but successful token generation is billed at $0.15 per 1M input and $0.50 per 1M output tokens.

What happens if I exceed the rate limit?

The API returns a 429 status code. You are limited to 300 requests per minute and 8 concurrent requests per key. Exceeding these limits will temporarily block further requests until the window resets.

Does the API support function calling?

Yes, you can use tools and tool_choice parameters. The API supports JSON mode via the <code>response_format</code> parameter. You can also set temperature, top_p, stop sequences, and seed for reproducibility.

Get your key in one step

Sign up, copy the key, update your base URL. Simple setup.

Open account

Chatbot UncensoredUncensored API, no refusals, no fluff.