场景与能力
使用场景
- 按品种或分类检索并展示猫图片
- 投票与收藏功能集成到宠物社区应用
- 品种资料与宠物健康工具内容展示
- Webhook 接收兽医审核后的分析结果
核心能力
- 10 万+猫图片与 100+ 品种资料
- 按品种、分类筛选图片
- 投票、收藏与用户偏好接口
- 宠物健康指南与体况评分工具
- Webhook 事件推送与签名校验
计费与限额
有免费额度
价格与限额可能变动,以官方页面为准 · 核验于
价格页thecatapi.com(在新窗口打开)同类对比
与同一分类下的其它 API 对比认证、计费形态与价格摘要,本条已高亮。
| 名称 | 认证 | 计费 | 价格摘要 | 核验于 |
|---|---|---|---|---|
| The Cat API 本条TheCatAPI | API Key | 有免费额度 | 未提供 | |
| Replicate Predictions APIReplicate | API Key | 按量付费 | 按硬件与实际运行秒数计费,H100 0.001525 美元/秒 | |
| Open Library APIOpen Library | 未提供 | 免费 | 免费(开放数据) | |
| DummyJSONDummyJSON | 未提供 | 免费 | 完全免费 |
接入点
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /facts | Get a list of factsRetrieve facts with optional filtering by breed or species, and pagination support. |
| GET | /facts/random | Get a random factRetrieve a completely random fact from all available facts. |
| GET | /facts/breed/{breedId} | Get facts by breedRetrieve all facts for a specific breed with pagination support. |
| GET | /facts/breed/{breedId}/random | Get a random fact for a specific breedRetrieve a random fact for the specified breed. |
| GET | /facts/species/{speciesId}/random | Get a random fact for a specific speciesRetrieve a random fact for the specified species. |
显示其余 17 个
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /facts/{id} | Get a fact by IDRetrieve a specific fact by its unique identifier. |
| GET | /votes | List votes for the authenticated user |
| POST | /votes | Create a vote |
| GET | /votes/{vote_id} | Get a vote by ID |
| POST | /webhooks | Create a new webhook endpoint |
| GET | /webhooks | List all webhook endpoints |
| GET | /webhooks/topics | List available webhook topics |
| GET | /webhooks/{id} | Get a specific webhook endpoint |
| DELETE | /webhooks/{id} | Delete a webhook endpoint |
| POST | /webhooks/{id}/rotate-secret | Issue a new signing secret for this endpoint. The old one st |
| GET | /accounts/features | Get enabled feature flags for the current account |
| GET | /accounts/quota | Get current upload quota usage and remaining limit |
| GET | /breeds/bans/countries | List countries with breed legislation |
| GET | /breeds/bans/country | Get breed bans and legislation by countryReturns all breed bans, restrictions, and characteristic-based legislation for a country. |
| GET | /breeds/bans/breed/{breedId} | Get all bans for a specific breed globallyReturns every country and jurisdiction where this breed is banned, restricted, or requires |
| POST | /pets | Create a pet with optional images |
| GET | /pets | List pets for the authenticated account |
接入步骤
访问官网注册获取 API Key
阅读文档了解公开接口与鉴权接口区别
调用 images/search 获取猫图片
对接投票或收藏接口完成交互功能





