This is an example API proxied via Zuplo - these docs are generated based on the gateway configuration. Full credit to the original and upstream API, which is available at rickandmortyapi.com.
The source for the gateway is available on GitHub here.
To use this API: 1) visit the pricing page from the top menu , 2) subscribe to any plan using a fake credit card like 4242 4242 4242 4242
and any expire date and CVC and 3) copy your API key and start using the API.
https://rickandmorty.zuplo.io
You can access the list of characters by using the /characters
endpoint. Pagination is supported via the ?page=2
querystring. You can also filter the results using the name
, status
, species
, type
and gender
query parameters.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
page
Pagination index
name
filter by the given name
status
filter by the status, one of dead
, alive
or unknown
species
filter by the species
type
filter by the given type
gender
filter by the given gender (female, male, genderless or unknown)
1
You can get a single character by ID, or multiple by adding an array of ids as parameter: /characters/[1,2,3]
or /characters/1,2,3
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
characterId
A single numeric ID or multiple IDs, e.g. [1,2,3]
or 1,2
1
You can access the list of locations by using the /locations
endpoint.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
page
Pagination index
name
filter by the given name
type
filter by the type
dimension
filter by the dimension
1
You can get a single location by ID, or multiple by adding an array of ids as parameter: /locations/[1,2,3]
or /locations/1,2,3
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
locationId
A single numeric ID or multiple IDs, e.g. [1,2,3]
or 1,2
1
You can access the list of episodes by using the /episodes
endpoint.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
page
Pagination index
name
filter by the given name
1
You can get a single episode by ID, or multiple by adding an array of ids as parameter: /episodes/[1,2,3]
or /episodes/1,2,3
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
episodeId
A single numeric ID or multiple IDs, e.g. [1,2,3]
or 1,2
1
Returns the OpenAPI file of this API.
1