Getting Started

Make your first API request

Base URL

https://quotegallery.nl/api

Your First Request

Get a random quote:

curl "https://quotegallery.nl/api/quotes?limit=1&random=true"

Response Format

All successful responses follow this structure:

{
  "success": true,
  "data": [...],
  "count": 1,
  "filters": {
    "limit": 1,
    "language": "all",
    "category": "all",
    "author_id": "all",
    "random": true
  }
}

Error Handling

Errors return an appropriate HTTP status code with details:

{
  "statusCode": 400,
  "statusMessage": "Invalid category. Must be one of: historical, contemporary, ..."
}
Status CodeDescription
400Bad Request - Invalid parameters
429Too Many Requests - Rate limit exceeded
500Internal Server Error

Next Steps