> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# GTEx Portal

> The Genotype-Tissue Expression project's API: gene expression across human tissues, eQTLs and eGenes, tissue and reference-gene metadata.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/_default.svg?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=951f11a0968af0d8747e234a1ec1f32c)

[Web Catalog · Science](https://docs.webrouter.net/data-apis.md?category=science)

No key needed

Endpoints

8

Auth

None

[Vendor docs](https://gtexportal.org/api/v2/redoc)

## Notes

* Free and keyless.
* Expression and eQTL calls take versioned GENCODE ids (ENSG00000065613.9), not gene symbols: resolve a symbol with reference.gene or genes.search first.
* List parameters (gencodeId, tissueSiteDetailId, variantId) are sent as repeated query keys.
* Paging is 0-based: page=0 is the first page, itemsPerPage defaults to 250. Without datasetId the latest GTEx release is used.

## Endpoints

GET

Search genes

Genes that partly or fully match a symbol, GENCODE id or Ensembl id.

[Open](#gtex-genes-search)

GET

Get reference genes

Reference gene records for gene symbols or GENCODE ids.

[Open](#gtex-reference-gene)

GET

Get median gene expression by tissue

Median expression of genes in each tissue, for one dataset.

[Open](#gtex-expression-median)

GET

Get sample-level gene expression

Normalized expression of genes per sample, by tissue, optionally split by donor sex or age bracket.

[Open](#gtex-expression-samples)

GET

List top expressed genes in a tissue

Genes with the highest median expression in one tissue, optionally excluding mitochondrial genes.

[Open](#gtex-expression-top)

GET

Get significant single-tissue eQTLs

Precomputed significant eQTLs, filtered by gene, variant, tissue or dataset.

[Open](#gtex-eqtl-single-tissue)

GET

List eGenes

Genes with at least one significant cis-eQTL, with allelic fold change, p-value, threshold and q-value, optionally by tissue.

[Open](#gtex-eqtl-egenes)

GET

List tissues

Every tissue site detail record in a dataset, with the ids other calls take.

[Open](#gtex-tissues-list)

### Search genes

GET

`/api/v2/reference/geneSearch`

`gtex.genes.search`

Genes that partly or fully match a symbol, GENCODE id or Ensembl id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`geneId` required</td><td>string</td><td>query</td><td>A gene symbol, GENCODE id or Ensembl id, or part of one. Example `BRCA`</td></tr>
    <tr><td>`gencodeVersion`</td><td>string</td><td>query</td><td>GENCODE release; v26 by default. One of `v47`, `v39`, `v26`, `v19`</td></tr>
    <tr><td>`genomeBuild`</td><td>string</td><td>query</td><td>Genome build; GRCh38/hg38 by default. One of `GRCh38/hg38`, `GRCh37/hg19`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0-based page.
      </td>
    </tr>

    <tr>
      <td>
        `itemsPerPage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page; 250 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://gtexportal.org/api/v2/redoc#tag/Reference-Genome-Endpoints/operation/get_gene_search_api_v2_reference_geneSearch_get)

```python Python theme={null}
router.call_data_api("gtex.genes.search", {'geneId': 'BRCA'})
```

```text MCP theme={null}
call_data_api(endpoint="gtex.genes.search", params={"geneId": "BRCA"})
```

### Get reference genes

GET

`/api/v2/reference/gene`

`gtex.reference.gene`

Reference gene records for gene symbols or GENCODE ids.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`geneId` required</td><td>array</td><td>query</td><td>Gene symbols, versioned or unversioned GENCODE ids. Example `["BRCA1"]`</td></tr>
    <tr><td>`gencodeVersion`</td><td>string</td><td>query</td><td>GENCODE release; v26 by default. One of `v47`, `v39`, `v26`, `v19`</td></tr>
    <tr><td>`genomeBuild`</td><td>string</td><td>query</td><td>Genome build; GRCh38/hg38 by default. One of `GRCh38/hg38`, `GRCh37/hg19`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0-based page.
      </td>
    </tr>

    <tr>
      <td>
        `itemsPerPage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page; 250 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://gtexportal.org/api/v2/redoc#tag/Reference-Genome-Endpoints/operation/get_genes_api_v2_reference_gene_get)

```python Python theme={null}
router.call_data_api("gtex.reference.gene", {'geneId': ['BRCA1']})
```

```text MCP theme={null}
call_data_api(endpoint="gtex.reference.gene", params={"geneId": ["BRCA1"]})
```

### Get median gene expression by tissue

GET

`/api/v2/expression/medianGeneExpression`

`gtex.expression.median`

Median expression of genes in each tissue, for one dataset.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`gencodeId` required</td><td>array</td><td>query</td><td>Versioned GENCODE ids. Example `["ENSG00000065613.9"]`</td></tr>
    <tr><td>`datasetId`</td><td>string</td><td>query</td><td>Dataset; gtex\_v10 by default. One of `gtex_v8`, `gtex_snrnaseq_pilot`, `gtex_v10`, `gtex_v11`</td></tr>

    <tr>
      <td>
        `tissueSiteDetailId`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Tissue ids (GTEx ids such as Adipose\_Subcutaneous, or ontology ids); all tissues when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0-based page.
      </td>
    </tr>

    <tr>
      <td>
        `itemsPerPage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page; 250 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://gtexportal.org/api/v2/redoc#tag/Expression-Data-Endpoints/operation/get_median_gene_expression_api_v2_expression_medianGeneExpression_get)

```python Python theme={null}
router.call_data_api("gtex.expression.median", {'gencodeId': ['ENSG00000065613.9']})
```

```text MCP theme={null}
call_data_api(endpoint="gtex.expression.median", params={"gencodeId": ["ENSG00000065613.9"]})
```

### Get sample-level gene expression

GET

`/api/v2/expression/geneExpression`

`gtex.expression.samples`

Normalized expression of genes per sample, by tissue, optionally split by donor sex or age bracket.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `gencodeId`

        required
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Versioned GENCODE ids.
      </td>
    </tr>

    <tr><td>`datasetId`</td><td>string</td><td>query</td><td>Dataset; gtex\_v10 by default. One of `gtex_v8`, `gtex_snrnaseq_pilot`, `gtex_v10`, `gtex_v11`, `dgtex_v1`</td></tr>

    <tr>
      <td>
        `tissueSiteDetailId`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Tissue ids.
      </td>
    </tr>

    <tr><td>`attributeSubset`</td><td>string</td><td>query</td><td>Donor attribute to subset the data by. One of `sex`, `ageBracket`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0-based page.
      </td>
    </tr>

    <tr>
      <td>
        `itemsPerPage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page; 250 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://gtexportal.org/api/v2/redoc#tag/Expression-Data-Endpoints/operation/get_gene_expression_api_v2_expression_geneExpression_get)

### List top expressed genes in a tissue

GET

`/api/v2/expression/topExpressedGene`

`gtex.expression.top`

Genes with the highest median expression in one tissue, optionally excluding mitochondrial genes.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`tissueSiteDetailId` required</td><td>string</td><td>query</td><td>One tissue id. Example `Liver`</td></tr>
    <tr><td>`datasetId`</td><td>string</td><td>query</td><td>Dataset; gtex\_v10 by default. One of `gtex_v8`, `gtex_snrnaseq_pilot`, `gtex_v10`, `gtex_v11`</td></tr>

    <tr>
      <td>
        `filterMtGene`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Exclude mitochondrial genes; true by default.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0-based page.
      </td>
    </tr>

    <tr>
      <td>
        `itemsPerPage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page; 250 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://gtexportal.org/api/v2/redoc#tag/Expression-Data-Endpoints/operation/get_top_expressed_genes_api_v2_expression_topExpressedGene_get)

```python Python theme={null}
router.call_data_api("gtex.expression.top", {'tissueSiteDetailId': 'Liver'})
```

```text MCP theme={null}
call_data_api(endpoint="gtex.expression.top", params={"tissueSiteDetailId": "Liver"})
```

### Get significant single-tissue eQTLs

GET

`/api/v2/association/singleTissueEqtl`

`gtex.eqtl.single_tissue`

Precomputed significant eQTLs, filtered by gene, variant, tissue or dataset.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `gencodeId`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Versioned GENCODE ids.
      </td>
    </tr>

    <tr>
      <td>
        `variantId`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        GTEx variant ids.
      </td>
    </tr>

    <tr>
      <td>
        `tissueSiteDetailId`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Tissue ids.
      </td>
    </tr>

    <tr><td>`datasetId`</td><td>string</td><td>query</td><td>Dataset; gtex\_v10 by default. One of `gtex_v8`, `gtex_snrnaseq_pilot`, `gtex_v10`, `gtex_v11`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0-based page.
      </td>
    </tr>

    <tr>
      <td>
        `itemsPerPage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page; 250 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://gtexportal.org/api/v2/redoc#tag/Static-Association-Endpoints/operation/get_significant_single_tissue_eqtls_api_v2_association_singleTissueEqtl_get)

```python Python theme={null}
router.call_data_api("gtex.eqtl.single_tissue")
```

```text MCP theme={null}
call_data_api(endpoint="gtex.eqtl.single_tissue")
```

### List eGenes

GET

`/api/v2/association/egene`

`gtex.eqtl.egenes`

Genes with at least one significant cis-eQTL, with allelic fold change, p-value, threshold and q-value, optionally by tissue.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `tissueSiteDetailId`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Tissue ids.
      </td>
    </tr>

    <tr><td>`datasetId`</td><td>string</td><td>query</td><td>Dataset; gtex\_v10 by default. One of `gtex_v8`, `gtex_snrnaseq_pilot`, `gtex_v10`, `gtex_v11`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0-based page.
      </td>
    </tr>

    <tr>
      <td>
        `itemsPerPage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page; 250 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://gtexportal.org/api/v2/redoc#tag/Static-Association-Endpoints/operation/get_eqtl_genes_api_v2_association_egene_get)

```python Python theme={null}
router.call_data_api("gtex.eqtl.egenes")
```

```text MCP theme={null}
call_data_api(endpoint="gtex.eqtl.egenes")
```

> [!NOTE]
>
> * log2AllelicFoldChange is the allelic fold change, in log2 scale, of the gene's most significant eQTL.

### List tissues

GET

`/api/v2/dataset/tissueSiteDetail`

`gtex.tissues.list`

Every tissue site detail record in a dataset, with the ids other calls take.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`datasetId`</td><td>string</td><td>query</td><td>Dataset; gtex\_v10 by default. One of `gtex_v8`, `gtex_snrnaseq_pilot`, `gtex_v10`, `gtex_v11`, `dgtex_v1`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0-based page.
      </td>
    </tr>

    <tr>
      <td>
        `itemsPerPage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page; 250 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://gtexportal.org/api/v2/redoc#tag/Datasets-Endpoints/operation/get_tissue_site_detail_api_v2_dataset_tissueSiteDetail_get)

```python Python theme={null}
router.call_data_api("gtex.tissues.list")
```

```text MCP theme={null}
call_data_api(endpoint="gtex.tissues.list")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.