Open documentation ↗Overview
The GIPHY Developer Portal is how you integrate the world's best GIF API into your business, app or project.
Giphy is a photography API from giphy.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 10 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Photography
- Base URL
https://api.giphy.com/v1- Version
- 1.0
- Endpoints
- 10
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.giphy.com/v1/gifs" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.giphy.com/v1/gifs", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.giphy.com/v1/gifs",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /gifs | Get GIFs by ID |
| GET | /gifs/random | Random GIF |
| GET | /gifs/search | Search GIFs |
| GET | /gifs/translate | Translate phrase to GIF |
| GET | /gifs/trending | Trending GIFs |
| GET | /gifs/{gifId} | Get GIF by Id |
| GET | /stickers/random | Random Sticker |
| GET | /stickers/search | Search Stickers |
| GET | /stickers/translate | Translate phrase to Sticker |
| GET | /stickers/trending | Trending Stickers |
Questions
Does the Giphy API need an API key?
Yes. The Giphy API uses API key authentication; the documentation explains how to get credentials.
Does the Giphy API support HTTPS?
Yes, the Giphy API is served over HTTPS.
How many endpoints does the Giphy API have?
Its OpenAPI description lists 10 endpoints in version 1.0. All of them are shown on this page.
What are alternatives to the Giphy API?
Other Photography APIs include Remove.bg, Getty Images, Unsplash, Imgur, shutterstock.
Similar photography APIs
Compare alternatives →Remove.bg
PhotographyImage Background removal
Getty Images
PhotographyBuild applications using the world's most powerful imagery
Unsplash
PhotographyCreate with the largest collection of high-quality images that are free to use. Trusted by Trello, Medium, and thousands of other API applications to power their free picture needs.
Imgur
Photography## API Status Status for the API can be found at [status.imgur.com](http://status.imgur.com)! ## Getting Started Imgur's API exposes the entire Imgur infrastructure via a standardized programmatic interface. Using Imgur's API, you can do just about anything you can do on imgur.com, while using your programming language of choice. The Imgur API is a RESTful API based on HTTP requests and JSON respo
shutterstock
PhotographyStock Photos and Videos
Pexels
PhotographyFree Stock Photos and Videos
Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).