v1
latestOpenAPI 3.1.02026-07-177053.0 KBCharacters
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
get/v1/characters/:characterId
Path parameters
characterIdstring required
Example:1
A single numeric ID or multiple IDs, e.g. [1,2,3] or 1,2
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
test
Example response
{
"id": 2,
"name": "Morty Smith",
"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/2.jpeg",
"episode": [
"https://api.rickandmorty.zuplo.io/v1/episodes/1",
"https://api.rickandmorty.zuplo.io/v1/episodes/2"
],
"url": "https://api.rickandmorty.zuplo.io/v1/characters/2",
"created": "2017-11-04T18:50:21.651Z"
}