Home › GIF Search API
Search for the perfect reaction GIF by keyword. Each result comes with its URL, width and height, ready to embed. GIF search keeps working after Google shut down the Tenor API on June 30, 2026. The same API key also unlocks 50,000+ jokes and 450,000+ memes.
Get a free API key Read the docs See pricing
| Endpoint | GET https://api.humorapi.com/gif/search |
|---|---|
| Authentication | API key as api-key query parameter or x-api-key header |
| Response | JSON |
| Cost | 1 point per call |
| Reference | Search Gifs in the docs |
GET https://api.humorapi.com/gif/search?query=dog&number=3 {
"images": [
{
"url": "https://static.klipy.com/ii/a15b48460c436e1e92c85ffc680932cc/3c/4c/2mJn9yWc.gif",
"width": 640,
"height": 610
},
{
"url": "https://static.klipy.com/ii/2711dd8a75a85be822d136ec94899b3f/df/25/rVPMO3Km.gif",
"width": 640,
"height": 640
},
{
"url": "https://static.klipy.com/ii/4e7bea9f7a3371424e6c16ebc93252fe/7b/87/eMP7ArRedjmII0YSb.gif",
"width": 311,
"height": 373
}
]
} curl "https://api.humorapi.com/gif/search?query=dog&number=3&api-key=YOUR_API_KEY" const res = await fetch("https://api.humorapi.com/gif/search?query=dog&number=3", {
headers: { "x-api-key": process.env.HUMOR_API_KEY }
});
const data = await res.json();
console.log(data); import os, requests
res = requests.get("https://api.humorapi.com/gif/search?query=dog&number=3",
headers={"x-api-key": os.environ["HUMOR_API_KEY"]})
print(res.json()) query (required): A query to search for.number: The number of gifs, between 1 and 10.api-key (required): Your API key./gif command for Slack, Discord or Teams bots.The free plan has 10 points per day (most calls cost 1 point) and needs a backlink; paid plans start at $3 per month for 100 points per day and bill extra points instead of stopping. Compare the plans.