# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.millioncloud.org/public-api/million-quotes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
