Imgur Image API

Image upload, retrieval, deletion, favorite, and update operations.

Operations 5

POST /3/image Upload Image #
GET /3/image/{imageHash} Get Image #
DELETE /3/image/{imageHash} Delete Image #
POST /3/image/{imageHash} Update Image Information #
POST /3/image/{imageHash}/favorite Favorite Image #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-schema/imgur-image-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-schema/imgur-album-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-schema/imgur-comment-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-schema/imgur-account-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-schema/imgur-gallery-item-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-schema/imgur-tag-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-schema/imgur-access-token-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-structure/imgur-image-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-structure/imgur-album-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-structure/imgur-comment-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-structure/imgur-account-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/imgur/refs/heads/main/json-structure/imgur-gallery-item-structure.json

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-image-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

imgur-image-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Imgur Image 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: Image
  description: Image upload, retrieval, deletion, favorite, and update operations.
paths:
  /3/image:
    post:
      tags:
      - Image
      summary: Upload Image
      operationId: uploadImage
      description: Upload an image (binary, base64, or URL).
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                image:
                  type: string
                  format: binary
                type:
                  type: string
                  enum:
                  - file
                  - base64
                  - url
                title:
                  type: string
                description:
                  type: string
                album:
                  type: string
      responses:
        '200':
          description: Image Uploaded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
  /3/image/{imageHash}:
    get:
      tags:
      - Image
      summary: Get Image
      operationId: getImage
      parameters:
      - $ref: '#/components/parameters/ImageHash'
      responses:
        '200':
          description: Image Metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
    delete:
      tags:
      - Image
      summary: Delete Image
      operationId: deleteImage
      parameters:
      - $ref: '#/components/parameters/ImageHash'
      responses:
        '200':
          description: Image Deleted.
    post:
      tags:
      - Image
      summary: Update Image Information
      operationId: updateImage
      parameters:
      - $ref: '#/components/parameters/ImageHash'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                title:
                  type: string
                description:
                  type: string
      responses:
        '200':
          description: Image Updated.
  /3/image/{imageHash}/favorite:
    post:
      tags:
      - Image
      summary: Favorite Image
      operationId: favoriteImage
      parameters:
      - $ref: '#/components/parameters/ImageHash'
      responses:
        '200':
          description: Favorite Toggled.
components:
  schemas:
    BasicResponse:
      type: object
      properties:
        data:
          description: Operation-specific payload.
        success:
          type: boolean
        status:
          type: integer
  parameters:
    ImageHash:
      name: imageHash
      in: path
      required: true
      description: The image's seven-character hash (e.g. "AbCdEfG").
      schema:
        type: string
  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: {}