GIFs
GIPHY's own API on https://api.giphy.com, Grindr's official Android app key is zf7gBZ531pHaTJN3ne0jDdAepsNreB2X. A GIF from it is sent as a GiphyBody.
Get trending GIFs
GIPHY's current trending GIFs. Send one with a GiphyBody.
GET https://api.giphy.com/v1/gifs/trendingQuery:
api_key— string, GIPHY API keylimit— integer, number of GIFs, default25, at most50for a beta key, optionalrating— string, highest content rating to include:g,pg,pg-13orr; every rating when omitted, optional
Response:
data— array of GiphyGifpagination— GiphyPaginationmeta— GiphyMeta
Search GIFs
Searches GIPHY. Page through results with offset, see pagination in the response. Send a result with a GiphyBody.
GET https://api.giphy.com/v1/gifs/searchQuery:
api_key— string, GIPHY API keyq— string, search query, at most 50 characterslimit— integer, number of GIFs, default25, at most50for a beta key, optionaloffset— integer, position of the first GIF in the results, default0, at most4999, optionalrating— string, highest content rating to include:g,pg,pg-13orr; every rating when omitted, optionallang— string, two-letter ISO 639-1 code of the language ofq, e.g.en, optional
Response:
data— array of GiphyGifpagination— GiphyPaginationmeta— GiphyMeta
GiphyResponse
GIPHY's list response.
data— array of GiphyGif, optionalpagination— GiphyPagination, optionalmeta— GiphyMeta, optional
GiphyGif
A GIF on GIPHY.
type— string,gif, optionalid— string, GIPHY GIF ID, theidof a GiphyBody, optionalurl— string, URL of the GIF's page ongiphy.com, optionalslug— string, optionaltitle— string, optionalalt_text— string, may be empty, optionalrating— string,g,pg,pg-13orr, optionalusername— string, GIPHY channel that uploaded the GIF, may be empty, optionaluser— object, the uploading channel, optionalsource— string, may be empty, optionalsource_tld— string, may be empty, optionalsource_post_url— string, may be empty, optionalembed_url— string, optionalbitly_url— string, optionalbitly_gif_url— string, optionalcontent_url— string, may be empty, optionalimport_datetime— string,YYYY-MM-DD HH:MM:SS, optionaltrending_datetime— string,YYYY-MM-DD HH:MM:SS,0000-00-00 00:00:00when the GIF never trended, optionalis_sticker— integer,0or1, optionalis_low_contrast— boolean, optionalimages— GiphyImages, optionalanalytics— object withonload,onclickandonsent, each holding a GIPHY analyticsurl, optionalanalytics_response_payload— string, optional
GiphyImages
Renditions of a GIF, keyed by name.
original— object, the GIF as uploaded, see GiphyRendition, optionaloriginal_still— GiphyRendition, optionaloriginal_mp4— GiphyRendition, optionaldownsized— GiphyRendition, optionaldownsized_large— GiphyRendition, optionaldownsized_medium— GiphyRendition, optionaldownsized_small— GiphyRendition, optionaldownsized_still— GiphyRendition, optionalfixed_height— object, 200 pixels tall, file name200.gif, see GiphyRendition, optionalfixed_height_still— object, still frame offixed_height, file name200_s.gif, see GiphyRendition, optionalfixed_height_downsampled— GiphyRendition, optionalfixed_height_small— GiphyRendition, optionalfixed_height_small_still— GiphyRendition, optionalfixed_width— object, 200 pixels wide, file name200w.gif, see GiphyRendition, optionalfixed_width_still— GiphyRendition, optionalfixed_width_downsampled— GiphyRendition, optionalfixed_width_small— GiphyRendition, optionalfixed_width_small_still— GiphyRendition, optionallooping— GiphyRendition, optionalpreview— GiphyRendition, optionalpreview_gif— GiphyRendition, optionalpreview_webp— object, see GiphyRendition, optional480w_still— GiphyRendition, optionalhd— object, see GiphyRendition, optional4k— object, see GiphyRendition, optional
GiphyRendition
One file of a GIF. Every number is sent as a string.
url— string, URL of the GIF or still image on a GIPHY media host on video-only renditions, optionalwidth— string, width in pixels as a decimal number, e.g."200", optionalheight— string, height in pixels as a decimal number, e.g."200", optionalsize— string, size ofurlin bytes as a decimal number, optionalmp4— string, URL of an MP4 version, optionalmp4_size— string, size ofmp4in bytes as a decimal number, optionalwebp— string, URL of an animated WebP version, optionalwebp_size— string, size ofwebpin bytes as a decimal number, optionalframes— string, number of frames as a decimal number, only onoriginal, optionalhash— string, only onoriginal, appears to be the MD5 of itsurlfile, optional
GiphyPagination
total_count— integer, optionalcount— integer, number of GIFs indata, optionaloffset— integer, the request'soffset,0when omitted, optional
GiphyMeta
status— integer, HTTP status, e.g.200, optionalmsg— string, e.g.OK, optionalresponse_id— string, optional