---
title: "Metric Data"
method: GET
path: "/mobile_applications/{mobile_application_id}/metrics/data.json"
tags: ["Mobile Applications"]
---

# Metric Data

`GET /mobile_applications/{mobile_application_id}/metrics/data.json`

## Request

- Base URL: `https://api.newrelic.com/v2`
- URL: `https://api.newrelic.com/v2/mobile_applications/{mobile_application_id}/metrics/data.json`
- Auth: API key in header `Api-Key`
- TypeScript: <https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/docs/mobile_applications/:mobile_application_id/metrics/data.json/get.ts> (a function with typed inputs; its response is checked against the schema)

This API endpoint returns a list of values for each of the requested metrics. The list of available metrics can be returned using the Metric Name API endpoint.

Metric data can be filtered by a number of parameters, including multiple names and values, and by time range. Metric names and values will be matched intelligently in the background.

You can also retrieve a summarized data point across the entire time range selected by using the summarize parameter.

See our documentation for a discussion on [output pagination](https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/pagination-api-output), [time range](https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/extracting-metric-data) related considerations, and for examples of [requesting and using metric values](https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/new-relic-rest-api-v2-getting-started#examples).

## Path parameters

- `mobile_application_id` integer, required

## Query parameters

- `names` string[], required
- `values` string[]
- `from` string, date-time
- `to` string, date-time
- `period` integer
- `summarize` boolean
- `raw` boolean

## Response `200`

No response was specified

- MetricDataResponse
  - `metric_data` MetricDataResponseType
    - `from` string, date-time
    - `metrics` MetricResponse[]
      - `name` string
      - `timeslices` TimesliceResponse[]
        - `from` string, date-time
        - `to` string, date-time
        - `values` object
    - `metrics_found` string
    - `metrics_not_found` string
    - `to` string, date-time

---

[API](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2.md) - [All operations](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/revisions/cf1843ad0a45?raw)
