Sign Up

Log In

Imgur

FREEMIUM
By imgurOfficial
Updated 5 months ago
Entertainment
9.9/10
Popularity Score
336ms
Latency
96%
Success Rate

Imgur API Documentation

Imgur's API exposes the entire Imgur infrastructure via a standardized programmatic interface. Using Imgur's API, you can do just about anything you can do on imgur.com, while using your programming language of choice. If you're familiar with the APIs of Twitter, Amazon's S3, del.icio.us, or a host of other web services, you'll feel right at home. The full documentation is available at: http://api.imgur.com
View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

Gallery
GETGallery
POSTGallery Comment Creation
POSTGallery Comment Reply
GETGallery Image
GETGallery Comment Count
DELETEGallery Image Comment Delete
GETGallery Comment Ids
GETGallery Image Comments
POSTGallery Image Vote
GETGallery Item Votes
GETGallery Search
DELETERemove from Gallery
GETSubreddit Galleries
POSTUpload Image to Gallery
GETMemes Subgallery
GETMemes Subgallery Image
GETSubreddit Image
GETGallery Tag
GETGallery Tag Image
GETGallery Item Tags
POSTGallery Tag Voting
GETRandom Gallery Images
POSTSubmit to Gallery
GETGallery Album
POSTAlbum / Image Reporting
GETAlbum / Image Comments
GETAlbum / Image Comment
Image
GETImage
DELETEImage Delete
POSTImage Upload
POSTImage Update
POSTImage Favorite
Notification
GETAccount Notifications
GETNotification
DELETENotification Viewed
GETNotifications
Account
GETAccount Album Count
GETAccount
DELETEAccount Album Deletion
GETAccount Album Information
GETAccount Album Ids
GETAccount Albums
GETAccount Comments
POSTAccount Creation
DELETEAccount Comment Deletion
DELETEAccount Deletion
GETAccount Image Information
GETAccount Images
GETAccount Images Count
GETAccount Likes
GETAccount Images Ids
GETAccount Messages
GETAccount Settings
POSTAccount Send Message
GETAccount Statistics
GETComment Count
GETComment IDs
DELETEDelete Account Image
POSTUpdate Account Settings
GETAccount Gallery Favorites
GETAccount Favorites
GETAccount Submissions
GETAccount Gallery Profile
GETVerify User's E-mail
POSTSend Verification E-mail
GETReplies
Comment
GETComment
DELETEComment Delete
GETComment Replies
POSTComment Vote
POSTReport Comment
POSTReply Creation
Album
POSTAdd Album Images
GETAlbum Image
GETAlbum
DELETEAlbum delete
GETAlbum Images
POSTAlbum Upload
POSTAlbum Update
POSTAlbum Favorite
POSTSet Album Images
DELETERemove Images from an Album
Custom Gallery
GETCustom Gallery
GETCustom Gallery Image
GETUser Custom Galleries
POSTCustom Gallery Creation
PUTCustom Gallery Update
PUTCustom Gallery Add Tags
DELETECustom Gallery Remove Tags
DELETECustom Gallery Deletion
GETFiltered Out Tags
POSTFiltered Out Gallery Add
POSTFiltered Out Gallery Remove
Conversation
GETConversation List
GETConversation
POSTMessage Creation
DELETEConversation Deletion
POSTReport Sender
POSTBlock Sender
Memegen
GETDefault Memes
GETGallery

Returns the images in the gallery. For example the main gallery is /3/gallery/hot/viral/0

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
AuthorizationHEADER
REQUIREDOAuth 2.0
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
sortSTRING
OPTIONALviral | time - defaults to viral
pageNUMBER
OPTIONALinteger - the data paging number
sectionSTRING
OPTIONALhot | top | user - defaults to hot
windowSTRING
OPTIONALChange the date range of the request if the section is "top", day | week | month | year | all, defaults to day
showViralSTRING
OPTIONALtrue | false - Show or hide viral images from the 'user' section. Defaults to true
Request Snippet
unirest.get("https://imgur-apiv3.p.rapidapi.com/3/gallery/{section}/{sort}/{window}/{page}?showViral=undefined")
.header("Authorization", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://imgur-apiv3.p.rapidapi.com/3/gallery/{section}/{sort}/{window}/{page}?showViral=undefined")
.header("Authorization", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard