Search over 300,000 memes by keyword, rating, and age. Most memes are stills (images) but using the media-type you can also get videos. You can even search for text within memes. You'll surely find something funny.
This API wraps the search memes endpoint by Humor API. Check out the tutorial about writing a joke and meme app using this API.


| Name | Example | Description |
|---|---|---|
keywords | rocket | A comma-separated list of words that must occur in the meme. |
keywords-in-image | true | Whether the keywords must occur in the image. |
media-type | image | The media type (either 'image', 'video' or even specific format such as 'jpg', 'png', or 'gif'). |
min-rating | 0 | The minimum rating in range [0.0,1.0] of the meme. |
max-age-days | 30 | The maximum age of the meme in days. |
offset | 0 | The number of memes to skip, between 0 and 1000. |
number | 3 | The number of memes, between 1 and 10. |
api-key | abcd1234 | Your API key. |
{
"memes": [
{
"description": "Hey, you want a light show?: Edit: Thank you for getting the joke. I didn’t think a joke about gloving would land, but I appreciate your sense of humor Imgur. Let me know what shows you are going to or went to this year. DM me if you want to team up on Rocket League.",
"url": "https://i.imgur.com/4msjS5E.mp4",
"type": "video/mp4"
},
{
"description": "Rocket Money is a scam.: Prevented a $30 charge of something I don't use anymore. Feels good.",
"url": "https://i.imgur.com/q3cZlpv.png",
"type": "image/png"
},
{
"description": "Rocket Money is a scam.: Cat tax.",
"url": "https://i.imgur.com/yaZoCFP.jpg",
"type": "image/jpeg"
}
],
"available": 156
} Copy Code
curl -X GET 'https://api.apileague.com/search-memes?keywords=rocket&number=3' \ -H 'x-api-key: myapikey'
Response Headers:
Content-Type: application/jsonX-API-Quota-Request: The number of tokens used by the requestX-API-Quota-Used: The number of tokens used in total todayX-API-Quota-Left: The number of tokens left today (depends on your plan)Yes, the API allows you to search for memes based on the text contained within the image or its description.
Yes, by using the `media-type` parameter, you can choose to search for images, videos, or both.
The database is updated regularly with new memes. You can also filter by `min-rating` to find the most popular ones.
The Search Memes API allows you to find memes based on specific keywords, while the Random Meme API gives you a random meme from the database.