Giphy Upload API

Programmatic upload of GIFs and video assets.

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-gif-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-clip-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-user-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-channel-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-category-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-images-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-analytics-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-meta-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-schema/giphy-pagination-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-structure/giphy-gif-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-structure/giphy-clip-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-structure/giphy-images-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/json-structure/giphy-channel-structure.json

Other Resources

🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-search-gifs-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-get-trending-gifs-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-translate-gif-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-get-random-gif-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-get-gif-by-id-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-list-gif-categories-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-autocomplete-search-tags-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-get-related-search-terms-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-get-trending-searches-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-search-stickers-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-list-emoji-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-search-clips-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-upload-gif-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/examples/giphy-register-search-action-example.json
🔗
SDKs
https://github.com/Giphy/giphy-ios-sdk
🔗
SDKs
https://github.com/Giphy/giphy-android-sdk
🔗
SDKs
https://github.com/Giphy/giphy-react-native-sdk
🔗
SDKs
https://github.com/Giphy/giphy-flutter-sdk
🔗
SDKs
https://github.com/Giphy/giphy-js
🔗
SDKs
https://github.com/Giphy/giphy-python-client
🔗
SDKs
https://github.com/Giphy/giphy-ruby-client
🔗
SDKs
https://github.com/Giphy/giphy-php-client
🔗
Pricing
https://raw.githubusercontent.com/api-evangelist/giphy/refs/heads/main/plans/giphy-plans-pricing.yml

OpenAPI Specification

giphy-upload-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: GIPHY Analytics Upload API
  description: 'The GIPHY API provides programmatic access to the world''s largest library of

    GIFs, stickers, animated emoji and Clips (GIFs with sound). Search, trending,

    translate, random, and category endpoints all return rich media objects with

    multiple image renditions optimized for any surface.


    Authentication is via API key. New developers receive a rate-limited Beta key;

    a Production key is granted after application review.

    '
  version: '1.0'
  contact:
    name: GIPHY Developers
    url: https://developers.giphy.com/
    email: support@giphy.com
  termsOfService: https://developers.giphy.com/terms/
  license:
    name: GIPHY API Terms of Service
    url: https://developers.giphy.com/terms/
servers:
- url: https://api.giphy.com
  description: Production API
- url: https://upload.giphy.com
  description: Upload API
security:
- ApiKeyAuth: []
tags:
- name: Upload
  description: Programmatic upload of GIFs and video assets.
paths:
  /v1/gifs:
    post:
      tags:
      - Upload
      operationId: uploadGif
      summary: Upload GIF
      description: 'Upload a GIF or video file to GIPHY at `upload.giphy.com/v1/gifs`. Maximum file

        size is 100 MB. This operation runs against the `upload.giphy.com` host (overrides

        the default server).

        '
      servers:
      - url: https://upload.giphy.com
      parameters:
      - $ref: '#/components/parameters/ApiKey'
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - api_key
              properties:
                api_key:
                  type: string
                file:
                  type: string
                  format: binary
                  description: Image or video file (≤100 MB).
                source_image_url:
                  type: string
                  format: uri
                  description: Optionally provide a URL instead of uploading bytes.
                username:
                  type: string
                tags:
                  type: string
                  description: Comma-separated tag list.
                source_post_url:
                  type: string
                  format: uri
                is_hidden:
                  type: boolean
      responses:
        '200':
          description: Upload accepted, returns the new GIF identifier.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                  meta:
                    $ref: '#/components/schemas/Meta'
components:
  parameters:
    ApiKey:
      name: api_key
      in: query
      required: true
      description: GIPHY API key (Beta or Production).
      schema:
        type: string
  schemas:
    Meta:
      type: object
      properties:
        msg:
          type: string
        status:
          type: integer
        response_id:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: api_key
      description: API key issued via the GIPHY developer dashboard.