NOTE: New Relic Servers and Legacy Alerts are going away on or before May 15, 2018. Check out our post in the Online Technical Community for more information.

List CPU load data (v2)


For the latest, most advanced host monitoring, check out New Relic Infrastructure.

Here is an example of how to use the New Relic REST API (v2) to obtain CPU load information for a specific server ID and API key. By default, this will provide a list of values every minute for the last 30 minutes in JSON format.

When acquiring data, the values returned may be affected by the time period you specify and the way the data is stored. For more information, see Extracting metric timeslice data.

API call

To obtain this data, include the metric name System/Load and values for average_value in your API call. For example:

curl -X GET '${SERVERID}/metrics/data.json' \
     -H "X-Api-Key:${APIKEY}" -i \
     -d 'names[]=System/Load&values[]=average_value' 

For more help

Additional documentation resources include:

Discuss New Relic Servers in the New Relic Online Technical Community! Troubleshoot and ask questions, or discuss Servers for Linux or Servers for Windows in detail.

If you need additional help, get support at