Free Animal Apis

趁还能白嫖!5 个免费的动物图片 API

猫狗都想要?这些 API 让你随便用


1. Cataas - 猫图API

地址:https://cataas.com/ 免费:每天 200+ 张猫片 支持:JSON / GIF

// 获取随机猫图
fetch('https://cataas.com/cat?json=true')
  .then(r => r.json())
  .then(data => console.log(data.url))

评价:⭐⭐⭐⭐⭐ 最稳定的免费猫图源


2. Dog CEO - 狗图API

地址:https://dog.ceo/dog-api/ 免费:无限制 支持:JSON

// 获取随机狗图
fetch('https://dog.ceo/api/breeds/image/random')
  .then(r => r.json())
  .then(data => console.log(data.message))

评价:⭐⭐⭐⭐⭐ 基于 Stanford 数据集


3. Random Duck - 随机鸭子

地址:https://random-d.uk/api 免费:每天 100 张 支持:JSON / 图片

fetch('https://random-d.uk/api/random')
  .then(r => r.json())
  .then(data => console.log(data.url))

评价:⭐⭐⭐⭐ 有趣


4. Random Fox - 随机狐狸

地址:https://randomfox.ca/floof/ 免费:无限制

fetch('https://randomfox.ca/floof/')
  .then(r => r.json())
  .then(data => console.log(data.image))

评价:⭐⭐⭐⭐ 可爱


5. The Dog API - 狗狗数据库

地址:https://thedogapi.com/ 免费:每天 100 次 支持:按品种搜索

fetch('https://api.thedogapi.com/v1/images/search')
  .then(r => r.json())
  .then(data => console.log(data[0].url))

评价:⭐⭐⭐⭐ 有品种分类


总结

API 免费额度 用途
Cataas 200+/天
Dog CEO 无限
Random Duck 100/天 鸭子
Random Fox 无限 狐狸
The Dog API 100/天 品种狗

这些 API 适合做:

且用且珍惜,且玩且珍惜!


原文:https://zzshare.top/article/claude-mem 教程

/*]]>*/