Blogs

Tools

Quick Links

Mridul.tech

Home/Breaking Bad API/Deaths Endpoint

Deaths Endpoint

Get information about character deaths in Breaking Bad including cause, responsible party, and episode details.

get
https://api.mridul.tech/api/breaking-bad/deaths

Get information about character deaths in Breaking Bad including cause, responsible party, and episode details.

Overview

This endpoint provides information about significant character deaths throughout the Breaking Bad series. Each death entry includes details about the victim, cause of death, who was responsible, last words, and the specific episode where it occurred.

Rate Limiting

2000 requests per 24 hours per IP address

⚠️ Content Warning

This endpoint contains information about character deaths and may include spoilers for the Breaking Bad series.

Death Information Includes

  • Victim name and cause of death
  • Who was responsible for the death
  • Last words spoken by the victim
  • Season and episode information
  • Number of deaths (for mass casualties)

Features

  • Filter by victim name or cause of death
  • Pagination support with limit and offset
  • Comprehensive death database covering major plot deaths

Query Parameters

ParameterTypeRequiredDescriptionExample
namestringOptional
Filter death by character name (case insensitive)
Walter White
seasonintigerOptional
Parameter to filter by season
1

Example Requests

Get all deaths

GET https://api.mridul.tech/api/breaking-bad/deaths

Search for specific victim

GET https://api.mridul.tech/api/breaking-bad/deaths?name=Gus Fring

Code Examples

JavaScript (Fetch)

fetch("https://api.mridul.tech/api/breaking-bad/deaths")
  .then((response) => response.json())
  .then((data) => {
    console.log(`Found ${data.count} deaths`);
    data.data.forEach((death) => {
      console.log(
        `${death.death} - ${death.cause} (S${death.season}E${death.episode})`
      );
    });
  });

Python (requests)

import requests

response = requests.get("https://api.mridul.tech/api/breaking-bad/deaths")
data = response.json()

print(f"Found {data['count']} deaths")
for death in data['data']:
  print(f"{death['death']} - {death['cause']} (S{death['season']}E{death['episode']})")

cURL

curl "GET https://api.mridul.tech/api/breaking-bad/deaths"

Response Format

Success Response (200)

{
  "success": true,
  "count": 11,
  "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
    },
    {
      "death_id": 2,
      "death": "Krazy-8",
      "cause": "Strangulation",
      "responsible": "Walter White",
      "last_words": "Walter... Walter...",
      "season": 1,
      "episode": 3,
      "number_of_deaths": 1
    }
  ]
}

Response Fields

FieldTypeDescription
idstringUnique quote identifier
deathintegerName of the victim
causestringCause or method of death
responsiblestringCharacter responsible for the death
last_wordsstringFinal words spoken by the victim
seasonstringSeason number where death occurred
seriesstringSeries name (Breaking Bad or Better Call Saul)

Error Response (400/404/429/500)

{
  "success": false,
  "error": "Error message description",
  "statusCode": 400
}

Do you want more articles on React, Next.js, Tailwind CSS, and JavaScript?

Subscribe to my newsletter to receive articles straight in your inbox.

If you like my work and want to support me, consider buying me a coffee.

Buy Me A Coffee

Contact Me ☎️

Discuss A Project Or Just Want To Say Hi?
My Inbox Is Open For All.

Mail : contact@mridul.tech

Connect with me on Social Media

Contact Art