example-data.com
Menu
Browse docs and collections

quotes

quotes

Browse 200 quotes records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.

Overview

Cards

Compact

Detailed

Be the change that you wish to see in the world.

text
Be the change that you wish to see in the world.
authorName
Mahatma Gandhi
source
category
Inspiration
createdAt

Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.

text
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.
authorName
Albert Einstein
source
category
Humor
createdAt

In the middle of difficulty lies opportunity.

text
In the middle of difficulty lies opportunity.
authorName
Albert Einstein
source
category
Motivation
createdAt

Whether you think you can, or you think you can't — you're right.

text
Whether you think you can, or you think you can't — you're right.
authorName
Henry Ford
source
category
Mindset
createdAt

The only way to do great work is to love what you do.

text
The only way to do great work is to love what you do.
authorName
Steve Jobs
source
Stanford Commencement 2005
category
Work
createdAt

Life is what happens when you're busy making other plans.

text
Life is what happens when you're busy making other plans.
authorName
John Lennon
source
Beautiful Boy
category
Life
createdAt

Showing first 6 of 24 on this page.

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/quotes?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/quotes?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/quotes.d.ts https://example-data.com/types/quotes.d.ts
import type { Quote, ListEnvelope } from "./types/quotes";

const res = await fetch(
  "https://example-data.com/api/v1/quotes?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Quote>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/quotes",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 1,
      "text": "Be the change that you wish to see in the world.",
      "authorName": "Mahatma Gandhi",
      "source": null,
      "category": "Inspiration",
      "createdAt": "2025-03-23T18:12:43.329Z"
    },
    {
      "id": 2,
      "text": "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.",
      "authorName": "Albert Einstein",
      "source": null,
      "category": "Humor",
      "createdAt": "2025-03-11T19:49:33.074Z"
    },
    {
      "id": 3,
      "text": "In the middle of difficulty lies opportunity.",
      "authorName": "Albert Einstein",
      "source": null,
      "category": "Motivation",
      "createdAt": "2025-09-13T12:56:43.995Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 200,
    "totalPages": 8
  },
  "links": {
    "self": "/api/v1/quotes?page=1",
    "first": "/api/v1/quotes?page=1",
    "last": "/api/v1/quotes?page=8",
    "next": "/api/v1/quotes?page=2",
    "prev": null
  }
}

View full response →