Rate Limits
Each api-key
is limited to 300
requests per minute.
The response header will indicate how many remaining calls are available before your 60-second limit is reached (see x-ratelimit-remaining
).
If your use case involves responding to data changes that originate in Enerflo, please consider replacing polling processes with webhook event subscriptions as a means of reducing the volume of requests you make.
Webhook events do not count towards your rate limits.
{
"response": {
"status_code": 200,
"headers": {
"x-ratelimit-remaining": "295"
}
}
}
{
"status_code": 429,
"headers": {
"date": "Thu, 21 Mar 2024 16:19:04 GMT",
"content-type": "text/html; charset=UTF-8",
"transfer-encoding": "chunked",
"connection": "close",
"server": "nginx/1.20.2",
"x-powered-by": "PHP/7.3.33",
"x-ratelimit-limit": "300",
"x-ratelimit-remaining": "0",
"retry-after": "41",
"x-ratelimit-reset": "1711037985",
"cache-control": "no-cache, private"
},
"response": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>Error</title>\n\n <!-- Fonts -->\n <link href=\"https://fonts.googleapis.com/css?family=Nunito\" rel=\"stylesheet\" type=\"text/css\">\n\n <!-- Styles -->\n <style>\n html, body {\n background-color: #fff;\n color: #636b6f;\n font-family: 'Nunito', sans-serif;\n font-weight: 100;\n height: 100vh;\n margin: 0;\n }\n\n .full-height {\n height: 100vh;\n }\n\n .flex-center {\n align-items: center;\n display: flex;\n justify-content: center;\n }\n\n .position-ref {\n position: relative;\n }\n\n .content {\n text-align: center;\n }\n\n .title {\n font-size: 36px;\n padding: 20px;\n }\n </style>\n </head>\n <body>\n <div class=\"flex-center position-ref full-height\">\n <div class=\"content\">\n <div class=\"title\">\n Too many requests. </div>\n </div>\n </div>\n </body>\n</html>\n",
"message": "API error"
}
Updated 7 months ago