X

Rate Limits

The Stannp API imposes rate limits to prevent misuse and mitigate potential instability caused by large bursts of incoming traffic. The majority of our API's allow up to 300 requests per minute. The specific allowances can be seen in the following three response headers which are returned with every request.


[GET] https://api-us1.stannp.com/v1/users/me

Request

                using RestSharp;

var client = new RestClient("https://api-us1.stannp.com/v1/users/me?api_key={API_KEY}");
var request = new RestRequest(Method.GET);

IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
            

Response

{
    "X-RateLimit-Limit": "200",
    "X-RateLimit-Remaining": "158",
    "X-RateLimit-Reset": "46",
    "...": "..."
}