> For the complete documentation index, see [llms.txt](https://docs.millioncloud.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.millioncloud.org/public-api/million-quotes.md).

# Million Quotes

{% hint style="warning" %}
Features aren't implemented yet. Next release will come soon !
{% endhint %}

## Get a Random quote for Million Token

<mark style="color:blue;">`GET`</mark> `https://api.millioncloud.org/quotes/random`

This endpoint allows you to get free cakes.

#### Query Parameters

| Name | Type    | Description                                                  |
| ---- | ------- | ------------------------------------------------------------ |
| all  | boolean | <p>Get all the quotes data columns.<br>Default is false.</p> |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{   
    "id": "iu29UEoeu2e3",
    "slug": "million-to-the-moon",
    "quote": "Million to the moon !",
    "webUrl": "https://milliontoken.cloud/quotes/million-to-the-moon",
    "apiUrl": "https://milliontoken.cloud/quotes/million-to-the-moon"
}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
{
    "message": "Ain't no quotes here !" 
}
```

{% endtab %}
{% endtabs %}

## Get a Quote by Slug

<mark style="color:blue;">`GET`</mark> `https://api.millioncloud.org/quotes/:slug`

#### Path Parameters

| Name | Type   | Description         |
| ---- | ------ | ------------------- |
| slug | string | Get a Quote by slug |

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

```
```

{% endtab %}
{% endtabs %}

## Get a Quote by ID

<mark style="color:blue;">`GET`</mark> `https://api.millioncloud.org/quotes/:id`

#### Path Parameters

| Name | Type   | Description       |
| ---- | ------ | ----------------- |
|      | string | Get a Quote by ID |

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

```
```

{% endtab %}
{% endtabs %}

## Get Quotes List

<mark style="color:blue;">`GET`</mark> `https://api.millioncloud.org/quotes`

#### Query Parameters

| Name     | Type   | Description                                                  |
| -------- | ------ | ------------------------------------------------------------ |
| sort\_by | string | text, length, author, created\_at, source                    |
| order    | string | asc or desc                                                  |
| limit    | string | <p>Set the number of requested Quotes.<br>Default is 20.</p> |

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

```
```

{% endtab %}
{% endtabs %}

## Get the quotes authors List

<mark style="color:blue;">`GET`</mark> `https://api.millioncloud.org/quotes/authors`

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

```
```

{% endtab %}
{% endtabs %}

## Get the quotes sources List

<mark style="color:blue;">`GET`</mark> `https://api.millioncloud.org/quotes/sources`

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

```
```

{% endtab %}
{% endtabs %}
