Statistics on limits V4 (SerpstatLimitsProcedure.getStats)
SerpstatLimitsProcedure.getStats — method for checking the number of available and used daily API and Serpstat extension credits.
Credits for this method are not used.
Response metrics:
Parameter | Description | Value |
---|---|---|
max_lines |
Max number of API credits available per day | int |
used_lines |
Number of API credits used for the current day | int |
left_lines |
Number of available API credits for the current day | int |
user_info | API User Information | json object |
user_id |
User ID in Serpstat | int |
plugin_limits |
Serpstat extension API credits information | json object |
delayBetweenRequests |
Number of Serpstat extension API requests per second | int |
hasApiPlugin |
Availability of access to the Serpstat extension API: |
bool |
total | The number of credits per day for the Serpstat extension API | int |
used | The number of used credits for the current day to the extension API | int |
left | The number of remaining credits for the current day to the extension API | int |
{
"id": {{any_num_or_string}},
"method": "SerpstatLimitsProcedure.getStats"
}
{
"id": {{your_num_or_string}},
"result": {
"data": {
"max_lines": 555,
"used_lines": 404,
"left_lines": 151,
"user_info": {
"user_id": "1",
"ga_client_Id": "391666102.1549874148"
},
"plugin_limits": {
"delayBetweenRequests": 0,
"hasApiPlugin": true,
"total": 5,
"used": 0,
"left": 5
}
},
"summary_info": {
"left_lines": 151
}
}
}