---
title: "Get stem count"
method: GET
path: "/stem-counts/{sc_code}"
tags: ["Stem counts"]
---

# Get stem count

`GET /stem-counts/{sc_code}`

Retrieve a single stem count using its `sc_code`.

## Path parameters

- `sc_code` string, required

## Query parameters

- `create_parquet` boolean

## Response `200`

Matching stem count(s)

- StemCount
  - `ob_code` string — VegBank plot observation identifier
  - `to_code` string — VegBank taxon observation identifier
  - `tm_code` string — VegBank taxon importance identifier
  - `sr_code` string — VegBank stratum identifier
  - `stratum_name` string — Stratum name, or '<All>' if sr_code is null
  - `sc_code` string — VegBank stem count record identifier
  - `diameter` number, float — Diameter of the stem in centimeters. When diameter classes are used, the diameter is the midpoint between the low end and high end for the diameter class; the offset between this and the endpoints is stored in stem_diameter_accuracy.
  - `diameter_accuracy` number, float — Accuracy of the stem diameter measurements in centimeters, representing the distance between the diameter class midpoint and endpoint
  - `height` number, float — Measured height of the stem in meters. When height classes are used, the height is the midpoint between the low end and high end for the height class; the offset between this and the endpoint is stored in stem_height_accuracy.
  - `height_accuracy` number, float — Accuracy of the measured height of a stem, representing the offset between the midpoint of the class and the endpoint, in meters.
  - `count` integer — Number of stems of a single species that have these specific stem diameter and height data in common
  - `taxon_area` number, float — Area in m2 used to infer the presence of the stem(s) referenced in this record. Overrides similar area field in taxon observation, taxon importance, and/or plot observation. RESERVED VALUE: -1 is used to indicate no known boundaries were used while collecting this stem size.

## Other responses

- `400` — Invalid Parameters

## Changes

> 32 revisions in range; 1 not diffed.

- **2026-02-07** `dafd6d522f81` — 1 info
  - endpoint added
- **2025-04-29** `c9e23cb778c9` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nceas/apis/vegbankapi/changes/stem-counts/:sc_code/get.md)

---

[API](https://skmtc.dev/nceas/apis/vegbankapi.md) · [All operations](https://skmtc.dev/nceas/apis/vegbankapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nceas/vegbankapi/revisions/8abfd084d7aa/schema)
