# Welcome

Welcome to EcoNuker's API!

Auth tokens are optional unless specified otherwise.

There is a BETA version of the API. In order to access this API, replace [`https://econuker.xyz/api`](https://econuker.xyz/api) with [`https://beta.econuker.xyz/api`](https://beta.econuker.xyz/api/)

Here's a list of available data on the API. Extra Beta routes can be found here (soonTM).

* Items
* Servers
* Bot Information
* Auth Tokens

### Basic Routes

## Ping

<mark style="color:blue;">`GET`</mark> `https://econuker.xyz/api/ping`

Check if the bot is online!\
Returns 200, any other response means something's wrong.

{% tabs %}
{% tab title="200: OK Everything is fine." %}
Returns plain text:

`Pong`
{% 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.econuker.xyz/welcome.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.
