Get all episodes
GET
https://rickandmorty.zuplo.io
/v1/episodes/
You can access the list of episodes by using the /episodes endpoint.
query Parameters
pagenumberPagination index
namestringfilter by the given name
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
200 OK
infoobject · requiredExample: {"count":51,"pages":3,"next":"https://rickandmorty.zuplo.io/v1/episodes?page=2","prev":null}Default: {}resultsobject[] · requiredExample: {"0":{"id":1,"name":"Pilot","air_date":"December 2, 2013","episode":"S01E01","characters":["https://rickandmorty.zuplo.io/v1/characters/1","https://rickandmorty.zuplo.io/v1/characters/2"],"url":"https://rickandmorty.zuplo.io/v1/episodes/1","created":"2017-11-10T12:56:33.798Z"}}Default: []
Get episodes by ID(s)
GET
https://rickandmorty.zuplo.io
/v1/episodes/:episodeId
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
path Parameters
episodeIdstringA single numeric ID or multiple IDs, e.g.
[1,2,3]or1,2
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
200 OK
idinteger · requiredExample: 28Default: 0namestring · requiredExample: The Ricklantis MixupDefault:air_datestring · requiredExample: September 10, 2017Default:episodestring · requiredExample: S03E07Default:charactersstring[] · requiredExample: {"0":"https://rickandmorty.zuplo.io/v1/characters/1","1":"https://rickandmorty.zuplo.io/v1/characters/2"}Default: []urlstring · requiredExample: https://rickandmorty.zuplo.io/v1/episodes/28Default:createdstring · requiredExample: 2017-11-10T12:56:36.618ZDefault:
