---
title: "Get taxonomy image metadata by Taxonomy ID"
method: GET
path: "/taxonomy/taxon/{taxon}/image/metadata"
tags: ["Taxonomy"]
---

# Get taxonomy image metadata by Taxonomy ID

`GET /taxonomy/taxon/{taxon}/image/metadata`

## Request

- Base URL: `https://api.ncbi.nlm.nih.gov/datasets/v2`
- URL: `https://api.ncbi.nlm.nih.gov/datasets/v2/taxonomy/taxon/{taxon}/image/metadata`
- Auth: API key in header `api-key`

Get taxonomy image metadata, including the image URL and license information, in JSON format.

## Path parameters

- `taxon` string, required

## Response `200`

A successful response

- V2TaxonomyImageMetadataResponse
  - `tax_id` string
  - `src` string
  - `license` string
  - `attribution` string
  - `source` string
  - `image_sizes` V2ImageSize[]
  - `format` string
  - `license_url` string

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-08-06** `e5d4400c8e5d`: 1 info
  - added the optional property `license_url` to the response with the `200` status
- **2025-05-08** `6b24249801ec`: 1 info
  - the `` response's property default value `UNSPECIFIED` was added for the status `200`
- **2025-04-28** `f08be9b66e16`: 1 info
  - the `` response's property default value `UNSPECIFIED` was removed for the status `200`
- **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
  - endpoint added

[Operation history](https://skmtc.dev/ncats/apis/ncbi-datasets-api/changes/taxonomy/taxon/:taxon/image/metadata/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)
