---
title: "Gem Value History"
method: GET
path: "/api/v1/gems/{gem_id}/value-history"
tags: ["Gemstones"]
---

# Gem Value History

`GET /api/v1/gems/{gem_id}/value-history`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/gems/{gem_id}/value-history`
- Auth: HTTP bearer

GET /api/v1/gems/{gem_id}/value-history?days=90
The gem's own value line: anchor (estimated_value.best at scan) moved by
its variety's daily index ratio for each day in the window with index
data. Unindexed variety → single flat anchor point. Owner-only — 404 for
gems that aren't the caller's (existence not leaked).

## Path parameters

- `gem_id` integer, required

## Query parameters

- `days` integer

## Response `200`

Successful Response

- GemValueHistoryResponse
  - `points` ValueHistoryPoint[], required
    - `date` string, required
    - `value` number, required
  - `change_pct` number, nullable
  - `index_confidence` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api.md) · [All operations](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/revisions/fcb441f55161?raw)
