EN ▾

Unfiltered Search API Documentation

Get started with the uncensored LLM API in minutes. Use our OpenAI-compatible endpoint to send text requests and receive unrestricted model responses without content refusals for lawful adult use.

Get API key

Base URL & Authentication

The Unfiltered Search API is a hosted, OpenAI-compatible chat-completions service. All requests must be sent to the base URL: https://api.unfilteredsearch.top/v1. You do not need a subscription or monthly fee. Instead, you top up prepaid credit by crypto (USDT on TRC20, USDC on Base). Credit never expires, and errors or refusals do not consume your balance.

To authenticate, include your API key in the Authorization header. You can generate a key immediately by signing up with Google or an email and password on the Get API key page. The key is shown once after creation. If you lose it, generate a new one, which replaces the old key. Each account is limited to one active key at a time. Ensure your requests use the correct base URL and include a valid key to avoid authentication errors.

First Request

Send a standard POST request to /v1/chat/completions. The model ID is always uncensored. This model is an open-weight model tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, Gemini, or any other vendor's model. It handles text in and text out. You can control behavior using parameters like temperature and top_p. The API does not offer embeddings, image, audio, or video generation. It is strictly a text API. Use the following curl example to send your first message. Replace YOUR_API_KEY with your actual key.

This request demonstrates a simple interaction. The model will return a text response. If you encounter a 401 error, your key is invalid. If you get a 402 error, you need to top up your credit. The base URL must be exact.

curl https://api.unfilteredsearch.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 SDK

Use the official OpenAI Python SDK or any compatible client. Set the base_url to https://api.unfilteredsearch.top/v1 and provide your API key. The model ID remains uncensored. This approach works for most OpenAI-compatible clients. You can stream responses or retrieve them synchronously. The API supports function calling and JSON mode. If you need to handle errors, check for HTTP status codes. A 429 error means you have exceeded the rate limit of 300 requests per minute. Adjust your code to retry or wait. The following Python example shows how to initialize the client and send a message. Ensure you install the openai package before running the code.

This method is efficient for building applications that require reliable text generation. The model handles context windows up to 100,000 tokens. Keep your requests within the 8 MB body limit. The following code snippet demonstrates the setup.

from openai import OpenAI

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

Initialize the OpenAI Node SDK with the custom base URL. Pass your API key in the apiKey field. The model ID is uncensored. This setup allows you to use familiar methods like chat.completions.create(). You can pass parameters such as temperature, top_p, stop, and seed. The API supports streaming responses via Server-Sent Events (SSE). This is useful for real-time applications. If you need structured output, use response_format set to {"type": "json_object"}. The following Node.js example shows how to make a request. Replace the API key with your own. Ensure you handle the response stream if you choose to stream data.

Remember that the API does not support fine-tuning or model routing. It serves a single uncensored model. This simplifies integration. You do not need to worry about which vendor's model is running behind the scenes. The model is tuned for unrestricted use. Use the following code to start integrating the API into your Node.js application.

import OpenAI from "openai";

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

Enable streaming by setting stream: true in your request. The API returns data via Server-Sent Events (SSE). Token usage information is included in the last chunk. This allows you to track costs in real-time. Streaming is ideal for chat interfaces and real-time text generation. You can parse the stream to display tokens as they arrive. The API supports standard OpenAI streaming formats. If you stop the stream, no further tokens are sent. Errors during streaming will return a final chunk with an error message. The following example demonstrates how to handle a streaming response in Node.js. You can adapt this pattern for other languages. Ensure you handle the stream correctly to avoid memory leaks.

Streaming does not change the pricing or token limits. Each token is billed as usual. The context window is still 100,000 tokens. There is no separate output cap, and if max_tokens is not set, the response can run to the end of the window. Use streaming for better user experience. The following code snippet shows the implementation.

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 & Context

The API enforces strict limits to ensure reliability. You are allowed 300 requests per minute per key and 8 concurrent requests. The maximum request body size is 8 MB. If you exceed these limits, you will receive a 429 Too Many Requests error. Wait and retry, or reduce your concurrency. Authentication errors (401) indicate an invalid or missing API key. Payment errors (402) mean your prepaid credit is insufficient. Top up by crypto (USDT on TRC20, USDC on Base) to continue. The context window is 100,000 tokens for both prompt and completion. If you do not set max_tokens, the response can run to the end of the window. Content refusals are rare but apply to sexual content involving minors. This is the only hard content limit. Errors and refusals are free. Credit never expires. Use these limits to plan your application's scale.

Technical reference

One table with every limit, feature and price that applies to your key.

SpecValue
API formatOpenAI Chat Completions schema; official openai SDKs work unchanged
MethodsPOST /v1/chat/completions · GET /v1/models
Modeluncensored
API keyBearer token in the Authorization header
Base URLhttps://api.unfilteredsearch.top/v1
Structured outputresponse_format: {"type": "json_object"}
Completion lengthprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Max context100,000 tokens, input and output combined
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
StreamingSupported (stream: true), usage included at the end
Other parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Requests per minute300/min per key
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Parallel requestsup to 8 in parallel per key
Max bodyup to 8 MB per request
How you payprepaid credit, charged by real token usage; errors and refusals are free
Free trial$0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+
Price$0.15 per 1M input tokens · $0.50 per 1M output tokens
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Credit expiryno monthly fee; paid credit does not expire
Sign-insign in with Google or with e-mail + password
Content policyuncensored for adults; the only hard rule: no sexual content involving minors
Keysone key per account, regenerate any time (the old one stops working)

HTTP errors

Every error is JSON with a type you can switch on. You are never charged for an error.

HTTPTypeWhat to do
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_blockedrefused by the content policy
404not_foundunknown endpoint
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyover 300/min or 8 parallel — back off and retry
503upstream_busymodel busy — retry in a few seconds

Questions and answers

What is the context window and output limit?

The context window is 100,000 tokens, including both the prompt and the completion. There is no separate output cap per request. If you do not specify max_tokens, the response can run to the end of the window.

How do I pay and is credit refundable?

You pay via prepaid credit topped up by crypto (USDT on TRC20, USDC on Base). Credit is not refundable, but it never expires. Errors and refusals do not consume your credit.

Is this an official OpenAI API?

No, this is an independent service. We serve an open-weight uncensored model, not GPT. It is compatible with the OpenAI API format, so you can use the same SDKs and clients by changing the base URL and API key.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key