Giphy Api avatar

Giphy Api

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Giphy Api

Giphy Api

Access the world's largest GIF library through the official Giphy API. Search millions of GIFs and stickers, get trending content, translate text to the perfect GIF, fetch random GIFs, and search animated emoji.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

24

Total users

0

Monthly active users

13 hours ago

Last modified

Share

Giphy API - Search GIFs, Stickers, Emoji & Clips

Search Giphy's GIF and sticker library, get trending content, translate a phrase to a GIF, fetch a random GIF, list animated emoji, or look up a GIF by ID. Useful for chatbots, social media automation, and content tools.

BYOK (Bring Your Own Key): Giphy requires an API key on every request. You supply your own free key; the actor does not include one.


Before You Start

  1. Go to https://developers.giphy.com/dashboard/ and sign in (free).
  2. Click Create an App, choose API, and give it any name.
  3. Copy the API key and paste it into the Giphy API Key input field.

A free beta key allows roughly 100 calls per hour. If you need more, request a production key on the Giphy dashboard.

No key? The run still finishes, but it returns a single row explaining how to add your key. It returns no GIFs and charges no task fee. The actor never passes sample data off as real results.


Quick Start

Search GIFs

{
"task": "search_gifs",
"query": "funny cat",
"limit": 25,
"rating": "g",
"apiKey": "YOUR_GIPHY_API_KEY"
}

Preview the output format without a key

{
"task": "search_gifs",
"demoMode": true
}

Demo Mode returns placeholder GIFs marked isSampleData: true. They are not real Giphy results. Demo runs are not charged a task fee.


Tasks

TaskWhat it doesNeeds query
search_gifsSearch GIFs by word or phraseYes
get_trendingCurrently trending GIFsNo
translate_to_gifTurn a word or phrase into one matching GIFYes
get_randomOne random GIF, optionally filtered by tag (query)Optional
search_stickersSearch animated stickersYes
get_trending_stickersCurrently trending stickersNo
search_emojiList Giphy's animated emoji library (no search term; use limit and offset to page)No
get_gif_by_idLook up one GIF by its Giphy ID (gifId)No

Input Parameters

ParameterTypeDefaultDescription
taskstring"search_gifs"Which operation to run (see Tasks)
apiKeystring-Your Giphy API key. Required for real data
querystring-Search term, phrase, or random-GIF tag
gifIdstring-Giphy GIF ID for get_gif_by_id
limitinteger25Results per run (max 50)
offsetinteger0Results offset for pagination
ratingstring"g"Content rating filter: g, pg, pg-13, r
languagestring"en"Language code for search (e.g. en, es, fr)
webhookUrlstring-Optional URL that receives the results as a POST
demoModebooleanfalseReturn labelled placeholder data instead of calling Giphy

Output

Each run pushes one row to the dataset. For list tasks the row holds totalCount, count, offset, and a data array of GIFs. Each GIF includes id, title, url, embedUrl, rating, image renditions (original, downsized, fixed_height, fixed_width, preview, mp4), and the uploader (user) when Giphy provides one. Every row carries the attribution Powered By GIPHY.

If something goes wrong (missing key, rejected key, rate limit, missing query), the row contains an error field that says what happened and how to fix it.


Pricing

Pay per event:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 1 GB of memory that is $0.10 per run$0.10 per GB
Search GIFsSearch Giphy's library of millions of GIFs by entering a word or phrase$0.01
Get Trending GIFGet the most relevant and engaging trending GIFs, updated continuously$0.01
Translate to GIFConvert words and phrases to the perfect GIF using Giphy's special algorithm$0.01
Get Random GIFGet a random GIF, optionally filtered by tag for themed randomness$0.01
Search StickersSearch animated stickers with transparent backgrounds$0.01
Get Trending StickersGet currently trending sticker content$0.01
Search EmojiSearch Giphy's uniquely diverse animated emoji library$0.01
Get GIF by IDRetrieve a specific GIF by its unique Giphy ID$0.01
ResultEach item written to the default dataset$0.00001

No task fee is charged for Demo Mode, for runs without a key, or for runs where Giphy returns an error. The actor start and the single dataset row are platform fees that apply to every run. You can lower the start fee by running with less memory (128 MB is plenty for this actor).


Troubleshooting

"Giphy API key required"

You ran without a key. Add your free key from https://developers.giphy.com/dashboard/ to the Giphy API Key field.

"Giphy API error: 401" or "403"

Giphy rejected the key. Check that you pasted the whole key and that the app still exists on your Giphy dashboard.

"Giphy API error: 429"

You hit the hourly limit for your key. Wait and retry, or request a production key from Giphy.

"Query parameter is required"

search_gifs, translate_to_gif, and search_stickers need a query.


Built by John Rippy | Actor Arsenal