• /
  • Log in
  • Free account

Working with the New Relic REST API (v1) (deprecated)

Currently New Relic supports two versions of the REST API. Version 1 is deprecated and has been replaced with the newer v2. No termination date has been announced. However, no further development or modifications are being made to v1.

Important

Start new projects by referring to Getting started with API v2 and the New Relic REST API v2 examples. Also, begin migrating your v1 scripts to their v2 equivalent.

To use the REST API v1 in any way, your API key is required. Then, from the command line, you can use:

curl -gH "x-api-key:REPLACE_WITH_YOUR_API_KEY" 'ENDPOINT_URL'

OR

wget -qO- --header "x-api-key:REPLACE_WITH_YOUR_API_KEY" 'ENDPOINT_URL'

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.