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

# Get the metrics defined for a security

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

## Request

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

Get the metrics defined for a security

## Path parameters

- `secname` string, required

## Response `200`

200 response

- object
  - `results` 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)
