example-data.com
Menu
Browse docs and collections

Overview

quotes / #20

To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.

text
To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.
authorName
Ralph Waldo Emerson
source
category
Inspiration
createdAt

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/quotes/20" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/quotes/20"
);
const quote = 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 } from "./types/quotes";

const res = await fetch(
  "https://example-data.com/api/v1/quotes/20"
);
const quote = (await res.json()) as Quote;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/quotes/20"
)
quote = res.json()

Response

{
  "id": 20,
  "text": "To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.",
  "authorName": "Ralph Waldo Emerson",
  "source": null,
  "category": "Inspiration",
  "createdAt": "2025-12-24T20:25:15.703Z"
}