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

简介

Pixabay API 提供对 Pixabay 免费图片库的搜索访问——照片、插画和矢量图,还有视频。内容在 Pixabay Content License 下免费使用(允许商用)。免费层比大多数图库 API 更宽裕。

快速开始

搜索图片(替换 YOUR_KEY):

curl "https://pixabay.com/api/?key=YOUR_KEY&q=cat&image_type=photo&per_page=5"

按方向与分类筛选:

curl "https://pixabay.com/api/?key=YOUR_KEY&q=city&orientation=horizontal&category=places"

视频:

curl "https://pixabay.com/api/videos/?key=YOUR_KEY&q=ocean"

认证方式

  • 在 pixabay.com 注册,从账号页面复制 API 密钥。
  • 通过 key 查询参数携带。
  • (无效密钥返回 HTTP 400——已实测。)

速率限制与注意事项

  • 免费层:每 IP 100 次请求/小时——在免费图库 API 中属于较宽裕的。
  • 搜索需要有效的 q;image_type=photo|illustration|vector 筛选内容类型。
  • 结果含 webformatURL(可热链的预览图)和 largeImageURL;page/per_page 分页。
  • 所有图片可免费商用(Pixabay Content License);无需署名。

常见问题

Pixabay 免费吗? 是的——免费层(100 次/小时)且内容免费使用。

如何获取密钥? 在 pixabay.com 注册——密钥在账号页面。

图片可以商用吗? 可以——Pixabay Content License 允许商业使用且无需署名。

摄影 分类更多

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↗