---
title: "Get information about all entered accounts."
method: POST
path: "/api/get_accounts"
tags: ["pyLoad REST"]
---

# Get information about all entered accounts.

`POST /api/get_accounts`

Get information about all entered accounts.

## Query parameters

- `refresh` boolean, required

## Response `200`

list of `AccountInfo`

- AccountInfo[]
  - `validuntil` number, float, nullable
  - `login` string, required
  - `options` object, required
  - `valid` boolean, required
  - `trafficleft` integer, nullable
  - `premium` boolean, required
  - `type` string, required

## Changes

- **2025-11-12** `182fa2fca2cb` — 2 breaking
  - response property `items/trafficleft` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - the `items/validuntil` response's property type/format changed from ``/`float` to ``/`` for status `200`
- **2025-08-24** `c3888dcf76d7` — 3 breaking, 1 info
  - the response property `items/trafficleft` became optional for the status `200`
  - the response property `items/validuntil` became optional for the status `200`
  - response property `items/validuntil` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - added `subschema #1, subschema #2` to the `items/trafficleft` response property `anyOf` list for the response status `200`
- **2025-08-16** `69c54d77eed4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pyload/apis/pyload-api-documentation-openapi/changes/api/get_accounts/post.md)

---

[API](https://skmtc.dev/pyload/apis/pyload-api-documentation-openapi.md) · [All operations](https://skmtc.dev/pyload/apis/pyload-api-documentation-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pyload/pyload-api-documentation-openapi/revisions/182fa2fca2cb/schema)
