> For the complete documentation index, see [llms.txt](https://celltick-the-start-magazine.gitbook.io/the-start-magazine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://celltick-the-start-magazine.gitbook.io/the-start-magazine/quotes-api.md).

# Quotes API

The Quotes API expose quotes in different languages and categories.

## Get Quotes

<mark style="color:blue;">`GET`</mark> `https://contentapi.celltick.com/mediaApi/v1.0/mid/quotes`

The quotes API will return number of quotes based on request parameters. In case no category is set, quotes of various categories may return. In case limit was not set, only one quote returned. In case limit was set (up to maximum of 10 quotes per request), up to limit number of quotes will be returned.

#### Query Parameters

| Name     | Type    | Description                                                             |
| -------- | ------- | ----------------------------------------------------------------------- |
| limit    | integer | Limits the number of returned content items. Default is 1 max is 10.    |
| category | string  | one category can be set. See API Get Category                           |
| language | string  | 2 letter language code (ISO 639-1) Supported languages: (en) - English  |
| optOut   | boolean | Allowed values are: true/false Mandatory In case of android application |
| aid      | string  | Mandatory In case of android application                                |
| userId   | string  | Source user id (UUID)                                                   |

{% tabs %}
{% tab title="200 " %}

```
{
    "totalItems": 2,
    "content": [
        {
            "contentId": "027bce5b-6761-4b48-b56b-f89faaceb5e4",
            "author": "Algernon Sydney",
            "text": "There may be a hundred thousand men in an army, who are all equally free; but they only are naturally most fit to be commanders or leaders, who most excel in the virtues required for the right performance of those offices.",
            "language": "en",
            "categories": [
                "men",
                "rights",
                "virtues"
            ]
        },
        {
            "contentId": "2a1317d8-a23f-44f5-a3f4-2ba1fa27931b",
            "author": "L. Ron Hubbard",
            "text": "Ideas and not battles mark the forward progress of mankind. Individuals, and not masses, form the culture of the race.",
            "language": "en",
            "categories": [
                "culture",
                "peace",
                "politics",
                "progress",
                "race",
                "war"
            ]
        }
    ]
}
```

{% endtab %}
{% endtabs %}
