GETGet Quote By Id
https://quotes.dataandapis.com/v1/quotes/{id}
Path parameters
| Parameter | Example | |
|---|---|---|
| id | 10 | Required |
Example request
curl "https://quotes.dataandapis.com/v1/quotes/10" \
-H "X-Api-Key: YOUR_API_KEY"// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.quotes.getQuoteById({ id: 10 });{
"quoteId": 10,
"quote": "I always show loyalty to the people who gave me a chance from the get-go, and Cincinnati gave me that chance.",
"keyWords": [
"chance",
"loyalty",
"me",
"people",
"always"
],
"relatedTopics": [
"cincinnati",
"gave",
"show",
"who"
],
"author": {
"authorId": 35,
"name": "A. J. Green",
"country": "American",
"profession": "Football Player",
"born": "July 31, 1988",
"died": null
}
}



