# Our API

{% hint style="warning" %}
As of 27/12/2023, **\~96,543** users will be affected by an update to our player logins data. This update fixes issues with duplicated logout\_times. Thus fixing people's playtime being very high. You can check the complete list of affected IDs [here](https://okayge.xyz/temp/affected_ids_list.txt). If you think your playtime is still wrong after this change, report it [here](https://okayge.xyz/report/bugs?referedfrom=update_notification).
{% endhint %}

Our API is a RESTful API built on Express.js, designed to provide access to essential data for internal tools and external users. The API offers real-time information, including details about online administrators, staff members, and more. Please note that the API is currently in Beta and is open to everyone without the need for an API key or token during this phase. However, authentication requirements will be enforced as the API progresses toward production.\
\
Even though the API is classed as "**open**", no personal information is either stored or publicly viewable without it first being in the public domain. This means things like TruckersMP information is viewable. &#x20;


---

# 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.okayge.xyz/api/our-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.
