The Rick and Morty API (via a Zuplo Gateway)

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.

BASE URL
https://rickandmorty.zuplo.io

Authentication

Sign into view and manage your API credentials

Get all characters

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.

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Query Parameters

page

optional, number

Pagination index

name

required, string

filter by the given name

status

optional, string

filter by the status, one of dead, alive or unknown

species

optional, string

filter by the species

type

optional, string

filter by the given type

gender

optional, string

filter by the given gender (female, male, genderless or unknown)

GET
/v1/characters
1

Get a characters by ID(s)

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

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Path Parameters

characterId

string

A single numeric ID or multiple IDs, e.g. [1,2,3] or 1,2

GET
/v1/characters/:characterId
1

Get all locations

You can access the list of locations by using the /locations endpoint.

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Query Parameters

page

optional, number

Pagination index

name

string

filter by the given name

type

string

filter by the type

dimension

string

filter by the dimension

GET
/v1/locations
1

Get locations by ID(s)

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

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Path Parameters

locationId

string

A single numeric ID or multiple IDs, e.g. [1,2,3] or 1,2

GET
/v1/locations/:locationId
1

Get all episodes

You can access the list of episodes by using the /episodes endpoint.

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Query Parameters

page

optional, number

Pagination index

name

string

filter by the given name

GET
/v1/episodes/
1

Get episodes by ID(s)

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

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Path Parameters

episodeId

string

A single numeric ID or multiple IDs, e.g. [1,2,3] or 1,2

GET
/v1/episodes/:episodeId
1

OpenAPI File

Returns the OpenAPI file of this API.

GET
/openapi.json
1