---
title: "Get gene counts per chromosome by taxon and annotation name"
method: GET
path: "/gene/taxon/{taxon}/annotation/{annotation_name}/chromosome_summary"
tags: ["Gene"]
---

# Get gene counts per chromosome by taxon and annotation name

`GET /gene/taxon/{taxon}/annotation/{annotation_name}/chromosome_summary`

## Request

- Base URL: `https://api.ncbi.nlm.nih.gov/datasets/v2`
- URL: `https://api.ncbi.nlm.nih.gov/datasets/v2/gene/taxon/{taxon}/annotation/{annotation_name}/chromosome_summary`
- Auth: API key in header `api-key`

Get gene counts per chromosome by taxon and annotation name in JSON format.

## Path parameters

- `taxon` string, required
- `annotation_name` string, required

## Response `200`

A successful response

- V2GeneChromosomeSummaryReply
  - `gene_chromosome_summaries` V2GeneChromosomeSummaryReplyGeneChromosomeSummary[]
    - `name` string
    - `count` integer
    - `accession` string

## Other responses

- `default`: An unexpected error response.

## Changes

- **2025-02-08** `00bdccfc6283`: 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `default`
  - added the media type `text/plain` for the response with the status `default`
- **2023-11-14** `b4da81b65e0a`: 1 info
  - added the optional property `gene_chromosome_summaries/items/accession` to the response with the `200` status

[Operation history](https://skmtc.dev/ncats/apis/ncbi-datasets-api/changes/gene/taxon/:taxon/annotation/:annotation_name/chromosome_summary/get.md)

---

[API](https://skmtc.dev/ncats/apis/ncbi-datasets-api.md) - [All operations](https://skmtc.dev/ncats/apis/ncbi-datasets-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ncats/apis/ncbi-datasets-api/revisions/b24db4bc7ca5?raw)
