Blogs

Tools

Quick Links

Mridul.tech

Home/Breaking Bad API/Quotes Endpoint

Quotes Endpoint

Get memorable quotes from Breaking Bad and Better Call Saul with author and series information.

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

Get memorable quotes from Breaking Bad and Better Call Saul with author and series information.

Overview

This endpoint provides access to a curated collection of memorable quotes from both Breaking Bad and Better Call Saul. Each quote includes the text, author (character), and source series information.

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
  • Filter by series (Breaking Bad or Better Call Saul)
  • Pagination support with limit and offset
  • Over 100 memorable quotes available

Query Parameters

ParameterTypeRequiredDescriptionExample
authorstringOptional
Filter quotes by character name (case insensitive)
Default: Default: All authors
Walter White

Example Requests

Get all quotes

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

Get Walter White quotes

GET https://api.mridul.tech/api/breaking-bad/quotes?author=Walter White

Code Examples

JavaScript (Fetch)

fetch("https://api.mridul.tech/api/breaking-bad/quotes?author=Walter White")
  .then((response) => response.json())
  .then((data) => {
    console.log(`Found ${data.count} quotes`);
    data.data.forEach((quote) => {
      console.log(`"${quote.quote}" - ${quote.author}`);
    });
  });

Python (requests)

import requests

response = requests.get('https://api.mridul.tech/api/breaking-bad/quotes?author=Walter White')
data = response.json()

print(f"Found {data['count']} quotes")
for quote in data['data']:
  print(f'"{quote["quote"]}" - {quote["author"]}')

cURL

curl "GET https://api.mridul.tech/api/breaking-bad/quotes?author=Walter White"

Response Format

Success Response (200)

{
  "success": true,
  "data": [
    {
      "quote": "You clearly don’t know who you’re talking to, so let me clue you in. 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",
      "id": 1
    },
    {
      "quote": "All the things that I did, you need to understand... I did it for me. I liked it. I was good at it. I was alive.",
      "author": "Walter White",
      "series": "Breaking Bad",
      "id": 2
    },
    {
      "quote": "If you don’t know who I am, then maybe your best course would be to tread lightly.",
      "author": "Walter White",
      "series": "Breaking Bad",
      "id": 5
    }
  ]
}

Response Fields

FieldTypeDescription
quoteintegerThe actual quote text
idintigerUnique quote identifier
authorstringCharacter who said the quote
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