Koniat
DonateLogin

List of Quotes API

The Quotes List endpoint retrieves a paginated collection of inspirational quotes from the Koniat platform. It supports filtering by authors, themes, categories, and languages, allowing applications to retrieve only the quotes relevant to their users.

Multiple filter values can be supplied as comma-separated IDs, making it easy to fetch quotes that match one or more criteria in a single request.

Purpose

The Quotes List endpoint provides a flexible and efficient way to retrieve quote collections. It enables developers to build powerful browsing, searching, and filtering experiences while minimizing the number of API requests.

Authentication

This endpoint is protected and requires a valid Bearer Access Token.

Include the access token in the request header.

Authorization: Bearer YOUR_ACCESS_TOKEN

Requests without a valid access token will be rejected.

Endpoint

GET

Request Headers

HeaderRequiredDescription
AuthorizationYesBearer Access Token obtained from the Authentication API.
AcceptYesapplication/json

Query Parameters

ParameterTypeRequiredDescription
searchStringNoComma-separated author IDs. Example: 1,5,8.
orderStringNo
sortByStringNo
pageStringNo
limitStringNo

Multiple filters can be combined within the same request.

API Request

curl-G"https://api.koniat.com/Api/Gateway/Quote/List"\
-H"Accept: application/json"\
-H"Authorization: Bearer GENERATED_ACCESSTOKEN"\
--data-urlencode"search: search keywords goes here"\
--data-urlencode"order: asc"\
--data-urlencode"sortBy: name"\
--data-urlencode"page: 1"\
--data-urlencode"limit: 20"

Expected Output

{
  "status": 200,
  "type": "RFC reference URL",
  "title": "Success",
  "dateTime": "UTC Datetime string",
  "detail": "Reason?"
}

Data Credibility

All quotes available through the Koniat API are curated and maintained to ensure:

  • High-quality inspirational content
  • Accurate author attribution
  • Consistent themes and categories
  • Reliable multilingual support
  • Well-structured metadata
  • Regular content updates

The API is designed to provide dependable data suitable for production applications.

Key Features

  • Retrieve paginated quote collections
  • Filter by multiple authors
  • Filter by multiple themes
  • Filter by multiple categories
  • Filter by multiple languages
  • Combine multiple filters in a single request
  • Lightweight JSON responses
  • Secure Bearer Token authentication
  • Consistent response structure
  • RESTful API design
  • Optimized for high-performance applications

Error Handling

The endpoint returns standard HTTP status codes.

HTTP StatusDescription
200Quotes retrieved successfully.
400Invalid request parameters.
401Unauthorized or invalid access token.
403Access forbidden.
404No matching quotes found.
429Too many requests.
500Internal server error.

Best Practices

  • Combine filters to retrieve only the data your application requires.
  • Pass multiple IDs as comma-separated values to minimize API requests.
  • Use pagination when displaying large quote collections.
  • Cache frequently requested data where appropriate.
  • Always include a valid Bearer Access Token.
  • Handle empty result sets gracefully when no quotes match the supplied filters.

Common Use Cases

The Quotes List endpoint is ideal for:

  • Quote browsing pages
  • Search and discovery interfaces
  • Motivation and wellness applications
  • Daily inspiration feeds
  • Educational platforms
  • Content management systems
  • Mobile and web applications
  • Personalized quote recommendations
  • Advanced filtering and search experiences

Next Step

If you need a single featured quote that refreshes daily, use the Quote of the Day endpoint.