Rick and Morty
《瑞克和莫蒂》的全部信息,包括图片
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 游戏与漫画
- 文档 / URL
- https://rickandmortyapi.com
简介
Rick and Morty API 以 JSON 提供该剧的完整宇宙:800+ 角色、地点和剧集——含图片、起源和剧集元数据。免密钥、支持 CORS,是教学 GraphQL/REST 和构建粉丝应用的经典选择。
快速开始
按 ID 获取角色(实测可用——Rick Sanchez):
curl "https://rickandmortyapi.com/api/character/1"
{
"id": 1,
"name": "Rick Sanchez",
"status": "Alive",
"species": "Human",
"gender": "Male",
"origin": { "name": "Earth (C-137)", "url": "https://rickandmortyapi.com/api/location/1" }
}
全部角色(分页):
curl "https://rickandmortyapi.com/api/character"
按状态/物种/性别筛选:
curl "https://rickandmortyapi.com/api/character/?status=alive&gender=female"
剧集与地点:
curl "https://rickandmortyapi.com/api/episode"
curl "https://rickandmortyapi.com/api/location"
GraphQL 端点:https://rickandmortyapi.com/graphql——完整 schema,非常适合练习 GraphQL。
认证方式
无需认证——免密钥。
速率限制与注意事项
- 免费,没有文档化的硬性限制——请合理使用。
- 通过响应中的
info.next/info.prev链接分页。 id稳定;也有S01E01这样的剧集代码。- GraphQL 端点以更丰富的查询接口暴露同一份数据。
常见问题
Rick and Morty API 免费吗? 是的——免费、免密钥、支持 CORS。
可以筛选角色吗?
可以——按 status、species、type 和 gender 查询参数。
有 GraphQL 版本吗?
有——https://rickandmortyapi.com/graphql。
游戏与漫画 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AmiiboAPI Nintendo Amiibo Information | No auth | Yes | Yes | ↗ |
| Animal Crossing: New Horizons API for critters, fossils, art, music, furniture and villagers | No auth | Yes | Unknown | ↗ |
| Astroworld Free Minecraft data: mobs, biomes, items, enchantments, structures, commands, versions, achievements, trades | No auth | Yes | Yes | ↗ |
| Autochess VNG Rest Api for Autochess VNG | No auth | Yes | Yes | ↗ |
| Barter.VG Provides information about Game, DLC, Bundles, Giveaways, Trading | No auth | Yes | Yes | ↗ |