---
title: "Get a metrics definition for a security"
method: GET
path: "/security/equity_legacy/{secname}/metrics/{name}"
tags: ["legacy_equity_security"]
---

# Get a metrics definition for a security

`GET /security/equity_legacy/{secname}/metrics/{name}`

## Request

- Base URL: `https://api.merqube.com`
- URL: `https://api.merqube.com/security/equity_legacy/{secname}/metrics/{name}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/merqube/apis/merqube-api/docs/security/equity_legacy/:secname/metrics/:name/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a metrics definition for a security

## Path parameters

- `secname` string, required
- `name` string, required

## Response `200`

200 response

- MetricsDef
  - `name` string
  - `type` string

## Other responses

- `403`: not authorized
- `404`: security does not exist

---

[API](https://skmtc.dev/merqube/apis/merqube-api.md) - [All operations](https://skmtc.dev/merqube/apis/merqube-api/llms.txt) - [OpenAPI document](https://skmtc.dev/merqube/apis/merqube-api/revisions/20f47ca36587?raw)
