# OpenCapital Metrics and segments API

**Canonical:** https://apis.io/apis/opencapital-sh/opencapital-sh-metrics-and-segments-api/  
**Provider:** OpenCapital — https://apis.io/providers/opencapital-sh/  
**Base URL:** https://api.opencapital.sh/v1  
**Documentation:** https://www.opencapital.sh/

OpenCapital Metrics and segments API is one of 6 APIs that [OpenCapital](https://apis.io/providers/opencapital-sh/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Metrics and segments. The published artifact set on APIs.io includes an OpenAPI specification.

The Metrics and segments API from OpenCapital — 16 operation(s) for metrics and segments.

## Operations (16)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/companies/{ticker}/metrics` | Metrics grouped by statement section or dimension |
| GET | `/v1/companies/{ticker}/metric-sections` | Metrics in a statement section |
| GET | `/v1/metrics/resolve-xbrl-tag` | Resolve an inline XBRL tag to its canonical metric |
| GET | `/v1/metrics/segment-pages` | Segment research pages available for indexing |
| GET | `/v1/metrics/{metricId}` | Metric definition, reporting range and relationships |
| GET | `/v1/metrics/{metricId}/similar` | Similar metrics across companies |
| GET | `/v1/companies/{ticker}/metrics/{metricId}/time-series` | Quarterly, annual, TTM or price-derived daily observations |
| POST | `/v1/companies/{ticker}/metric-time-series` | Read time series for a bounded set of metrics |
| POST | `/v1/companies/{ticker}/metric-quarterly-values` | Read stored values for selected fiscal periods |
| POST | `/v1/companies/{ticker}/valuation-daily-changes` | Latest and trailing-year daily valuation changes |
| GET | `/v1/companies/{ticker}/metrics/{metricId}/provenance` | Source filing and formula operands for the latest value |
| GET | `/v1/companies/{ticker}/metrics/{metricId}/segment-breakdown` | Segment contributions and their existing time series |
| GET | `/v1/companies/{ticker}/metrics/{metricId}/decomposition` | Calculation children and parents from filing linkbases |
| GET | `/v1/companies/{ticker}/dimensions/{dimension}` | Segment overview within a company dimension |
| GET | `/v1/companies/{ticker}/dimensions/{dimension}/hierarchy` | Presentation-linkbase hierarchy for a segment dimension |
| GET | `/v1/companies/{ticker}/dimensions/{dimension}/segments/{segmentSlug}` | Metrics for one company segment |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/opencapital-sh/openapi/opencapital-sh-metrics-and-segments-api-openapi.yml

## Other OpenCapital APIs (5)

- [OpenCapital Business profiles API](https://apis.io/apis/opencapital-sh/opencapital-sh-business-profiles-api/)
- [OpenCapital Companies API](https://apis.io/apis/opencapital-sh/opencapital-sh-companies-api/)
- [OpenCapital Filings API](https://apis.io/apis/opencapital-sh/opencapital-sh-filings-api/)
- [OpenCapital Reported earnings API](https://apis.io/apis/opencapital-sh/opencapital-sh-reported-earnings-api/)
- [OpenCapital Screening API](https://apis.io/apis/opencapital-sh/opencapital-sh-screening-api/)

## Tags

Metrics and segments

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/opencapital-sh` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/opencapital-sh/opencapital-sh-metrics-and-segments-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/opencapital-sh/.
