{id}: Get a single character

API: rickandmortyapi.com:rick-and-morty
Endpoint: /character/{id}
Response format: application/json
Auth: unknown
Method: GET
Last Status: 200
Latency: 158ms

Description

Returns a single character object with attributes like name, species, status, gender, origin, current location, and a list of episodes they appear in. Use this when you need complete details about a specific character.

From spec: Returns a specific character by their ID.

Usage Tips

- Character IDs start at 1 - Returns 404 if the character ID does not exist - The episode field contains URLs to all episodes the character appears in - Image URL provides a direct link to the character's avatar

Parameters (1)

id (integer, path, required)

The ID of the character

Examples (1)

Get Rick Sanchez (main protagonist) by ID probe-gate

Demonstrates fetching the main character Rick Sanchez using ID 1 to show the complete character data structure.

curl 'https://rickandmortyapi.com/api/character/1'
import requests

resp = requests.get("https://rickandmortyapi.com/api/character/1")
data = resp.json()
import zingu_apis

api = zingu_apis.api("rickandmortyapi")
result = api.fetch("character/{id}")

for item in result:
    print(item)
const resp = await fetch("https://rickandmortyapi.com/api/character/1");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 02:06:44.000493 200 158ms
2026-04-15 00:04:11.167262 200 150ms
2026-04-14 03:33:26.337487 200 233ms
2026-04-12 15:29:48.186541 200 164ms
2026-04-10 06:44:20.302119 200 78ms
2026-04-09 00:15:06.980868 200 155ms