+Imgur API
Read Imgur's public gallery, search, tags and posts as clean JSON, with no client ID or OAuth.
The API.SH Imgur API returns Imgur's public gallery as structured JSON. List the most viral, newest or top posts of a day, week, month, year or all time, search the gallery by words, browse posts in a tag, and open any post for its title, description, views, upvotes, downvotes, points, tags, author and every image or video in it, with comment threads on request. It reads public content only; it does not upload images.
- 4 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/imgur/v1/ search
{ "success": true } What you can build with the Imgur API
Trend and meme tracking
Pull the most viral or top posts of the day or week and their points, views and tags to see what is taking off.
Brand and topic monitoring
Search the public gallery for your brand, product or topic and track the views, votes and comments on matching posts.
Community sentiment research
Open a post with include=comments to read its comment threads and see how people react.
Media archiving and datasets
Collect every image and video URL in a post with its type, size, dimensions and duration for research datasets or archives.
Imgur data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
Imgur API endpoints and prices
Every Imgur endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| Imgur gallery search /imgur/ | $1 · $2 PAYG 1 credit |
| Imgur post /imgur/ | $1 · $2 PAYG 1 credit |
| Imgur tag posts /imgur/ | $1 · $2 PAYG 1 credit |
| Imgur gallery /imgur/ | $1 · $2 PAYG 1 credit |
Call the Imgur API
Imgur gallery search: GET https://api.api.sh/imgur/
curl "https://api.api.sh/imgur/v1/search?q=pizza" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/imgur/v1/search",
params={"q": "pizza"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/imgur/v1/search");
url.searchParams.set("q", "pizza");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/imgur/v1/search", "q", "pizza")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "Imgur" and "Imgur gallery search".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for Imgur data
- Public data only: no Imgur login, cookies or account needed
- One key and one response shape for Imgur and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official Imgur API
Imgur has an official REST API (version 3) for uploads, albums and gallery reads, which needs a registered Client-ID and OAuth 2.0 for user actions, and new client registration has been restricted. API.SH covers the read side with no client ID or OAuth: public gallery, search, tag and post data as JSON. It does not upload images or act on an account.
If you only need to read public Imgur content, API.SH saves you from registering an Imgur app or keeping a downloader script working: one key and a fixed price per call.
Imgur API questions
What Imgur data can I get?+
Gallery lists by viral, newest or top (/imgur/v1/gallery), gallery search by words (/imgur/v1/search), posts in a tag with the tag's followers and post count (/imgur/v1/tag) and one post with views, votes, tags, author, every image or video and optional comments (/imgur/v1/post).
How much does the Imgur API cost?+
Every Imgur endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free Imgur API?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /imgur/v1/gallery at 1 credit each.
Is there an official Imgur API, and do I need an Imgur API key?+
Imgur's official API needs a Client-ID, and registering new clients has been restricted. With API.SH you do not need an Imgur client ID or OAuth token, only your API.SH key.
Do I need an Imgur account or login?+
No. API.SH reads public Imgur posts only. No endpoint uses a login or anyone's account. Posts marked mature are not returned.
Can I upload images with this API?+
No. The API.SH Imgur API is read-only: gallery, search, tags and posts. For uploads, use Imgur's own API or another image host.
Is this a good Imgur API alternative for Python or JavaScript?+
Yes, for reading public data. It is a plain HTTPS API that returns JSON, with JS and Python SDKs, so there is no unofficial wrapper library to keep updated.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /imgur/v1/search with q set to a topic, or /imgur/v1/gallery for viral posts. Every parameter is in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.