Imgur tag posts

GET https://api.api.sh/imgur/v1/tag
1 credit / call social try it in the playground →

Posts in an Imgur tag, most viral, top of a period or newest: id, title, link, views, upvotes, downvotes, points, comments, favorites, author, tags and the images of each post, plus the tag's followers and total posts. 60 posts a page; next_page is null when there are no more. Posts marked mature are left out.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
tagrequired string Tag name, such as cats. Example: cats
sort viral | top | time viral (default), top or time (newest).
window day | week | month | year | all For sort=top: day, week (default), month, year or all.
page integer Page number, from 1.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/imgur/v1/tag?tag=cats" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.