> For the complete documentation index, see [llms.txt](https://docs.hidemyacc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hidemyacc.com/hidemyacc-3.0-features/hidemyacc-3.0-api/user-api/query-account-information.md).

# Query account information

### **Profile Information**

```
GET http://127.0.0.1:2268/me
```

### Example

* Curl example

```
curl -X GET http://127.0.0.1:2268/me
```

* Javascript example

```
const hidemyacc = new Hidemyacc();
const response = await hidemyacc.me();
```

### <mark style="background-color:yellow;">Success response</mark>

**Success response - `Success 200`**

| Name                | Type     | Description                                                       |
| ------------------- | -------- | ----------------------------------------------------------------- |
| data                | `Object` | User information                                                  |
| data.id             | `String` | Id Account                                                        |
| data.email          | `email`  | Email Address                                                     |
| data.profiles       | `Number` | Number of current profiles of the user                            |
| data.plan           | `Object` | Information about the subscription plan that the account is using |
| data.planexpireDate | `Date`   | Expiration date                                                   |
| data.coins          | `Number` | Number of coins                                                   |

### <mark style="background-color:yellow;">Success response example</mark>

**Success response example - `Success-Example`**

```
Status code: 200 OK
{
    "code": 1,
    "data": {
        "id": "45670ff0cc42f1cb4a717d28",
        "email": "hidemyacc@gmail.com",
        "profiles": 128,
        "plan": "Business",
        "planExpireDate": "2024-06-28T08:20:46.402Z",
        "coins": 0
    }
}

```

### <mark style="background-color:yellow;">Error response</mark>

**Error response - `Error 4xx`**

<table><thead><tr><th width="200.33333333333331">Name</th><th width="199">Type</th><th>Description</th></tr></thead><tbody><tr><td>402</td><td></td><td>API supported from Team plan</td></tr></tbody></table>

### <mark style="background-color:yellow;">Error response example</mark>

**Error response example - `Response (example):`**

```
Status code 402: Payment required
{
    "code": 0
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.hidemyacc.com/hidemyacc-3.0-features/hidemyacc-3.0-api/user-api/query-account-information.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
