<p><a href="http://rest.ensembl.org/documentation/info/overlap_region" rel="nofollow noreferrer">REST API overlap region endpoint</a>. <a href="https://rest.ensembl.org/overlap/region/human/11:108290588-108290689?feature=variation;content-type=application/json" rel="nofollow noreferrer">For example</a>.</p>

CC BY-SA 4.0
2021-07-09T07:38:00.247Z
Thats exaclty what I need! Thanks Emily!
Cowboy_Patrick
CC BY-SA 4.0
2021-07-09T07:19:21.663Z
2021-07-09T07:19:21.663Z
Emily_Ensembl
<p>I want to get all the variants (SNPs) in a given region of the human genome. Is there a way on how to do this with the ensembl-API? It should be a representation similar to this: <a href="https://i.sstatic.net/HChBc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HChBc.png" alt="enter image description here" /></a></p>
<p>There I added dbSNP to the region details. Having this data in a JSON or XML-Format would be really helpful! <a href="http://www.ensembl.org/Homo_sapiens/Location/View?db=core;r=11:108290588-108290689;source=dbSNP;v=rs1491549802;vdb=variation;vf=595960779;time=1625753581" rel="nofollow noreferrer">Here</a>'s the link to the image.</p>
<p>Edit: I know that the export-function on ensembl is a thing. But then I only get the rs-Numbers. To get all the info I need I would have to run (potentially thousands) all the rs-Numbers through some additional API. Getting that info in bulk right away would be a huge time-saver.</p>

<ensembl><variation><api>
Getting all variants in a region from ensembl
# Getting all variants in a region from ensembl

(Asked by: username_0 on 2021-07-09)

I want to get all the variants (SNPs) in a given region of the human genome. Is there a way on how to do this with the ensembl-API? It should be a representation similar to this: [![enter image description here](https://i.sstatic.net/HChBc.png)](https://i.sstatic.net/HChBc.png)

There I added dbSNP to the region details. Having this data in a JSON or XML-Format would be really helpful! [Here](http://www.ensembl.org/Homo_sapiens/Location/View?db=core;r=11:108290588-108290689;source=dbSNP;v=rs1491549802;vdb=variation;vf=595960779;time=1625753581)'s the link to the image.

Edit: I know that the export-function on ensembl is a thing. But then I only get the rs-Numbers. To get all the info I need I would have to run (potentially thousands) all the rs-Numbers through some additional API. Getting that info in bulk right away would be a huge time-saver.

**Tags:** ensembl, variation, api

---

## 1 answers

### Answer by username_1 on 2021-07-09. Score: 1 | Accepted answer

[REST API overlap region endpoint](http://rest.ensembl.org/documentation/info/overlap_region). [For example](https://rest.ensembl.org/overlap/region/human/11:108290588-108290689?feature=variation;content-type=application/json).

> **Comments:**
> **username_0**: Thats exaclty what I need! Thanks Emily!  

---

