Blogs

Tools

Quick Links

Mridul.tech

Home/Breaking Bad API/Single Quote Endpoint

Single Quote Endpoint

Get a specific memorable quote from Breaking Bad or Better Call Saul using its unique ID.

get
https://api.mridul.tech/api/breaking-bad/quotes/{id}

Get a specific memorable quote from Breaking Bad or Better Call Saul using its unique ID.

Overview

This endpoint returns detailed information about a specific quote from either Breaking Bad or Better Call Saul. Quote IDs range from 1 to 102, covering memorable quotes from both series.

Rate Limiting

2000 requests per 24 hours per IP address

Breaking Bad Quotes

  • Iconic Walter White quotes
  • Jesse Pinkman's memorable lines
  • Supporting character quotes

Features

  • Filter quotes by character/author
  • Over 100 memorable quotes available

Quote Collection

  • Quotes from major and supporting characters
  • Character-defining and plot-significant quotes

Query Parameters

ParameterTypeRequiredDescriptionExample
idintegerRequired
Unique quote ID (1-86)
1

Example Requests

Get famous Walter White quote (ID: 1)

GET https://api.mridul.tech/api/breaking-bad/quotes/1

Get Jesse Pinkman quote (ID: 4)

GET https://api.mridul.tech/api/breaking-bad/quotes/2

Code Examples

JavaScript (Fetch)

const quoteId = 1;
fetch(`https://api.mridul.tech/api/breaking-bad/quotes/${quoteId}`)
  .then((response) => response.json())
  .then((data) => {
    if (data.success) {
      const quote = data.data;
      console.log(`"${quote.quote}" - ${quote.author} (${quote.series})`);
    }
  });

Python (requests)

import requests

quote_id = 1
response = requests.get(f"https://api.mridul.tech/api/breaking-bad/quotes/{quote_id}")
data = response.json()

if data["success"]:
  quote = data["data"]
  print(f'"{quote["quote"]}" - {quote["author"]} ({quote["series"]})')

cURL

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

Response Format

Success Response (200)

{
  "success": true,
  "data": {
    "quote_id": 1,
    "quote": "I am not in danger, Skyler. I AM the danger! A guy opens his door and gets shot, and you think that of me? No! I am the one who knocks!",
    "author": "Walter White",
    "series": "Breaking Bad"
  }
}

Response Fields

FieldTypeDescription
quoteintegerThe actual quote text
idstringUnique quote identifier
authorstringCharacter who said the quote
seriesstringSeries name (Breaking Bad or Better Call Saul)

Error Response (400/404/429/500)

{
  "success": false,
  "error": "Quote not found",
  "statusCode": 404
}

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