Issue categories statistics

getCategoriesStatistic — this method brings in statistics by issue categories.

Request parameters
Parameters Value Description
id any number or string A request id: the response contains the same id. Enter any number (number) or text (string) value
method getCategoriesStatistic API method name
params {...} / [...] The object with parameters {...}, it lists all the following parameters and arrays [...]
reportId integer Report id


Response parameters
Parameters Description
id Request id
result Contains the answer
category Category name
highCount Number of high priority errors
mediumCount Numbers of medium priority errors
lowCount Numbers of low priority errors
InformationCount Number of information messages

Credits for this method are not deducted.

Request data:
 "method": "AuditSite.getCategoriesStatistic",
Response data:
    "id": "1",
    "result": [
            "category": "pages_status",
            "highCount": 9,
            "mediumCount": 0,
            "lowCount": 0,
            "informationCount": 0
            "category": "meta_tags",
            "highCount": 93,
            "mediumCount": 1023,
            "lowCount": 119,
            "informationCount": 4

Exception if a user doesn't have access to the report:

    "id": "1",
    "error": {
        "code": -32101,
        "message": "This project report not found in DB",
        "data": {

Share this article with your friends

Are you sure?

Introducing Serpstat

Find out about the main features of the service in a convenient way for you!

Please send a request, and our specialist will offer you education options: a personal demonstration, a trial period, or materials for self-study and increasing expertise — everything for a comfortable start to work with Serpstat.




We are glad of your comment
I agree to Serpstat`s Privacy Policy.

Thank you, we have saved your new mailing settings.

Open support chat