Open Platform
Skip to content

Retrieve Monthly Request Count. ​

https://cnapi.ttlock.com/app/getMonthRequestCount

Query the application's interface request count for the current month. The month is determined based on Beijing Time (UTC+8).

1 Request example ​

POST, ContentType:application/x-www-form-urlencoded

javascript
curl --location -g --request POST 'https://cnapi.ttlock.com/app/getMonthRequestCount' \
--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \
--data-urlencode 'clientSecret=dfd5489d0cee31f0bdfaf59d0d42d71f'

2 Request parameters ​

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token

3 Response and example ​

ParameterTypeDescription
monthRequestCountlongMonthly Request Count
{
    "monthRequestCount": 23423
}
CopyRight © 2012-2026 TTLock.All Rights Reserved