Random Quotes API
Usage Guide
Get random quotes with our powerful API. Here's how to get started:
Basic Usage
https://placehold.cloud/q
This request will return a random quote from the Quotable API.
Response Format
{ "status": "success", "data": [ { "_id": "IARxwjpiXK", "content": "I had three chairs in my house; one for solitude, two for friendship, three for society.", "author": "Henry David Thoreau", "tags": [ "Friendship" ], "authorSlug": "henry-david-thoreau", "length": 88, "dateAdded": "2019-08-08", "dateModified": "2023-04-14" } ], "timestamp": "YYYY-MM-DD HH:MM:SS" }
Rate Limiting
To ensure fair usage, this API is rate-limited. Please adhere to the following limits:
- 5 requests per second
- 3600 requests per hour
Error Handling
In case of an error, the API will return a JSON response with an error message:
{ "status": "error", "message": "An error occurred while fetching the quote" }