# 403 error using API via python gql

**URL:** <https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807>\
**Category:** Browser\
**Created:** [February 27, 2026, 4:09pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807 "2026-02-27T16:09:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![malcolm](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@malcolm](https://discuss.gnomad.broadinstitute.org/u/malcolm)\
**Post date:** [February 27, 2026, 4:09pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807/1 "2026-02-27T16:09:13Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![kchao](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.gnomad.broadinstitute.org/kchao/32/6_2.png) [@kchao](https://discuss.gnomad.broadinstitute.org/u/kchao)\
**Post date:** [February 27, 2026, 4:51pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807/2 "2026-02-27T16:51:59Z")

</div>

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](https://gnomad.broadinstitute.org/data#api).

---

<div class="post-metadata">

**Author:** ![malcolm](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@malcolm](https://discuss.gnomad.broadinstitute.org/u/malcolm)\
**Post date:** [March 2, 2026, 3:46pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807/3 "2026-03-02T15:46:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Matteo\_Tiberti](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.gnomad.broadinstitute.org/matteo_tiberti/32/341_2.png) [@Matteo\_Tiberti](https://discuss.gnomad.broadinstitute.org/u/Matteo_Tiberti)\
**Post date:** [March 4, 2026, 12:44pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807/4 "2026-03-04T12:44:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nacho](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@Nacho](https://discuss.gnomad.broadinstitute.org/u/Nacho)\
**Post date:** [March 4, 2026, 4:55pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807/5 "2026-03-04T16:55:32Z")

</div>

Continuing the discussion from [403 error using API via python gql](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807):

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

---

<div class="post-metadata">

**Author:** ![Matteo\_Tiberti](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.gnomad.broadinstitute.org/matteo_tiberti/32/341_2.png) [@Matteo\_Tiberti](https://discuss.gnomad.broadinstitute.org/u/Matteo_Tiberti)\
**Post date:** [March 10, 2026, 12:52pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807/6 "2026-03-10T12:52:11Z")

</div>

@kchao just to bring this to your attention - we will need to act soon on this issue, as it is blocking our data production at the moment.

Thanks!

---

<div class="post-metadata">

**Author:** ![kchao](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.gnomad.broadinstitute.org/kchao/32/6_2.png) [@kchao](https://discuss.gnomad.broadinstitute.org/u/kchao)\
**Post date:** [March 12, 2026, 8:16pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807/7 "2026-03-12T20:16:37Z")

</div>

@Nacho @Matteo_Tiberti The team removed the temporarily block on Python requests to the API. As above, all access to the API is rate limited to 10 requests per minute.

Are you both still experiencing issues accessing the API? If yes, another way to access gnomAD data is via our [downloadable files](https://gnomad.broadinstitute.org/data).

---

<div class="post-metadata">

**Author:** ![Nacho](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@Nacho](https://discuss.gnomad.broadinstitute.org/u/Nacho)\
**Post date:** [March 12, 2026, 9:40pm UTC](https://discuss.gnomad.broadinstitute.org/t/403-error-using-api-via-python-gql/807/8 "2026-03-12T21:40:20Z")

</div>

Thanks, it works again!
