v1

latestOpenAPI 3.1.02026-07-177053.0 KB
Episodes

Get all episodes

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

get/v1/episodes/

Query parameters

pagenumber
Example:1

Pagination index

namestring
Example:Pilot

filter by the given name

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.

Response

200 OK

Example response

{
  "info": {
    "count": 51,
    "pages": 3,
    "next": "https://api.rickandmorty.zuplo.io/v1/episodes?page=2",
    "prev": null
  },
  "results": [
    {
      "id": 1,
      "name": "Pilot",
      "air_date": "December 2, 2013",
      "episode": "S01E01",
      "characters": [
        "https://api.rickandmorty.zuplo.io/v1/characters/1",
        "https://api.rickandmorty.zuplo.io/v1/characters/2"
      ],
      "url": "https://api.rickandmorty.zuplo.io/v1/episodes/1",
      "created": "2017-11-10T12:56:33.798Z"
    }
  ]
}