Images API
Random hand-picked images, random memes from Reddit and other Reddit parsers.
Get random image
GET
https://api.ksoft.si/images/random-image
Gets random image from the specified tag.
Query Parameters
Name | Type | Description |
---|---|---|
nsfw | boolean | Default: false, if to show nsfw content |
tag | string | Name of the tag |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
List of Tags
GET
https://api.ksoft.si/images/tags
Retrieve the list of all available tags.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorization token |
Tag search
GET
https://api.ksoft.si/images/tags/{search}
Search for tags.
Path Parameters
Name | Type | Description |
---|---|---|
search | string | Search query |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authentication token |
Get image from ID (snowflake)
GET
https://api.ksoft.si/images/image/{snowflake}
Retrieve image data.
Path Parameters
Name | Type | Description |
---|---|---|
snowflake | string | Image snowflake (unique ID) |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authentication token |
Get random meme
GET
https://api.ksoft.si/images/random-meme
Retrieves a random meme from the cache. Source: reddit
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authentication token |
Wikihow
GET
https://api.ksoft.si/images/random-wikihow
Retrieves weird images from WikiHow
Query Parameters
Name | Type | Description |
---|---|---|
nsfw | boolean | Default: false, if to display nsfw content. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authentication token |
Random cute pictures
GET
https://api.ksoft.si/images/random-aww
Get random cute pictures, mostly animals.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authentication token |
Random NSFW
GET
https://api.ksoft.si/images/random-nsfw
Retrieves random NSFW pics. (real life stuff)
Query Parameters
Name | Type | Description |
---|---|---|
gifs | boolean | Default: false, if to retrieve gifs instead of images |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authentication token |
Random images from a subreddit
GET
https://api.ksoft.si/images/rand-reddit/{subreddit}
Retrieve images from the specified subreddit.
Path Parameters
Name | Type | Description |
---|---|---|
subreddit | string | Specified subreddit |
Query Parameters
Name | Type | Description |
---|---|---|
remove_nsfw | boolean | Default: false, if set to true, endpoint will filter out nsfw posts. |
span | string | Default: "day", select range from which to get the images. Can be one of the following: "hour", "day", "week", "month", "year", "all" |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authentication token |
Last updated