Skip to content

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/charactersCharacters, 20 per page, optionally filtered by name.
GET/rickandmorty/characterOne character: species, status, origin, last location and episode count.
GET/rickandmorty/locationOne location: its type, dimension and number of residents.
GET/rickandmorty/episodesEpisodes, 20 per page, optionally filtered by a part of the title.
GET/rickandmorty/episodeOne episode by its id, with its air date, code and the ids of the characters in it.
GET/rickandmorty/locationsLocations, 20 per page, optionally filtered by name, type or dimension.

characters

GET/v1/rickandmorty/characters

Characters, 20 per page, optionally filtered by name.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
Part of a character name, such as rick.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
episodeCountinteger (int64)
genderstring
idstring
imagestring
locationstring
namestring
originstring
speciesstring
statusstring
typestring
curl "https://api.hoshime.com/v1/rickandmorty/characters" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/character

One character: species, status, origin, last location and episode count.

scope social:read1 unitcached 1 h

Parameters

id
string
required
Character id, such as 1.
e.g. 1
tunnel
string
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.
proxy
string
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.
profileId
string
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
episodeCountinteger (int64)
genderstring
idstring
imagestring
locationstring
namestring
originstring
speciesstring
statusstring
typestring
curl "https://api.hoshime.com/v1/rickandmorty/character?id=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/location

One location: its type, dimension and number of residents.

scope social:read1 unitcached 1 h

Parameters

id
string
required
Location id, such as 3.
e.g. 3
tunnel
string
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.
proxy
string
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.
profileId
string
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
dimensionstring
idstring
namestring
residentCountinteger (int64)
typestring
curl "https://api.hoshime.com/v1/rickandmorty/location?id=3" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/episodes

Episodes, 20 per page, optionally filtered by a part of the title.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
Part of the episode title, such as pilot.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
airDatestring
characterCountinteger (int64)
characterIdsstring[]
codestring
idstring
namestring
curl "https://api.hoshime.com/v1/rickandmorty/episodes" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/episode

One episode by its id, with its air date, code and the ids of the characters in it.

scope social:read1 unitcached 24 h

Parameters

id
integer
required
Episode id, such as 1.
e.g. 1
tunnel
string
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.
proxy
string
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.
profileId
string
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
airDatestring
characterCountinteger (int64)
characterIdsstring[]
codestring
idstring
namestring
curl "https://api.hoshime.com/v1/rickandmorty/episode?id=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/locations

Locations, 20 per page, optionally filtered by name, type or dimension.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
Part of the location name, such as earth.
type
string
Part of the location type, such as planet.
e.g. planet
dimension
string
Part of the dimension name, such as dimension c-137.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
dimensionstring
idstring
namestring
residentCountinteger (int64)
typestring
curl "https://api.hoshime.com/v1/rickandmorty/locations?type=planet" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open