GIPHY trending GIFs

GET https://api.api.sh/giphy/v1/trending
1 credit / call social try it in the playground →

The GIFs (or stickers, clips, animated text) trending on GIPHY right now, with the same fields as search. With type other than gifs, limit, page/offset or rating, the response also has total_count, offset, limit, page and has_more.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
type gifs | stickers | clips | text gifs (default), stickers, clips or text.
limit integer Results per page, 1 to 50 (default 25).
page integer Page number (1 = first), counted in pages of limit.
offset integer Start at this result (0-based) instead of page.
rating g | pg | pg-13 | r Highest content rating to include: g, pg, pg-13 or r.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/giphy/v1/trending" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.