Skip to content

Quotes API

Get inspirational quotes by category, author, or random selection. Perfect for building motivational apps and widgets.

Utility Premium Featured

Overview

Integrate the Quotes API into your applications with ease. This API offers high performance, reliability, and comprehensive documentation to get you started quickly.

Documentation

Base URL

https://devapi.autoplannerx.com/api/v1/quotes-api

Authentication

All requests require an API key. Include it in the request header:

X-API-Key: YOUR_API_KEY

Endpoints

GET /random

Get a random quote

Returns a random inspirational quote.

Example Request:
curl -X GET "https://devapi.autoplannerx.com/api/v1/quotes-api/random" \
  -H "X-API-Key: YOUR_API_KEY"
Example Response:
{
  "quote": "The only way to do great work is to love what you do.",
  "author": "Steve Jobs",
  "category": "motivational"
}
GET /category/{category}

Get quotes by category

Returns a random quote from the specified category. Available categories: motivational, success, wisdom, life, technology.

Example Request:
curl -X GET "https://devapi.autoplannerx.com/api/v1/quotes-api/category/motivational" \
  -H "X-API-Key: YOUR_API_KEY"
Example Response:
{
  "quote": "Success is not final, failure is not fatal...",
  "author": "Winston Churchill",
  "category": "motivational"
}
GET /author/{author}

Get quotes by author

Returns a random quote from the specified author.

Example Request:
curl -X GET "https://devapi.autoplannerx.com/api/v1/quotes-api/author/albert-einstein" \
  -H "X-API-Key: YOUR_API_KEY"

Rate Limits

  • Free Tier: 100 requests per hour
  • Premium Tier: 1,000 requests per hour
  • Enterprise Tier: 10,000 requests per hour

Error Responses

// 401 Unauthorized
{
  "error": true,
  "message": "API Key is missing"
}

// 429 Too Many Requests
{
  "error": true,
  "message": "Rate limit exceeded"
}

// 404 Not Found
{
  "error": true,
  "message": "API not found"
}

Code Examples

Pick an endpoint and a language. Replace YOUR_API_KEY with a key from your dashboard.

GET /random · cURL
curl -X GET "https://devapi.autoplannerx.com/api/v1/quotes-api/random" \
  -H "X-API-Key: YOUR_API_KEY"

Try It

Requests go to the live gateway with your key. They count toward your rate limit and are billed like any other call ($0.0200 per call before account discounts). Your key is only used for this request and is never saved.