Imgur Gallery API

Public gallery listing, voting, sharing, and reporting.

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /3/gallery/{section}/{sort}/{window}/{page} Browse the Imgur Gallery · Get Gallery #
Ask an LLM
“What's trending in the Imgur Gallery right now?”
“Can I sort the Gallery by hot, top or new for a time window?”
Tell an agent
Show the {section} Gallery sorted by {sort} over {window}, page {page}.
List the top {section} Gallery for {window} on page {page}.
GET /3/gallery/search Search the Imgur Gallery · Search Gallery #
Ask an LLM
“How do I find a meme in the Gallery by keyword?”
“Can I sort Gallery search results?”
Tell an agent
Search the Gallery for {q}.
Find Gallery images matching {q} sorted by {sort}.
GET /3/gallery/image/{galleryHash} Get a Gallery image · Get Gallery Image #
Ask an LLM
“How do I look up one image from the Gallery?”
“What does a single Gallery image return?”
Tell an agent
Get Gallery image {galleryHash}.
Show the image with Gallery hash {galleryHash}.
GET /3/gallery/album/{galleryHash} Get a Gallery album · Get Gallery Album #
Ask an LLM
“How do I open a Gallery album?”
“What does a Gallery album contain?”
Tell an agent
Get Gallery album {galleryHash}.
Show the album with Gallery hash {galleryHash}.
POST /3/gallery/{galleryHash}/vote/{vote} Vote on a Gallery item · Vote On Gallery Item #
Ask an LLM
“How do I upvote or downvote an image in the Gallery?”
“Can I vote on a Gallery item by its hash?”
Tell an agent
Vote {vote} on Gallery item {galleryHash}.
Cast a {vote} vote on Gallery image {galleryHash}.
POST /3/gallery/{galleryHash}/report Report a Gallery item · Report Gallery Item #
Ask an LLM
“How do I report an offensive image in the Gallery?”
“Can I flag a Gallery item for review?”
Tell an agent
Report Gallery item {galleryHash}.
Flag Gallery image {galleryHash} as inappropriate.
POST /3/gallery/image Submit an image to the Gallery · Submit Image To Gallery #
Ask an LLM
“How do I submit a new image to the Gallery?”
“Can I add a topic and terms when submitting to the Gallery?”
Tell an agent
Submit {title} to the Gallery.
Submit {title} to the Gallery with topic {topic} and terms {terms}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/imgur:imgur-gallery-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

imgur-gallery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Imgur Gallery API
  version: '3.0'
  description: Imgur is an online image and album hosting platform. The Imgur API (v3) is a RESTful HTTP/JSON API that exposes the platform — uploading, retrieving, voting, commenting, galleries, accounts, and tags. Anonymous reads/writes are supported with a Client-ID, and per-user actions require OAuth2 access tokens.
  contact:
    name: Imgur API Support
    url: https://help.imgur.com/
  license:
    name: Imgur API Terms
    url: https://imgur.com/tos
servers:
- url: https://api.imgur.com
  description: Imgur API root
security:
- ClientId: []
- OAuth2: []
tags:
- name: Gallery
  description: Public gallery listing, voting, sharing, and reporting.
paths:
  /3/gallery/{section}/{sort}/{window}/{page}:
    get:
      tags:
      - Gallery
      summary: Get Gallery
      operationId: getGallery
      parameters:
      - name: section
        in: path
        required: true
        schema:
          type: string
          enum:
          - hot
          - top
          - user
      - name: sort
        in: path
        required: true
        schema:
          type: string
          enum:
          - viral
          - top
          - time
          - rising
      - name: window
        in: path
        required: true
        schema:
          type: string
          enum:
          - day
          - week
          - month
          - year
          - all
      - name: page
        in: path
        required: true
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: Gallery Items.
  /3/gallery/search:
    get:
      tags:
      - Gallery
      summary: Search Gallery
      operationId: searchGallery
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
      - name: sort
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Search Results.
  /3/gallery/image/{galleryHash}:
    get:
      tags:
      - Gallery
      summary: Get Gallery Image
      operationId: getGalleryImage
      parameters:
      - name: galleryHash
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Gallery Image.
  /3/gallery/album/{galleryHash}:
    get:
      tags:
      - Gallery
      summary: Get Gallery Album
      operationId: getGalleryAlbum
      parameters:
      - name: galleryHash
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Gallery Album.
  /3/gallery/{galleryHash}/vote/{vote}:
    post:
      tags:
      - Gallery
      summary: Vote On Gallery Item
      operationId: voteGalleryItem
      parameters:
      - name: galleryHash
        in: path
        required: true
        schema:
          type: string
      - name: vote
        in: path
        required: true
        schema:
          type: string
          enum:
          - up
          - down
          - veto
      responses:
        '200':
          description: Vote Recorded.
  /3/gallery/{galleryHash}/report:
    post:
      tags:
      - Gallery
      summary: Report Gallery Item
      operationId: reportGalleryItem
      parameters:
      - name: galleryHash
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Report Submitted.
  /3/gallery/image:
    post:
      tags:
      - Gallery
      summary: Submit Image To Gallery
      operationId: submitImageToGallery
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - title
              properties:
                title:
                  type: string
                topic:
                  type: string
                terms:
                  type: integer
                  enum:
                  - 0
                  - 1
      responses:
        '200':
          description: Image Submitted.
components:
  securitySchemes:
    ClientId:
      type: apiKey
      in: header
      name: Authorization
      description: 'Anonymous access. Header value: `Client-ID <CLIENT_ID>`.'
    OAuth2:
      type: oauth2
      description: Per-user OAuth2 authorization.
      flows:
        authorizationCode:
          authorizationUrl: https://api.imgur.com/oauth2/authorize
          tokenUrl: https://api.imgur.com/oauth2/token
          scopes: {}