---
title: "BTC Short-Term-Holder Cost Basis (latest)"
method: GET
path: "/api/v1/onchain/sth-cost-basis/latest"
tags: ["Snapshots"]
---

# BTC Short-Term-Holder Cost Basis (latest)

`GET /api/v1/onchain/sth-cost-basis/latest`

## Request

- Base URL: `https://tradingstrategies.work`
- URL: `https://tradingstrategies.work/api/v1/onchain/sth-cost-basis/latest`
- Auth: HTTP bearer

Latest BTC short-term-holder cost basis (realized price of coins younger than ~155 days, BRK brk_sth_realized_price) plus derived STH-MVRV (spot ÷ cost basis), an in_loss flag, ±1σ/±2σ bands (basis × exp(±k·σ), σ of ln(price ÷ basis) over a 730-day rolling window — sigma_method/sigma_window_days travel in the payload), band_zone and sth_mvrv_percentile — with flag_as_of and a price_context block re-evaluating the flag against the live spot. Descriptive on-chain context, not a buy/sell signal. [Free tier]

## Response `200`

Latest snapshot with tier echo.

- object

## Other responses

- `400`: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
- `401`: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
- `403`: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
- `404`: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
- `429`: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
- `500`: Internal Error.
- `503`: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).

---

[API](https://skmtc.dev/tradingstrategies/apis/backtesting-arena-public-api.md) · [All operations](https://skmtc.dev/tradingstrategies/apis/backtesting-arena-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tradingstrategies/apis/backtesting-arena-public-api/revisions/f82e8d6eecd7?raw)
