APIs / Social media / Imgur

1 credit per call5 endpointsChecked working 6 Dec 2026

Imgur API

Imgur API for public posts, search, tag galleries, viral posts and user pages as JSON. Five endpoints, 1 credit per successful call.

Imgur
GET/v1/imgur/search?q=cats
curl "https://api.perceptlayer.com/v1/imgur/search?q=cats" \
  -H "X-API-Key: $API_KEY"
cURL1 credit per successful call
Run this call below or from your dashboard to see a live response.

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/imgur/search?q=cats" \
  -H "X-API-Key: $API_KEY"

Imgur · 5 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

Note
Endpoints marked “Needs terms” return personal or social data. They work once you accept the restricted-endpoint terms in your dashboard.
EndpointRequired parametersReturnsCost
GET/v1/imgur/post
idNeeds terms
idtitleview_countupvote_countdownvote_countpoint_count+10 more
1 credit
GET/v1/imgur/search
q+2 optionalNeeds terms
idtitleview_countupvote_countdownvote_countpoint_count+8 more
1 credit
GET/v1/imgur/tag
tag+2 optionalNeeds terms
tagdisplayposts
1 credit
GET/v1/imgur/user
username+1 optionalNeeds terms
idtitleview_countupvote_countdownvote_countpoint_count+4 more
1 credit
GET/v1/imgur/viral
none+2 optionalNeeds terms
idtitleview_countupvote_countdownvote_countpoint_count+8 more
1 credit

Overview

About the Imgur API

What you can get

The Imgur API returns public Imgur data as JSON through 5 endpoints. These are restricted endpoints: the restricted-endpoint terms apply, and they don't permit collecting personal data without a lawful basis or using it to contact people.

  • Search: search takes q, with page and sort (-time or -viral).
  • Posts: post takes an id.
  • Galleries: tag takes a tag, with page and window (day, week, month, year or all); viral takes page and sort.
  • Users: user takes a username, with page.

How a call works

Search or browse a tag: GET /v1/imgur/search?q=cats with your key in the X-API-Key header. List endpoints page with page. Every successful call costs 1 credit; failed calls cost nothing.

Social mediaJSONRESTMCPSome endpoints need terms

More social media APIs

Use cases

Track what's going viral on Imgur

Use the Imgur API to track what's going viral on Imgur

Follow a tag gallery over a week or month

Use the Imgur API to follow a tag gallery over a week or month

Find public posts on a topic

Use the Imgur API to find public posts on a topic

Watch for your images or brand on public posts

Use the Imgur API to watch for your images or brand on public posts

FAQ

Questions

Do I need an Imgur client ID?

No. You call this Imgur API with your Perceptlayer key in the `X-API-Key` header, so there's no Imgur app to register. You do need to accept the restricted-endpoint terms first.

How much does the Imgur API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official Imgur API?

No. Perceptlayer is an independent service and is not affiliated with Imgur. It returns Imgur data as JSON with a Perceptlayer key, so there is no Imgur developer account, app review or partner approval to get first. It only reads data: if Imgur has an official API and you need to act on your own Imgur account, such as posting, managing orders or reading private data, use that one.

Should I build an Imgur scraper instead?

You can, but an Imgur scraper is code you maintain: page changes break it, requests get blocked, and Imgur's terms govern how you collect data. The Imgur API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first. Some of these endpoints return social or personal data and need the restricted-endpoint terms; collect only what you have a lawful basis for.

Try the Imgur API with 100 free credits

No credit card. Failed calls are never billed.