API Object Details
Learn to identify and utilize the essential objects in the GIPHY API such as GIFs, pagination, image, user, and channel objects. Understand their structure and attributes for effective API integration and enhanced application functionality.
The GIF object
The attributes of the GIF object are as follows:
Name | Type | Description |
| string | This tells us whether the returned object is a GIF or a sticker. The default value for |
| string | This is a GIF’s unique ID. |
| string | This is a GIF’s unique URL. |
| string | Slug is a part of a URL that identifies a particular page on a website in a form readable by users. This one is the unique slug used in the GIF's URL. For example, if we have the following URL: Then the slug in it would be |
| string | This is the unique "bit.ly" URL for the GIF. |
| string | This is the unique "bit.ly" URL for the GIF. |
| string | This is the URL used for embedding the GIF. |
| string | This is the username of the channel to which GIF is attached. The value exists only if applicable. |
| string | This is the page where the GIF was found. For example, a GIF's source can be Reddit, HBO Max, giphy.com, and so on. |
| string | This is the title that appears on giphy.com for the GIF. |
| string | This is the MPAA (Motion Picture Association of America) style rating of the GIF’s content. Valid values include |
| string | This element is currently unused by giphy.com. |
| string | This is the top-level domain of the source URL. For example, if the source post URL is |
| string | This is the URL of the webpage where the GIF was found. |
| integer | This is the flag that shows us whether the object returned is a GIF or a sticker. Its value is |
| string | This is the date on which the GIF was last updated. |
| string | This is the date on which the GIF was added to the GIPHY database. |
| string | This value shows the date and time aGIF was created or uploaded to its source. For example, a GIF was created or uploaded to Reddit at the following date and time: |
| string | This value shows the date and time a GIF was marked as trending on giphy.com. This value only exists if applicable. |
| string | This is the analytics' response payload for the GIF. |
| object | This object contains data regarding various available GIF sizes and formats. |
| object | This object contains data about the user associated with the GIF, if applicable. The user is usually the person who created or added the GIF on giphy.com. |
| object | This object contains data to register the user actions, such as when a user views, clicks, or sends a GIF. |
The pagination object
Pagination is used in almost every web application to divide returned data and display it on multiple pages within a ...