EN ▾

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.

ItemValue
ProtocolOpenAI Chat Completions schema; official openai SDKs work unchanged
Base URLhttps://api.uncensoredsearch.top/v1
AuthenticationAuthorization: Bearer YOUR_KEY
Modeluncensored
MethodsPOST /v1/chat/completions · GET /v1/models
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
JSON moderesponse_format: {"type": "json_object"}
Other parameterstemperature, top_p, stop, seed and the two penalties are passed through
Max context100,000 tokens, input and output combined
StreamingSupported (stream: true), usage included at the end
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
Request sizeup to 8 MB per request
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Requests per minute300/min per key
Concurrency8 requests at the same time per key
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Top-upcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Billingpay as you go from prepaid credit; nothing is charged for failed or refused requests
Credit expirypaid 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 managementone key per account, regenerate any time (the old one stops working)
Contentadult content allowed; sexual content involving minors is refused
Accountsign 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.

CodeTypeMeaning
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
401missing_key · invalid_key · key_revokedcheck the Authorization header or use your current key
402no_creditout of credit; add credit and retry
403content_blockedsexual content involving minors — refused, not billed
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largebody over 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary 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.

Get API key