# Amara API

{% hint style="info" %}
**Good to know:** With the Revenue Plugin you can sell ranks, kits and in-game items!
{% endhint %}

## API Integrations

cake

{% tabs %}
{% tab title="JavaScript" %}
Here is an example of how this works... okay!?

<pre class="language-json"><code class="lang-json"><strong>{
</strong><strong>    "id": "1234"
</strong><strong>    "type": "activeMembersRequest"
</strong><strong>    "data": {
</strong><strong>        "activeMembers": 31
</strong><strong>    }
</strong>}
</code></pre>

```javascript
fetch("").then(response => {
    // Do something with the response here!
});
```

{% endtab %}

{% tab title="PHP" %}
Maecenas faucibus mollis interdum. Donec id elit non mi porta gravida at eget metus. Donec ullamcorper nulla non metus auctor fringilla. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.
{% 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.amarahosting.com/developers/amara-api.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.
