403 error using API via python gql

Hi, a few weeks ago I used the API (through python) to access variant info for a number of genes. I’ve recently rerun the script for a new set of genes, but I get a 403 error from the server. I’ve tried again using the simple python example on the site, and I get a similar problem. The API works fine either through a browser (firefox) or using curl on the command line.

Do you have any idea what might be causing this?

Thanks

Version info: python 3.13.2 with gql 4.0.0 (latest)

Thank you for reaching out. We temporarily blocked all Python requests to our API for performance reasons, which caused the 403 errors you observed.

We have unblocked your IP address, so you should be able to access the API again. Note that your access will be rate limited to 10 requests per minute as per our documentation.

Fantastic, that’s working for me now. Thanks!

Hi,

we are experiencing the same issue, which is blocking for our pipelines.

Do you know when the API endpoint will be programmatically accessible again? And if not, would it be possible to have access to it?

we use the gnomAD API to calculate allele frequencies for a some tens-hundreds mutation for selected genes at a time

thank you

Continuing the discussion from 403 error using API via python gql:

Dear Katherine,

I am experiencing the same issue. I also use a Python script that queries the gnomAD API, and for the past week it has been returning a 403 error.

Do you know how long the API will remain blocked? Is there any alternative way to access the data in the meantime?

Thanks in advance.

Best regards,
Nacho

1 Like