GIPHY

Giphy API

Giphy API

Media & content#openapi#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Giphy API

Endpoints 10

gifs

  • GETGet GIFs by ID/gifs?ids=stringA multiget version of the get GIF by ID endpoint.
  • GETRandom GIF/gifs/random?tag=string&rating=stringReturns a random GIF, limited by tag. Excluding the tag parameter will return a random GIF from the GIPHY catalog.
  • GETSearch GIFs/gifs/search?q=string&limit=25&offset=0&rating=string&lang=stringSearch all GIPHY GIFs for a word or phrase. Punctuation will be stripped and ignored. Use a plus or url encode for phrases. Example paul+rudd, ryan+gosling or…
  • GETTranslate phrase to GIF/gifs/translate?s=stringThe translate API draws on search, but uses the GIPHY special sauce to handle translating from one vocabulary to another. In this case, words and phrases to GIF
  • GETTrending GIFs/gifs/trending?limit=25&offset=0&rating=stringFetch GIFs currently trending online. Hand curated by the GIPHY editorial team. The data returned mirrors the GIFs showcased on the GIPHY homepage. Returns 25…
  • GETGet GIF by Id/gifs/:gifIdReturns a GIF given that GIF's unique ID

stickers

  • GETRandom Sticker/stickers/random?tag=string&rating=stringReturns a random GIF, limited by tag. Excluding the tag parameter will return a random GIF from the GIPHY catalog.
  • GETSearch Stickers/stickers/search?q=string&limit=25&offset=0&rating=string&lang=stringReplicates the functionality and requirements of the classic GIPHY search, but returns animated stickers rather than GIFs.
  • GETTranslate phrase to Sticker/stickers/translate?s=stringThe translate API draws on search, but uses the GIPHY special sauce to handle translating from one vocabulary to another. In this case, words and phrases to…
  • GETTrending Stickers/stickers/trending?limit=25&offset=0&rating=stringFetch Stickers currently trending online. Hand curated by the GIPHY editorial team. Returns 25 results by default.

API details

Base URL
https://api.giphy.com/v1
Authentication
An API key in the api_key query parameter
Operations
10 operations on 10 pathsGET 10
Main resources
gifs 6stickers 4
Response formats
application/json
Description format
OpenAPI 3.0.0, API version 1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Giphy API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Giphy API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the api_key query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Get GIFs by ID” (GET /gifs?ids=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Giphy API?

Giphy API It is listed under Media & content and has 10 endpoints.

Who publishes the Giphy API?

It is listed from GIPHY's public API description (an OpenAPI document), not published by GIPHY on Swastik Codes. Anyone who controls giphy.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Giphy API?

Requests go to https://api.giphy.com/v1. Endpoint paths are added to this base URL.

How do I authenticate with the Giphy API?

With an API key in the api_key query parameter.

How many endpoints does the Giphy API have?

10 operations on 10 paths (10 GET). The largest groups are gifs, stickers.

Is forking the Giphy API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.