---
title: "Get a prokaryote gene data package by RefSeq protein accession"
method: GET
path: "/protein/accession/{accessions}/download"
tags: ["Prokaryote"]
---

# Get a prokaryote gene data package by RefSeq protein accession

`GET /protein/accession/{accessions}/download`

## Request

- Base URL: `https://api.ncbi.nlm.nih.gov/datasets/v2`
- URL: `https://api.ncbi.nlm.nih.gov/datasets/v2/protein/accession/{accessions}/download`
- Auth: API key in header `api-key`

Download a prokaryote gene data package including sequence, annotation and data reports by RefSeq non-redundant protein accession.

## Path parameters

- `accessions` string[], required

## Query parameters

- `include_annotation_type` V2Fasta[]
- `gene_flank_config.length` integer
- `taxon` string
- `filename` string

## Response `200`

A successful response

## 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`

[Operation history](https://skmtc.dev/ncats/apis/ncbi-datasets-api/changes/protein/accession/:accessions/download/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)
