π’ Public APIs
Get a random quote
The API endpoint returns a random quote from a list of quotes.
When accessing this endpoint, you will receive a response containing a randomly selected quote.
get/public/quotes/quote/random
Request
- Base URLhttps://api.freeapi.app/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Get a random quote
Example response
{
"data": {
"author": "Harriet Beecher Stowe",
"authorSlug": "harriet-beecher-stowe",
"content": "Never give up, for that is just the place and time that the tide will turn.",
"dateAdded": "2022-07-06",
"dateModified": "2023-04-14",
"id": 143,
"length": 75,
"tags": [
"Motivational"
]
},
"message": "Quote fetched successfully",
"statusCode": 200,
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.