Rick and Morty API (by Zuplo)
The Rick and Morty API (via a Zuplo Gateway)

Characters

Endpoint:https://rickandmorty.zuplo.io

Get all characters

GET
https://rickandmorty.zuplo.io
/v1/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.

Get all characters query Parameters

  • namestring · required

    filter by the given name

  • pagenumber

    Pagination index

  • statusstring

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

  • speciesstring

    filter by the species

  • typestring

    filter by the given type

  • genderstring

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

Get all characters Headers

  • Authorizationstring · required

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

Get all characters Responses

OK Response

  • infoobject · required
    Example: {"count":826,"pages":42,"next":"https://rickandmorty.zuplo.io/v1/characters/?page=2","prev":null}
    Default: {}
  • resultsobject[] · required
    Example: {"0":{"id":1,"name":"Rick Sanchez","status":"Alive","species":"Human","type":"","gender":"Male","origin":{"name":"Earth","url":"https://rickandmorty.zuplo.io/v1/locations/1"},"location":{"name":"Earth","url":"https://rickandmorty.zuplo.io/v1/locations/20"},"image":"https://rickandmorty.zuplo.io/v1/characters/avatar/1.jpeg","episode":["https://rickandmorty.zuplo.io/v1/episode/1","https://rickandmorty.zuplo.io/v1/episode/2"],"url":"https://rickandmorty.zuplo.io/v1/characters/1","created":"2017-11-04T18:48:46.250Z"}}
    Default: []

Get a characters by ID(s)

GET
https://rickandmorty.zuplo.io
/v1/characters/:characterId

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

Get a characters by ID(s)path Parameters

  • characterIdstring

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

Get a characters by ID(s)Headers

  • Authorizationstring · required

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

Get a characters by ID(s) Responses

test

  • idinteger · required
    Example: 2
    Default: 0
  • namestring · required
    Example: Morty Smith
    Default:
  • statusstring · required
    Example: Alive
    Default:
  • speciesstring · required
    Example: Human
    Default:
  • typestring · required
    Example:
    Default:
  • genderstring · required
    Example: Male
    Default:
  • originobject · required
    Example: {"name":"Earth","url":"https://rickandmorty.zuplo.io/v1/location/1"}
    Default: {}
  • locationobject · required
    Example: {"name":"Earth","url":"https://rickandmorty.zuplo.io/v1/location/20"}
    Default: {}
  • imagestring · required
    Example: https://rickandmorty.zuplo.io/v1/characters/avatar/2.jpeg
    Default:
  • episodestring[] · required
    Example: {"0":"https://rickandmorty.zuplo.io/v1/episodes/1","1":"https://rickandmorty.zuplo.io/v1/episodes/2"}
    Default: []
  • urlstring · required
    Example: https://rickandmorty.zuplo.io/v1/characters/2
    Default:
  • createdstring · required
    Example: 2017-11-04T18:50:21.651Z
    Default: