<p>The <a href="http://rest.ensembl.org/documentation/info/lookup" rel="nofollow noreferrer">lookup/id endpoint</a> will get it for you. Of you can just look up the three letter species code, in this case MOD, <a href="http://www.ensembl.org/info/genome/stable_ids/index.html" rel="nofollow noreferrer">on the list in the documentation</a>.</p>

CC BY-SA 4.0
2019-09-26T18:21:38.250Z
I made a script that uses the list in the documentation. The lookup returns me almost always that: {"error":"Expand option only available for Genes and Transcripts"} Thanks.
juanjo75es
CC BY-SA 4.0
2019-09-26T07:47:36.923Z
2019-09-26T07:47:36.923Z
Emily_Ensembl
<p>I have downloaded some orthologues from ensembl website in fasta format. The problem is that it uses the ensembl sequence id as name for the sequences. I want to know the species name or any other information about the sequence (chromosome, location...) For example for this sequence id: ENSMODP00000018933. How can I do that? I have been looking at the REST API but the most I can find is an API call for getting the sequence passing the id as parameter.
<a href="https://rest.ensembl.org/documentation/info/sequence_id" rel="nofollow noreferrer">https://rest.ensembl.org/documentation/info/sequence_id</a>
I have also tried this API call but does not work for sequence ids:
<a href="https://rest.ensembl.org/documentation/info/xref_id" rel="nofollow noreferrer">https://rest.ensembl.org/documentation/info/xref_id</a></p>

CC BY-SA 4.0
2019-09-26T15:20:41.200Z
Use efetch for NCBI
M__
<ensembl><api><orthologues>
Getting species from ensembl sequence id
# Getting species from ensembl sequence id

(Asked by: username_0 on 2019-09-25)

I have downloaded some orthologues from ensembl website in fasta format. The problem is that it uses the ensembl sequence id as name for the sequences. I want to know the species name or any other information about the sequence (chromosome, location...) For example for this sequence id: ENSMODP00000018933. How can I do that? I have been looking at the REST API but the most I can find is an API call for getting the sequence passing the id as parameter.
<https://rest.ensembl.org/documentation/info/sequence_id>
I have also tried this API call but does not work for sequence ids:
<https://rest.ensembl.org/documentation/info/xref_id>

**Tags:** ensembl, api, orthologues
> **Comments:**
> **username_1**: Use efetch for NCBI  

---

## 1 answers

### Answer by username_2 on 2019-09-26. Score: 4 | Accepted answer

The [lookup/id endpoint](http://rest.ensembl.org/documentation/info/lookup) will get it for you. Of you can just look up the three letter species code, in this case MOD, [on the list in the documentation](http://www.ensembl.org/info/genome/stable_ids/index.html).

> **Comments:**
> **username_0**: I made a script that uses the list in the documentation. The lookup returns me almost always that: {"error":"Expand option only available for Genes and Transcripts"} Thanks.  

---

