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.
curl "https://api.perceptlayer.com/v1/imgur/search?q=cats" \
-H "X-API-Key: $API_KEY"Playground
Run this API
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.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
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:
searchtakesq, withpageandsort(-time or -viral). - Posts:
posttakes anid. - Galleries:
tagtakes atag, withpageandwindow(day, week, month, year or all);viraltakespageandsort. - Users:
usertakes ausername, withpage.
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.
More social media APIs
Use cases
Track what's going viral on Imgur
Use the Imgur API to track what's going viral on ImgurFollow a tag gallery over a week or month
Use the Imgur API to follow a tag gallery over a week or monthFind public posts on a topic
Use the Imgur API to find public posts on a topicWatch for your images or brand on public posts
Use the Imgur API to watch for your images or brand on public postsFAQ
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.