Uncensored Search API Quickstart
Drop the Uncensored Search API into your existing OpenAI codebase. Replace the base URL and key to get a text-only, refusal-free model with transparent prepaid billing.
Base URL & Authentication
Our API is fully OpenAI-compatible. You only need to update your client's base URL and API key. There are no custom headers or special endpoints required. This allows you to swap in an uncensored model without rewriting your application logic.
Sign up on the Get API key page using Google or an email address. Your key appears immediately. Use this key in the Authorization header for all requests. If you lose your key, generate a new one; only one active key is allowed per account at a time.
Chat Completions Endpoint
Send text prompts to the uncensored model. The API returns text responses without the usual content refusals for lawful adult, fictional, or controversial topics. It processes text in and text out. No images, audio, or embeddings are supported.
Set the model ID to uncensored. The context window is 100,000 tokens total. There is no separate output cap, and if you do not specify max_tokens, the response can run to the end of the window.
Streaming Responses
Enable real-time output using Server-Sent Events (SSE). This is critical for chat applications where you want to display tokens as they are generated. The API sends usage statistics in the final chunk of the stream.
Function Calling & JSON Mode
The API supports structured output and tool integration. Use response_format: {"type": "json_object"} to force JSON responses. You can also define tools for function calling. This ensures the model outputs machine-readable data when required by your application logic.
Parameters: Temperature & Top P
Control creativity and determinism with standard parameters. Adjust temperature for variance, top_p for nucleus sampling, and seed for reproducible results. You can also set stop sequences and penalty values for presence_penalty and frequency_penalty.
Limits, Errors & Context
Watch your usage limits: 300 requests per minute, 8 concurrent requests per key, and an 8 MB request body. Errors like 401 (invalid key) or 402 (no credit) are free. If you hit a 429 rate limit, pause briefly. Refusals for content violations are also free. Credit never expires, but the trial lasts 7 days.
cURL
curl https://api.uncensoredsearch.top/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.uncensoredsearch.top/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.uncensoredsearch.top/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)What the API supports
A quick checklist for developers: format, limits, features, billing.
| Item | Value |
|---|---|
| Protocol | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Base URL | https://api.uncensoredsearch.top/v1 |
| Authentication | Authorization: Bearer YOUR_KEY |
| Model | uncensored |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Tools / tool calls | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| JSON mode | response_format: {"type": "json_object"} |
| Other parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Max context | 100,000 tokens, input and output combined |
| Streaming | Supported (stream: true), usage included at the end |
| Completion length | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Request size | up to 8 MB per request |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Requests per minute | 300/min per key |
| Concurrency | 8 requests at the same time per key |
| Token prices | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Top-up | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Billing | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| 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 |
| Bonus credit | +5% from $50, +10% from $100, +15% from $200 |
| Key management | one key per account, regenerate any time (the old one stops working) |
| Content | adult content allowed; sexual content involving minors is refused |
| Account | sign in with Google or with e-mail + password |
When a request fails
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| Code | Type | Meaning |
|---|---|---|
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 | sexual content involving minors — refused, not billed |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | temporary overload, retry shortly |
Questions and answers
Does this API support image or audio generation?
No. The Uncensored Search API is text-only. It serves one uncensored large language model optimized for text responses. There is no image, audio, video, or embedding support.
How is billing calculated?
You pay prepaid credit for real token usage: $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals are free. Top up by crypto (USDT on TRC20, USDC on Base). Credit never expires.
What content is blocked?
The model is uncensored for lawful adult, fictional, and controversial topics. However, a hard limit always blocks sexual content involving minors. Requests containing that specific content will be refused.
Start with trial credit
Email and password, key on screen right away.