GIFDB Public API

Search and retrieve GIFs and stickers through a stable JSON API.

Base URL https://gifdb.com/api/v1

Authentication

Send your partner API key in the X-API-Key header. The health endpoint is available without a key. To request API access, contact GIFDB.

curl -H "X-API-Key: YOUR_KEY" \
  "https://gifdb.com/api/v1/search?q=celebration&type=gif&limit=20"

Read-only endpoints

EndpointPurpose
GET /healthAPI availability and authentication status.
GET /trendingTrending GIFs or stickers.
GET /homeCombined home feed.
GET /categoriesPopular keyword categories.
GET /keyword/{slug}Media belonging to one keyword.
GET /search?q={query}Search GIFs or stickers.
GET /item/{slug}Retrieve one media item.

Common parameters

Machine-readable resources

Tools API, CLI, and MCP

GIFDB's converters, GIF utilities, sticker builders, public-video resolvers, and AI tools are also available through a separately scoped API. Tool keys are isolated from catalog/mobile keys because these operations consume CPU or paid AI capacity.

Execution requests use a tools-scoped X-API-Key. Per-key minute and daily limits are returned through X-RateLimit-* headers. Downloader, ffmpeg, and AI operations have separate quota buckets.

GIFDB CLI

Run every executable GIFDB tool from a terminal using the same versioned API.

npm install --global gifdb-cli
gifdb tools
gifdb gif-compressor --file large.gif --colors 96 -o small.gif

GIFDB MCP Server

Connect GIFDB's tool catalog to MCP-compatible AI clients over stdio.

npm install --global gifdb-mcp
GIFDB_API_KEY=YOUR_TOOLS_KEY gifdb-mcp

Errors and rate limits

Errors use JSON with ok, error, and message fields. A 401 means the API key is missing or invalid; 429 means the request rate limit was exceeded. Rate-limit details are returned in the response headers.