API QuotaSystem

From Webhosting24 Wiki

<sidebar>

</sidebar>

System Usage Restrictions[edit]

To increase the security and save availability of our network resources, HEXONET users are only allowed to send a limited amount of API requests in a short time period. To regulate the amount of allowed requests we use a quota system, which regulates the API connection by using quota points.

Commands adding quota points[edit]

Currently, the following commands will add quota points to the user account of the user executing them:

  • CheckDomainApplication: 1 point


Soft and hard quota marks[edit]

Every HEXONET account has a

  • soft quota mark (300 points by default)
  • hard quota mark (500 points by default)


If the soft quota mark is reached, the system responses will get a delay of 5 seconds. That means that the response time is slowed down so that the user recognizes that he may sent too many requests within a short time.

If an account reached the hard quota mark, the account will get temporarily locked and the system will respond "Service temporarily locked; usage exceeded". Further API requests will not be accepted and will be answered with this message, although they keep increasing the quota points!

Reducing quota points[edit]

The collected quota points will get reduced automatically by the system. Every 60 seconds, the quota amount will get multiplied by 0.8, meaning that your quota point amount gets reduced by 20% every minute.

Quota related XIRCA user relations[edit]

The following XIRCA user relations exist to use the quota system:

quota for domain related commands:[edit]
SERVICE_USAGE_DOMAINREGISTRY_HARDQUOTA = (INTEGER)
SERVICE_USAGE_DOMAINREGISTRY_SOFTQUOTA = (INTEGER)
common system quota (currently not used):[edit]
SERVICE_USAGE_SYSTEM_HARDQUOTA = (INTEGER)
SERVICE_USAGE_SYSTEM_SOFTQUOTA = (INTEGER)

Note regarding abuse[edit]

Please note that while these numbers are guides, our Terms of Service still apply: https://www.hexonet.net/legal/service-agreements.