freeapis

Dog Facts

随机的狗狗冷知识

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

简介

Dog Facts 提供随机狗事实——免密钥(通过 dogapi.dog 主机实测可用)。

快速开始

一个随机事实(实测可用):

curl "https://dogapi.dog/api/v2/facts"
{
  "data": [
    { "id": "8cac6c90-3660-410e-a07c-4e0d675c68fd", "type": "fact", "attributes": { "body": "A Border Collie named Chaser has learned the names of 1,022 toys." } }
  ]
}

多个事实:

curl "https://dogapi.dog/api/v2/facts?limit=3"

认证方式

无需认证——免密钥。

速率限制与注意事项

  • 免费;请礼貌使用——没有公开的硬性限制。
  • 当前主机是 dogapi.dog(列表里的 GitHub Pages URL 会重定向)。

常见问题

Dog Facts 免费吗? 是的——免费且免密钥(实测)。

主机是什么? dogapi.dog/api/v2/facts(实测)。

可以拿多个吗? 可以——?limit=3

动物 分类更多

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