freeapis

RandomFox

随机的狐狸图片

认证方式
No auth
HTTPS
Yes
CORS
No
分类
动物

简介

RandomFox 以 JSON 返回随机狐狸照片——一个极简、免密钥的 API,是常见猫狗图片 API 的有趣替代。非常适合演示、随机图片小组件和动物主题项目。

快速开始

随机狐狸(实测可用):

curl "https://randomfox.ca/floof/"
{"image": "https://randomfox.ca/images/52.jpg", "link": "https://randomfox.ca/52/"}

直接在 <img> 标签中使用 image URL:

<img src="https://randomfox.ca/images/52.jpg" alt="A random fox">

认证方式

无需认证——免密钥。

速率限制与注意事项

  • 免费开放;没有文档化的硬性限制——请礼貌使用。
  • image 字段是图片直链(支持热链);link 指向狐狸的详情页。
  • 图片托管在 randomfox.ca 自身。
  • CORS 不保证——浏览器小组件如遇问题请走服务端代理。

常见问题

RandomFox 免费吗? 是的——免费且免密钥。

可以热链图片吗? 可以——image URL 就是设计来直接使用的。

还有其他动物 API 吗? 本站 Animals 分类收录了 dog.ceo(狗)、The Cat/Dog API 等。

动物 分类更多

APIAuthHTTPSCORS
AdoptAPet

Resource to help get pets adopted

API KeyYesYes
Axolotl

Collection of axolotl pictures and facts

No authYesNo
Cat Facts

Random cat facts

No authYesYes
Cataas

Cat as a service (cats pictures and gifs)

No authYesNo
Cats

Pictures of cats from Tumblr

API KeyYesNo