Gifli API Docs
Api

Search GIFs

Hybrid text and vector search over all GIFs. Rate limit 300 per 10 minutes per IP without auth, or the app's configured limit (default 300 per minute) when called with a bare app key.

GET
/gifs/search

Authorization

BearerAuth
AuthorizationBearer <token>

Pass a user session token (from /auth/login) or an app API key (gk_…).

In: header

Query Parameters

q*string

Search query (2–100 characters).

limit?integer

Max results. Clamped to 1–50.

threshold?number

Minimum vector similarity. Clamped to 0.4–1.0.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/gifs/search?q=string"
{  "query": "string",  "items": [    {      "id": "string",      "name": "string",      "description": "string",      "url": "http://example.com",      "mimeType": "image/webp",      "sizeBytes": "204800",      "width": 0,      "height": 0,      "thumbhash": "string",      "userId": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "similarity": 0    }  ]}
{  "error": "string"}
{  "error": "Too many requests",  "retryAfterSec": 0}