Uncensored AI Link: Connect an App to a Custom API

Connecting a chat app, bot or script to this API takes three values and about five minutes. This page lists them, shows how to test the connection, and covers what to check when it fails.
Key takeaways
- You need three values: base URL, API key and the model id uncensored.
- Test with curl before blaming the app; it separates key problems from app settings.
- Most failures come from a missing /v1, a pasted extra space or a wrong model name.
- A full key allows 8 concurrent requests and 300 per minute; 429 means slow down.
The three values to enter
To make an uncensored AI link between an app and this service, the app has to let you set a custom OpenAI-compatible endpoint. Many chat front ends, roleplay tools, bots and automation platforms do. Look for settings called "Custom OpenAI", "OpenAI-compatible", "API base URL" or "Endpoint". Then fill in:
- Base URL:
https://api.uncensoredlink.com/v1 - API key: the key from your account, sent by the app as
Authorization: Bearer <key> - Model:
uncensored
The base URL already ends in /v1. Apps add the rest of the path themselves (/chat/completions), so do not paste a full endpoint path unless the app asks for it.
Step 1: get a key
Sign up on the API key page with Google, or with an email address and password. New users can claim $0.50 of trial credit with one click, one per person, valid for 7 days and with no card needed. The trial key is limited to 2 concurrent requests and 60 requests per minute, which is plenty for testing one app.
To go beyond the trial, top up from $20 to $500 in any whole amount. Payment is crypto only, with USDT on TRC20 or USDC on Base. Bonuses apply from $50: +5% at $50, +10% at $100 and +15% at $200. The full table is on the pricing page.
Copy the key once and keep it somewhere private. If you lose it or paste it somewhere public, regenerate it on the same page. The old key stops working at once, and there is no need to ask support.
Step 2: test with curl first
Before you open the app's settings, confirm that the key and URL work on their own. Two quick calls do it.
List the models your key can use:
curl https://api.uncensoredlink.com/v1/models \
-H "Authorization: Bearer $API_KEY"
Then send a short chat request:
curl https://api.uncensoredlink.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"uncensored","messages":[{"role":"user","content":"Reply with the word ready."}]}'
A JSON reply with choices[0].message.content means the service side is fine. If curl works but the app does not, the problem is in the app's settings. If curl fails too, fix that first; the table below helps.
Step 3: enter the values in the app
Field labels differ between tools, but the mapping is stable:
| App field | What to put |
|---|---|
| API URL, Base URL, Endpoint | The base URL above, ending in /v1 |
| API key, Token, Secret | Your key, with no spaces or quotes |
| Model, Model name | uncensored, typed exactly |
| Provider or type | Custom OpenAI-compatible, or OpenAI with an overridden URL |
| Max context | Up to 100,000 tokens |
Some apps fetch a model list from /v1/models once the URL and key are saved. If yours does, pick uncensored from the list. If it does not, type the name by hand. Send a one-word message to test, then try a longer chat.
Streaming works over standard SSE with stream: true, and most chat apps turn it on by default. If text arrives all at once instead of word by word, check whether the app has a streaming toggle.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Authentication error | Key mistyped, has a trailing space, or was regenerated | Copy it again from the key page; paste into a plain-text field |
| Not found error | Base URL missing /v1, or the full path pasted twice | Use the base URL exactly as shown, nothing appended |
| Model not found | Wrong or differently cased model name | Use uncensored in lowercase |
429 with concurrency | Too many requests at once, such as several chats or retries running together | Lower the app's parallelism; a full key allows 8 |
429 with rate_limited | More than 300 requests per minute (60 on a trial key) | Slow the sender, or wait a minute |
| 429 with Retry-After: 5 | Temporary overload | Wait five seconds and retry |
| Request rejected for size | Body over 8 MB or conversation over 100,000 tokens | Trim history or reduce attachments |
A streamed request holds its concurrency slot until the stream finishes. An app that opens a new stream without closing the old one can hit the concurrency limit while seeming idle. Closing the tab or stopping the generation usually frees the slot.
Failed or refused requests are not charged, so retrying while you debug does not cost credit. The headers X-Request-Id, X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency are useful to look at when you run curl with -i.
Linking more than one app
If you plan to use several tools, give each its own key. Accounts that have topped up can hold up to 5 keys, label them (for example "chat app" and "discord bot") and revoke any one without touching the rest. That way a leak in one place does not force you to reconfigure everything.
All keys on an account draw from the same prepaid balance, and the X-Balance-USD response header shows what is left. You can also call GET /v1/balance from a script to warn yourself before it runs out. Credit never expires, so a quiet month costs nothing.
Tools that run unattended, such as bots, deserve a little extra care. Give them a request timeout of a minute or more for long replies, retry only on 429 and network errors, and wait at least the number of seconds in Retry-After when it is present. Retrying every failure in a tight loop is the fastest way to hit the per-minute limit.
For field-level detail on every endpoint, see the docs. For background on what uncensored models are and how they differ from filtered ones, read Uncensored AI Explained.
More guides
Common questions
Does every app support a custom endpoint?
No. The app has to offer a custom base URL or an OpenAI-compatible provider option. If it only offers a fixed list of vendors, it cannot be linked to this API.
What do I enter as the model?
Enter uncensored in lowercase. If the app can load a model list, it comes from GET /v1/models.
Why do I get a 404 after saving the URL?
The base URL probably lacks /v1, or the app appended /v1 on its own so it appears twice. Use the URL from this page and check whether the app adds anything.
Is the trial key enough to test an app?
Yes for testing. It carries $0.50 of credit for 7 days with 2 concurrent requests and 60 requests per minute, enough for a few hundred short exchanges.
Can I use it for adult fiction apps?
The model is tuned to answer without content refusals for lawful adult use. Sexual content involving minors is not allowed, and the app and its users stay responsible for following the law where they live.