NoFilter API Quickstart
Get started with the NoFilter API in minutes. Send requests to an uncensored model and receive text responses via a standard OpenAI-compatible endpoint.
Base URL and Authentication
Send all requests to https://api.nofilter.top/v1. You need an API key for every call. Get one by signing in with Google or email on the Get API key page. The key is shown once; keep it secure. Include it as a Bearer token in the Authorization header. If the key is missing or wrong, you will receive a 401 error. This error does not consume your credit balance.
First Request
Start with a simple prompt. The model id is uncensored. You can use any HTTP client or the official OpenAI SDKs by adjusting the base URL. Below is a standard cURL example to get a text response.
curl https://api.nofilter.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 package. Set the base URL to our endpoint and provide your API key. The client handles the request and returns the model's text output. This works for synchronous calls where you wait for the full response.
from openai import OpenAI
client = OpenAI(base_url="https://api.nofilter.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
For JavaScript or TypeScript environments, configure the OpenAI Node SDK similarly. Pass the custom base URL and your key. This allows you to integrate the uncensored model into your Node.js applications without changing the standard completion logic.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.nofilter.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
Enable streaming by setting stream: true. The API returns a Server-Sent Events (SSE) stream. Each chunk contains part of the response. Token usage details are included in the final chunk of the stream. This is useful for real-time display of generated text.
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 and Errors
Your key allows 300 requests per minute and 8 concurrent requests. The request body must be under 8 MB. Context window is 100,000 tokens total, with no separate output cap (if max_tokens is unset, the response can run to the end of the window). A 402 error means no credit; a 429 means rate limit exceeded. Errors do not consume credit, and unused prepaid credit never expires.
Questions and answers
What happens if I get a 401 or 402 error?
A 401 error means your API key is invalid or missing. A 402 error means your account has no prepaid credit. Neither error consumes your credit balance, so you can retry after fixing the issue.
Does the uncensored model specialize in coding?
The uncensored model is a general large language model tuned for lawful adult content and lack of refusals. It is not exclusively an uncensored coding llm, though it handles code tasks well like any standard LLM.
How do I top up my credit?
Top up by crypto (USDT on TRC20, USDC on Base). Minimum is $20, maximum $500. You get a +5% bonus at $50, +10% at $100, and +15% at $200. Credit never expires and errors are free.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Get API keyWhat the API supports
One table with every limit, feature and price that applies to your key.
| Parameter | Details |
|---|---|
| Protocol | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Authentication | Authorization: Bearer YOUR_KEY |
| Base URL | https://api.nofilter.top/v1 |
| Model ID | uncensored |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Max output | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Max context | 100,000 tokens (prompt + completion together) |
| Streaming | Supported (stream: true), usage included at the end |
| JSON mode | response_format: {"type": "json_object"} |
| Function calling | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Other parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Max body | 8 MB request body |
| Parallel requests | 8 requests at the same time per key |
| Requests per minute | 300 requests per minute per key |
| Subscription | paid credit never expires, no subscription |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Bonus credit | +5% on $50+, +10% on $100+, +15% on $200+ |
| Trial credit | $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 |
| Top-up | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| How you pay | prepaid credit, charged by real token usage; errors and refusals are free |
| Key management | one key per account, regenerate any time (the old one stops working) |
| Content policy | uncensored for adults; the only hard rule: no sexual content involving minors |
| Sign-in | Google or e-mail and password |
Errors and what to do
The type field is stable, the message is for humans. Errors cost nothing.
| 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 | request body larger than 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | model busy — retry in a few seconds |