# StableMemes Search

> StableMemes Search is a paid API for AI agents from stablememes.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-09).

Search for meme templates across 1M+ memes by template ID via the Imgflip API

## Facts

- Endpoint: POST https://stablememes.dev/api/search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablememes-search-fcc1aa5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r9PBrhJXWWZuEKifXtDex

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablememes-search-fcc1aa5c -d '<json body>'
```

Example prompt: Search StableMemes for the 'Drake Hotline Bling' meme template — I need its template ID so I can caption it.

## When to prefer this

Use this endpoint when you need to search or look up meme templates by ID from the Imgflip database before captioning or generating a meme. Prefer this over direct meme generation when you need to discover the correct template_id first, or when browsing available meme formats.

## Known failure modes

- Template ID not found — returns empty or error if the template_id does not match any known meme
- Missing required template_id field — returns validation error
- Payment failure — x402 payment of $0.01 USDC not processed, request rejected
- Rate limiting — too many requests in a short period
- Imgflip API unavailability — upstream provider outage causes failure

## How this service works

Generate memes via the Imgflip API. Caption templates, search 1M+, auto-caption, and AI memes.

## Output

Returns meme template search results from the Imgflip database, including template IDs, names, and metadata for matching meme formats that can be used for captioning or generation.

## Example request

```json
{
 "query": "drake",
 "template_id": "61579"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "enum": [
    "image",
    "gif",
    "both"
   ],
   "type": "string",
   "default": "image"
  },
  "query": {
   "type": "string",
   "minLength": 1
  },
  "include_nsfw": {
   "type": "boolean",
   "default": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablememes-search-fcc1aa5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablememes.dev](https://www.zero.xyz/host/stablememes.dev/llms.txt)
