Get detailed information about a specific character death from Breaking Bad using its unique ID.
https://api.mridul.tech/api/breaking-bad/deaths/{id}
Get detailed information about a specific character death from Breaking Bad using its unique ID.
This endpoint returns detailed information about a specific character death from the Breaking Bad series. Death IDs range from 1 to 65, covering the major character deaths throughout the show.
2000 requests per 24 hours per IP address
This endpoint contains information about character deaths and may include spoilers for the Breaking Bad series.
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
id | integer | Required | Unique death ID (1-65) | 1 |
GET https://api.mridul.tech/api/breaking-bad/deaths/1
GET https://api.mridul.tech/api/breaking-bad/deaths/2
const deathId = 1;
fetch(`https://api.mridul.tech/api/breaking-bad/deaths/${deathId}`)
.then((response) => response.json())
.then((data) => {
if (data.success) {
const death = data.data;
console.log(
`${death.death} died from ${death.cause} in S${death.season}E${death.episode}`
);
console.log(`Responsible: ${death.responsible}`);
console.log(`Last words: "${death.last_words}"`);
}
});
import requests
death_id = 1
try:
response = requests.get(f'https://api.mridul.tech/api/breaking-bad/deaths/{death_id}')
if response.status_code == 200:
data = response.json()
if data['success']:
death = data['data']
print(f"{death['death']} died from {death['cause']} in S{death['season']}E{death['episode']}")
print(f"Responsible: {death['responsible']}")
print(f'Last words: "{death["last_words"]}"')
else:
print("API returned success: false")
else:
print(f"Error: {response.status_code}")
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
except KeyError as e:
print(f"Missing key in response: {e}")
except Exception as e:
print(f"An error occurred: {e}")
curl "https://api.mridul.tech/api/breaking-bad/deaths/1"
{
"success": true,
"data": {
"death_id": 1,
"death": "Emilio Koyama",
"cause": "Phosphine poisoning",
"responsible": "Walter White",
"last_words": "No, no, no, no!",
"season": 1,
"episode": 1,
"number_of_deaths": 1
}
}
Field | Type | Description |
---|---|---|
id | string | Unique quote identifier |
death | integer | Name of the victim |
cause | string | Cause or method of death |
responsible | string | Character responsible for the death |
last_words | string | Final words spoken by the victim |
season | string | Season number where death occurred |
series | string | Series name (Breaking Bad or Better Call Saul) |
{
"success": false,
"error": "Death not found",
"statusCode": 404
}
{
"success": false,
"error": "Invalid death ID format",
"statusCode": 400
}
Contact Me ☎️
Discuss A Project Or Just Want To Say Hi?
My Inbox Is Open For All.
Connect with me on Social Media