Imgur API
by apidocs.imgur.com
Image and photo
Added on February 8th, 2011
Checked and working on November 1st, 2026
Visit apidocs.imgur.com →
What it does
The Imgur API lets your application upload images and videos, create and manage albums, browse the gallery and comments, and manage a user's account (with OAuth). Responses are JSON. Free for non-commercial use with a free client ID; commercial use needs an agreement with Imgur.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free for non-commercial use with a free client ID; commercial use needs an agreement with Imgur.
- Commercial use
- Not on the free plan
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST
- Provider
- apidocs.imgur.com
- Last checked
- Working on November 1st, 2026
More information: https://apidocs.imgur.com/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://api.imgur.com/3/gallery/hot/viral/0' \
-H 'Authorization: Client-ID YOUR_API_KEY'
JavaScript
const response = await fetch("https://api.imgur.com/3/gallery/hot/viral/0", {
headers: {
"Authorization": "Client-ID YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://api.imgur.com/3/gallery/hot/viral/0",
headers={
"Authorization": "Client-ID YOUR_API_KEY",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.