Sign in

Account

Methods of the “Account” group. On the right — a request and response example for each.

Who am I

GET/v1/me/
0 unitsall plans, including “API.Max Test”

Who you are for the API: the key’s user and organization, paid products, API plan, request limits per period (30 days from payment) and per second, used and remaining requests, remaining request packs. The organization balance is shown only to the owner’s key, read-only. The method is free (0 units): handy for checking the key and what’s left.

Response fields

FieldTypeDescription
idnumberuser ID
emailstringEmail of the key owner
organizationstringName of the organization the key belongs to
organization_idnumberOrganization number in datool.ru
productslistPaid products: max, tg, vk, dzen, com, collector, api_max (API.Max), all (the all-in-one subscription)
api_keystringMasked key used for this request
api_tariffstringThe organization’s API plan, e.g. “API.Max Start”
requests_periodnumber or nullRequests per period (30 days from payment) on the plan; null — by contract
requests_per_secondnumber or nullRequests per second on the plan; null — by contract
period_startdate and timeStart of the current limit period (ISO 8601, Moscow time): every 30 days from plan payment
period_enddate and timeEnd of the current period (ISO 8601, Moscow time) — the limit renews then
used_periodnumberUnits used this period
remaining_periodnumber or nullUnits left this period; null — unlimited
packs_leftnumberLeft in request packs — used after the plan limit
limits_enforcedyes / noWhether limits restrict requests (enabled together with API plan sales)
balancestring or nullOrganization balance in rubles — only for the owner’s key, otherwise null

Errors

CodecodeWhen
401not_authenticated / authentication_failedNo key, the key is wrong or revoked, the member is suspended or the key’s organization is archived.
429rate_limited / throttledToo often — more requests per second than your plan allows; how long to wait is in the Retry-After header.

The error format, limit headers and what to do about each error are in the article “Errors”.

Was this page helpful?

You are leaving datool.ru

The link leads to an external website. datool.ru is not responsible for its content — check the address before entering passwords or payment details.

Redirecting in 10 s

Continue