<div dir="ltr"><span style="font-size:12.8px">Hello,</span><div style="font-size:12.8px"><br>While testing code for my internship, I <i>may</i> have overloaded your REST API. <br>As a result, I suppose, I have been getting a 403 response. (HTTPError: 403 Client Error: Forbidden, "You are submitting far too many requests and have been temporarily forbidden access to the service. Wait and retry with a maximum of 15 requests per second." -<a href="https://github.com/Ensembl/ensembl-rest/wiki/HTTP-Response-Codes" target="_blank">https://github.com/Ensembl/ensembl-rest/wiki/HTTP-Response-Codes</a>)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">While trying to figure out how long my access would be restricted, I stumbled across HTTP Headers, which Ensembl REST supposedly provides. (<a href="https://github.com/Ensembl/ensembl-rest/wiki/HTTP-Headers" target="_blank">https://github.com/Ensembl/ensembl-rest/wiki/HTTP-Headers</a>)</div><div style="font-size:12.8px">I have tried the following python code, but it doesn't provide any of the 'special' extras, as the waiting time or number of calls left.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><font face="monospace, monospace">server = "<a href="http://rest.ensembl.org/" target="_blank">http://rest.ensembl.org</a>"<br></font></div><div style="font-size:12.8px"><div><font face="monospace, monospace">site = server + ext.format(rsid=variant, downloadoption=option)</font></div><div><font face="monospace, monospace">r = requests.get(site, headers={"Content-Type": "application/json"})</font></div></div><div style="font-size:12.8px"><font face="monospace, monospace">print(r.headers)</font><br></div><div style="font-size:12.8px"><font face="monospace, monospace" color="#444444">> CaseInsensitiveDict({'connection': 'close', 'content-type': 'text/html', 'cache-control': 'no-cache'})</font></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">My questions are: How long will my access to the Ensembl REST API be restricted & How can I check X-RateLimit-Limit, X-RateLimit-Reset, X-RateLimit-Period, X-RateLimit-Remaining myself?</div><div style="font-size:12.8px">Hoping to hear from you soon.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">With kind regards,</div><div style="font-size:12.8px">Melissa van Wieringen,</div><div style="font-size:12.8px">Intern at Omnigen.</div></div>