Gallery

GET https://api.imgur.com/3/gallery/{{section}}/{{sort}}/{{window}}/{{page}}?showViral={{showViral}}&mature={{showMature}}&album_previews={{albumPreviews}}

KeyRequiredValue
sectionoptionalhot | top | user. Defaults to hot
sortoptionalviral | top | time | rising (only available with user section). Defaults to viral
pageoptionalinteger - the data paging number
windowoptionalChange the date range of the request if the section is top. Accepted values are day | week | month | year | all. Defaults to day

Request Params

KeyDatatypeRequiredDescription
showViralstringOptional. true
maturestringOptional. true
album_previewsstringOptional. true

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring