How do I search emoji memes by keyword with an API?
Use memecub's REST API to search emoji memes by keyword: send a GET request with your query and optional tags. Each search costs 1 credit, and you can try it keyless with 20 searches a day. For random results, add a random parameter or use the CLI npx memecub random.
A classic yellow emoji face with big green eyes and a smile—perfect when you need a generic happy emoji meme.
Moon Knight throwing blades wildly—send when your code randomly fails or you're overwhelmed by bugs.
A Simpsons character gripping his head—use when you can't remember the right keyword or API parameter.
A seagull with a Claude logo—great for AI or developer humor when search results are off.
HR keyword filter rant—relatable when your search query gets auto-rejected or returns nothing.
Coding skills meme—send when your API call returns unexpected results.
Retro illustration of a sad developer—use when debugging API errors feels hopeless.
Cat comic about the mutable keyword—for moments when a simple search turns into a deep rabbit hole.
How to search emoji memes with the memecub API
Send a GET request to the memecub search endpoint with your keyword as a query parameter. For example: GET https://memecub.com/api/search?q=emoji returns memes matching 'emoji'. You can also filter by tags using &tags=emoji,reaction.
Each search call costs 1 credit. You can try it without an API key for up to 20 searches per day. For production use, sign up for a free plan (1000 credits/month) or a paid plan.
The API returns JSON with meme IDs, titles, descriptions, and image URLs. Use the ID to fetch the full meme or download it.
Getting a random emoji meme
To get a random emoji meme, add &random=true to your search query, or use the dedicated random endpoint: GET https://memecub.com/api/random?tag=emoji. This returns one random meme matching the tag.
Alternatively, use the CLI: npx memecub random --tag emoji prints a random emoji meme URL to your terminal.
Using MCP or CLI for keyword search
If you're building an AI agent, connect to the remote MCP server at https://memecub.com/mcp. It exposes a search_memes tool that takes a query and optional tags.
For quick scripting, install the CLI with npx memecub and run npx memecub search "emoji" to get results in your terminal.
You can also install the memecub skill into Claude Code, Codex, or Cursor with npx skills add https://memecub.com to let your AI assistant search memes directly.
Licensing and usage notes
Most memes in memecub are collected from the web and are free for personal chats only; copyright remains with the original creators. For commercial use, apply the open-license filter to show only openly licensed images (Openverse, open-source emoji, public-domain art).
The API is rate-limited by credits; check your plan for limits. Never use memes of real people without permission.
Let your AI find the memes
REST API, remote MCP, CLI and a skill. Try 20 searches a day without a key.
More that fit
FAQ
How do I find the right emoji meme with an API query?
Use specific keywords and tags in your API request. For example, `q=emoji&tags=happy` narrows results to happy emoji memes. You can also combine multiple tags with commas.
How do I query an emoji meme API by tag or keyword?
Pass the keyword as the `q` parameter and tags as the `tags` parameter. For instance: `GET /api/search?q=emoji&tags=reaction`. The API returns memes that match both.
How do I get a random emoji meme from an API?
Add `random=true` to your search query or use the `/api/random?tag=emoji` endpoint. The CLI command `npx memecub random --tag emoji` also works.
Is there a free tier for the memecub API?
Yes, the free plan includes 1000 credits per month, and you can try keyless with 20 searches a day. Paid plans start at $3/month for 10000 credits.
Can I use memecub memes commercially?
Most memes are for personal use only. Use the open-license filter to find memes that are free for commercial use, such as those from Openverse or public-domain sources.