Postman Collection
Unit Tests
Character schema
Get all characters
Get a single character
Get multiple characters
Filter characters
Key | Type | Description |
---|---|---|
id | int | The id of the character. |
name | string | The name of the character. |
status | string | The status of the character ('Alive', 'Dead' or 'unknown'). |
species | string | The species of the character. |
type | string | The type or subspecies of the character. |
gender | string | The gender of the character ('Female', 'Male', 'Genderless' or 'unknown'). |
origin | object | Name and link to the character's origin location. |
location | object | Name and link to the character's last known location endpoint. |
image | string (url) | Link to the character's image. All images are 300x300px and most are medium shots or portraits since they are intended to be used as avatars. |
episode | array (urls) | List of episodes in which this character appeared. |
url | string (url) | Link to the character's own URL endpoint. |
created | string | Time at which the character was created in the database. |
You can access the list of characters by using the /character endpoint.
[
{
"id": 703,
"name": "Rick Sanchez",
"status": "Alive",
"species": "Human",
"type": "",
"gender": "Male",
"last_location": "Citadel of Ricks",
"first_see": "Earth (C-137)",
"image": "https://rmapi.online/character/avatar/1.jpeg",
}
]
[
{
"id": 706,
"name": "Beth Smith",
"status": "Alive",
"species": "Human",
"type": "",
"gender": "Female",
"last_location": "Earth (Replacement Dimension)",
"first_see": "Earth (Replacement Dimension)",
"image": "https://rmapi.online/character/avatar/4.jpeg",
}
]
[
{
"id": 703,
"name": "Rick Sanchez",
"status": "Alive",
"species": "Human",
"type": "",
"gender": "Male",
"last_location": "Citadel of Ricks",
"first_see": "Earth (C-137)",
"image": "https://rmapi.online/character/avatar/1.jpeg",
} ,
{
"id": 718,
"name": "Amish Cyborg",
"status": "Dead",
"species": "Alien",
"type": "",
"gender": "Male",
"last_location": "Earth (Replacement Dimension)",
"first_see": "unknown",
"image": "https://rmapi.online/character/avatar/16.jpeg",
} ,
]
[
{
"id": 703,
"name": "Rick Sanchez",
"status": "Alive",
"species": "Human",
"type": "",
"gender": "Male",
"last_location": "Citadel of Ricks",
"first_see": "Earth (C-137)",
"image": "https://rmapi.online/character/avatar/1.jpeg",
} ,
]
Key | Type | Description |
---|---|---|
id | int | The id of the character. |
name | string | The name of the character. |
type | string | The type or subspecies of the character. |
dimension | string | The dimension in which the location is located. |
residents | array (urls) | List of character who have been last seen in the location. |
url | string (url) | Link to the location's own endpoint. |
You can access the list of characters by using the /location endpoint.
[
{
"location_id": 1,
"name": "Earth (C-137)",
"type": "Planet",
"dimension": "Dimension C-137",
"residents": " [
https://rmapi.online/character/38,
https://rmapi.online/character/45,
// ...
]",
"url": "https://rmapi.online/location/1",
}
]
[
{
"location_id": 1,
"name": "Earth (C-137)",
"type": "Planet",
"dimension": "Dimension C-137",
"residents": " [
https://rmapi.online/character/38,
https://rmapi.online/character/45,
// ...
"url": "https://rmapi.online/location/1",
} ,
{
"location_id": 16,
"name": "St. Gloopy Noops Hospital",
"type": "Space station",
"dimension": "unknown",
"residents": " [
https://rmapi.online/character/105,
https://rmapi.online/character/263,
// ...
"url": "https://rmapi.online/location/1",
} ,
]
You can get multiple location by adding an array of id as parameter: /multiLocation/1,2
[
{
"location_id": 1,
"name": "Earth (C-137)",
"type": "Planet",
"dimension": "Dimension C-137",
"residents": " [
https://rmapi.online/character/38,
https://rmapi.online/character/45,
// ...
"url": "https://rmapi.online/episode/1",
}
{
"episode_id": 2,
"name": "Abadango",
"air_date": "Cluster",
"episode": "unknown",
"characters": " [
https://rmapi.online/character/6,
https://rmapi.online/character/4,
// ...
"url": "https://rmapi.online/episode/2",
}
]
Key | Type | Description |
---|---|---|
episode_id | int | The id of the episode. |
name | string | The name of the episode. |
air_date | string | The air date of the episode. |
episode | string | The code of the episode. |
characters | array (urls) | List of characters who have been seen in the episode. |
url | string (url) | Link to the episode's own endpoint. |
You can access the list of episodes by using the /episode endpoint.
[
{
"episode_id": 2,
"name": "Lawnmower Dog",
"air_date": "December 9, 2013",
"episode": "S01E02",
"characters": " [
https://rmapi.online/character/46,
https://rmapi.online/character/63,
// ...
"url": "https://rmapi.online/episode/2",
}
]
You can get a single episode by adding the id as a parameter: /episode/5 endpoint.
[
{
"episode_id": 5,
"name": "Meeseeks and Destroy",
"air_date": "January 20, 2014",
"episode": "S01E05",
"characters": " [
https://rmapi.online/character/2,
https://rmapi.online/character/38,
// ...
"url": "https://rmapi.online/episode/5",
}
]
You can get multiple episodes by adding an array of id as parameter: /multiEpisode/1,2,3
[
{
"episode_id": 14,
"name": "Auto Erotic Assimilation",
"air_date": "August 9, 2015",
"episode": "S02E03",
"characters": " [
https://rmapi.online/character/336,
https://rmapi.online/character/355,
// ...
"url": "https://rmapi.online/episode/14",
}
{
"episode_id": 16,
"name": "Get Schwifty",
"air_date": "August 23, 2015",
"episode": "S02E05",
"characters": " [
https://rmapi.online/character/1,
https://rmapi.online/character/4,
// ...
"url": "https://rmapi.online/episode/16",
}
]