娯
Rick and Morty API API
6 endpointsEntertainment & BooksGlobalsocial:read6 real examples
Returns Rick and Morty characters, locations and episodes with their attributes, filterable by name.
View as Markdown| GET | /rickandmorty/characters | Characters, 20 per page, optionally filtered by name. |
| GET | /rickandmorty/character | One character: species, status, origin, last location and episode count. |
| GET | /rickandmorty/location | One location: its type, dimension and number of residents. |
| GET | /rickandmorty/episodes | Episodes, 20 per page, optionally filtered by a part of the title. |
| GET | /rickandmorty/episode | One episode by its id, with its air date, code and the ids of the characters in it. |
| GET | /rickandmorty/locations | Locations, 20 per page, optionally filtered by name, type or dimension. |
characters
GET
/v1/rickandmorty/charactersCharacters, 20 per page, optionally filtered by name.
scope social:read1 unitcached 1 hpaginated
Parameters
namestring | Part of a character name, such as rick. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
episodeCount | integer (int64) |
gender | string |
id | string |
image | string |
location | string |
name | string |
origin | string |
species | string |
status | string |
type | string |
curl "https://api.hoshime.com/v1/rickandmorty/characters" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rickandmorty/characters", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rickandmorty/characters", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "episodeCount": 51, "gender": "Male", "id": "1", "image": "https://rickandmortyapi.com/api/character/avatar/1.jpeg", "location": "Citadel of Ricks", "name": "Rick Sanchez", "origin": "Earth (C-137)", "species": "Human", "status": "Alive", "type": "" }, { "episodeCount": 51, "gender": "Male", "id": "2", "image": "https://rickandmortyapi.com/api/character/avatar/2.jpeg", "location": "Citadel of Ricks", "name": "Morty Smith", "origin": "unknown", "species": "Human", "status": "Alive", "type": "" } ], "meta": { "cached": false, "endpoint": "characters", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "rickandmorty", "requestId": "req_2Xb9kQ…", "units": 1 } }
character
GET
/v1/rickandmorty/characterOne character: species, status, origin, last location and episode count.
scope social:read1 unitcached 1 h
Parameters
idstring required | Character id, such as 1. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
episodeCount | integer (int64) |
gender | string |
id | string |
image | string |
location | string |
name | string |
origin | string |
species | string |
status | string |
type | string |
curl "https://api.hoshime.com/v1/rickandmorty/character?id=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rickandmorty/character?id=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rickandmorty/character?id=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "episodeCount": 51, "gender": "Male", "id": "1", "image": "https://rickandmortyapi.com/api/character/avatar/1.jpeg", "location": "Citadel of Ricks", "name": "Rick Sanchez", "origin": "Earth (C-137)", "species": "Human", "status": "Alive", "type": "" }, "meta": { "cached": false, "endpoint": "character", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "rickandmorty", "requestId": "req_2Xb9kQ…", "units": 1 } }
location
GET
/v1/rickandmorty/locationOne location: its type, dimension and number of residents.
scope social:read1 unitcached 1 h
Parameters
idstring required | Location id, such as 3. e.g. 3 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
dimension | string |
id | string |
name | string |
residentCount | integer (int64) |
type | string |
curl "https://api.hoshime.com/v1/rickandmorty/location?id=3" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rickandmorty/location?id=3", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rickandmorty/location?id=3", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "dimension": "unknown", "id": "3", "name": "Citadel of Ricks", "residentCount": 101, "type": "Space station" }, "meta": { "cached": false, "endpoint": "location", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "rickandmorty", "requestId": "req_2Xb9kQ…", "units": 1 } }
episodes
GET
/v1/rickandmorty/episodesEpisodes, 20 per page, optionally filtered by a part of the title.
scope social:read1 unitcached 1 hpaginated
Parameters
namestring | Part of the episode title, such as pilot. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
airDate | string |
characterCount | integer (int64) |
characterIds | string[] |
code | string |
id | string |
name | string |
curl "https://api.hoshime.com/v1/rickandmorty/episodes" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rickandmorty/episodes", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rickandmorty/episodes", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "airDate": "2013-12-02", "characterCount": 19, "characterIds": [ "1", "2" ], "code": "S01E01", "id": "1", "name": "Pilot" }, { "airDate": "2013-12-09", "characterCount": 19, "characterIds": [ "1", "2" ], "code": "S01E02", "id": "2", "name": "Lawnmower Dog" } ], "meta": { "cached": false, "endpoint": "episodes", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "rickandmorty", "requestId": "req_2Xb9kQ…", "units": 1 } }
episode
GET
/v1/rickandmorty/episodeOne episode by its id, with its air date, code and the ids of the characters in it.
scope social:read1 unitcached 24 h
Parameters
idinteger required | Episode id, such as 1. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
airDate | string |
characterCount | integer (int64) |
characterIds | string[] |
code | string |
id | string |
name | string |
curl "https://api.hoshime.com/v1/rickandmorty/episode?id=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rickandmorty/episode?id=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rickandmorty/episode?id=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "airDate": "2013-12-02", "characterCount": 19, "characterIds": [ "1", "2" ], "code": "S01E01", "id": "1", "name": "Pilot" }, "meta": { "cached": false, "endpoint": "episode", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "rickandmorty", "requestId": "req_2Xb9kQ…", "units": 1 } }
locations
GET
/v1/rickandmorty/locationsLocations, 20 per page, optionally filtered by name, type or dimension.
scope social:read1 unitcached 1 hpaginated
Parameters
namestring | Part of the location name, such as earth. |
typestring | Part of the location type, such as planet. e.g. planet |
dimensionstring | Part of the dimension name, such as dimension c-137. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
dimension | string |
id | string |
name | string |
residentCount | integer (int64) |
type | string |
curl "https://api.hoshime.com/v1/rickandmorty/locations?type=planet" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rickandmorty/locations?type=planet", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rickandmorty/locations?type=planet", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "dimension": "Dimension C-137", "id": "1", "name": "Earth (C-137)", "residentCount": 27, "type": "Planet" }, { "dimension": "unknown", "id": "4", "name": "Worldender's lair", "residentCount": 9, "type": "Planet" } ], "meta": { "cached": false, "endpoint": "locations", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "rickandmorty", "requestId": "req_2Xb9kQ…", "units": 1 } }