v1

latestOpenAPI 3.1.02026-07-177053.0 KB
Characters

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.

get/v1/characters

Query parameters

pagenumber

Pagination index

namestring required
Example:Rick

filter by the given name

statusstring
Example:alive

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

speciesstring
Example:Human

filter by the species

typestring

filter by the given type

genderstring
Example:male

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

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

OK Response

Example response

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