Imgur+API.SH

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
Imgur gallery search
GET https://api.api.sh/imgur/v1/search
{ "success": true }
1 credit · $1 per 1,000 calls

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.

Content feeds and bots

Power a Discord, Slack or Reddit bot that posts top Imgur content from a tag or a gallery section.

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

Search and discovery1
Imgur gallery search
/imgur/v1/search
$1 · $2 PAYG
1 credit
Posts and media2
Imgur post
/imgur/v1/post
$1 · $2 PAYG
1 credit
Imgur tag posts
/imgur/v1/tag
$1 · $2 PAYG
1 credit
More data1
Imgur gallery
/imgur/v1/gallery
$1 · $2 PAYG
1 credit

Call the Imgur API

Imgur gallery search: GET https://api.api.sh/imgur/v1/search

curl "https://api.api.sh/imgur/v1/search?q=pizza" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 482 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for 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.

More social APIs all social media APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 482 platforms.
Get a free API key