- The Official documentation for the Random API
- List of endpoints we provide -> Endpoints
- Python Examples -> Py Reference
- Javascript Examples -> Js Reference
- Support at -> Discord
GET /api/version
GET /api/quote
Endpoint | Response Type | Description |
---|---|---|
quote |
JSON |
Returns a Quote from the API. |
Also serves the author of the quote in the response.
GET /api/roast
Endpoint | Response Type | Description |
---|---|---|
roast |
JSON |
Returns a Roast from the API. |
Also serves the id of the roast so you can report something related to that roast to the Developer by posting issues on this repo.
GET /api/question
Endpoint | Response Type | Description |
---|---|---|
question |
JSON |
Returns a Question from the API. |
Also serves the id of the question so you can report something related to that question to the Developer by posting issues on this repo.
GET /api/trivia
Endpoint | Response Type | Description |
---|---|---|
trivia |
JSON |
Returns a trivia from the API. |
GET /api/token
Endpoint | Response Type | Description |
---|---|---|
token |
JSON |
Returns a 100% safe to use token. |
GET /api/naruto
Endpoint | Response Type | Description |
---|---|---|
naruto |
JSON |
Returns a question with 3 options and correct option which is one of them. |
GET /api/beautify
Endpoint | Response Type | Description |
---|---|---|
beautify |
IMAGE |
Returns a beautified image from the API. |
GET /api/blur
Endpoint | Response Type | Description |
---|---|---|
blur |
IMAGE |
Returns a blurred image from the API. |
GET /api/greyscale
Endpoint | Response Type | Description |
---|---|---|
greyscale |
IMAGE |
Returns a greyscaled image from the API. |
GET /api/pixelate
Endpoint | Response Type | Description |
---|---|---|
pixelate |
IMAGE |
Returns a pixelated image from the API. |
GET /api/qrcode
Endpoint | Response Type | Description |
---|---|---|
qrcode |
IMAGE |
Returns a qrcode of an url from the API. |