API: AccountInfo

The AccountInfo API call returns the current status of your API account.

API request

https://api.dnslytics.net/v1/accountinfo?apikey=<apikey>

API response

A JSON object with the following fields:

status

Status of API call: succeed or error.

typeinfo

Data type returned, always ‘accountinfo’.

apicredits

Current API balance.

apilimits

Daily API HTTP call limit. If you want to increase this limit you can open a support ticket (https://dnslytics.com/support).

apicalls

Number of HTTP calls today.

Example

$ https://api.dnslytics.net/v1/accountinfo?apikey=<apikey>
{
        "status": "succeed",
        "data":
        {
                "typeinfo": "accountinfo",
                "apicredits": 145638,
                "apilimits": 15000,
                "apicalls": 255
        }
}