freeapis

Giphy

获取你所有的动图

认证方式
API Key
HTTPS
Yes
CORS
Unknown
分类
摄影
数据来源
public-apis + marcelscruz

简介

Giphy API 提供 GIF——搜索、热门、贴纸和按 ID 查询——支撑无数聊天和社交集成。认证是免费 API 密钥(无效密钥返回 401,已实测)。

快速开始

热门(替换 YOUR_KEY):

curl "https://api.giphy.com/v1/gifs/trending?api_key=YOUR_KEY&limit=3"
{
  "data": [
    {
      "id": "abc123",
      "title": "happy dance GIF",
      "images": { "original": { "url": "https://media.giphy.com/media/abc123/giphy.gif" }, "fixed_width": { "url": "https://media.giphy.com/media/abc123/200w.gif" } }
    }
  ]
}

搜索:

curl "https://api.giphy.com/v1/gifs/search?api_key=YOUR_KEY&q=cats&limit=5"

贴纸:

curl "https://api.giphy.com/v1/stickers/trending?api_key=YOUR_KEY&limit=3"

认证方式

  • 在 developers.giphy.com 注册 → 创建应用 → API 密钥。
  • 通过 api_key 查询参数携带(无效密钥 → 401,已实测)。

速率限制与注意事项

  • 免费层:10,000 次请求/天(每密钥,看文档);多数应用无需付费。
  • 端点:/v1/gifs/search、/v1/gifs/trending、/v1/gifs/{id}、/v1/stickers/...。
  • 每个 GIF 的 images 有多种版本(original、fixed_width、preview)——按需选择尺寸。
  • 对客户端使用友好(CORS)。

常见问题

Giphy 免费吗? 免费层:10,000 次/天;更多需要付费。

如何获取密钥? developers.giphy.com → 创建应用。

版本是什么? 多种尺寸:original、fixed_width、preview 等。

摄影 分类更多

APIAuthHTTPSCORS
APITemplate.io

Dynamically generate images and PDFs from templates with a simple API

API KeyYesUnknown↗
Bruzu

Image generation with query string

API KeyYesYes↗
Change Image Background API

This API helps you change the background of any image

API KeyYesUnknown↗
CheetahO

Photo optimization and resize

API KeyYesUnknown↗
Convert Images to PDF API

Convert any image to a PDF without losing quality with one API call

API KeyYesUnknown↗