The API
Ask it for a refusal that fits where it has to fit. No sign-up, no key, nothing to manage.
Try it
GET https://queno.es/api
Copy
You have not asked for anything yet.
What you can ask for
| Parameter | What it is | Range |
|---|---|---|
c |
Characters at most | 2 – 256 |
p |
Words at most | 1 – 64 |
tipo |
What kind of phrase you want | negativa · excusa · insulto |
lang |
Language of the refusal | en · es |
nsfw |
Lets the rude ones through | Absent = no |
"c" and "p" do not combine: asking for both at once is an error, not an intersection.
What it promises
- Never anything longer than you asked for. If none fits, it says so: whoever asked for 20 characters asked for a reason.
- Never a full-page one. Long paragraphs are for the web, where they have their own composition.
- Never a rude one unless you ask.
- Of the ones that fit, the longest: it makes the best use of the space.
How much you can ask for
One request every two seconds per IP address.
No bursts: the second call in a row gets a 429 with "Retry-After" set. Every refusal comes with its own permanent link, so the sensible thing is to ask once and keep it.
When something goes wrong
| Situation | Response |
|---|---|
| Type that does not exist | 400 |
| Language that does not exist | 400 |
| "c" or "p" out of range | 400 |
| "c" and "p" at once | 400 |
| Nothing fits | 404 |
| Too many requests | 429 |
The contract
OpenAPI description to import into Postman or Insomnia, or to generate a client. Same source as this page, so the two cannot say different things.