Not all those who wander are lost.
- text
- Not all those who wander are lost.
- authorName
- J.R.R. Tolkien
- source
- The Fellowship of the Ring
- category
- Adventure
- createdAt
Overview
quotes / #9
Request
curl example
curl -sS \ "https://example-data.com/api/v1/quotes/9" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/quotes/9" ); 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/9"
);
const quote = (await res.json()) as Quote; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/quotes/9"
)
quote = res.json() Response
{
"id": 9,
"text": "Not all those who wander are lost.",
"authorName": "J.R.R. Tolkien",
"source": "The Fellowship of the Ring",
"category": "Adventure",
"createdAt": "2025-07-31T23:35:04.602Z"
}