• EnglishEspañol日本語한국어Português
  • Log inStart now

Introduction to New Relic APIs

New Relic offers a variety of APIs and SDKs you can use to:

  • Send data to New Relic.
  • Retrieve data from New Relic.
  • View and configure settings.

Looking for API keys? See API keys.

APIs for data ingest

Our data ingest APIs are some of our many solutions for reporting data. Our APIs can be used directly, but they're also the underlying ingest route for many of our data-reporting tools. If you're just getting started reporting data to New Relic, we recommend starting at Install New Relic.

API type

Description

Metric API

Send dimensional metrics to New Relic from any source (including other telemetry monitoring services).

Event API

Send custom event data to New Relic without the use of an agent or integration.

Log API

Send log data to New Relic.

Trace API

Send distributed tracing data (Span data) to New Relic without the use of an agent or integration.

NerdGraph (GraphQL)

NerdGraph is the API we recommend for querying New Relic data, querying account information, and making a range of feature configurations. To learn what you can do, check out the NerdGraph tutorials.

NerdGraph is our newest API and is our attempt to bring together in one place some of our older APIs. Note that there is still some functionality you can do with REST APIs that can't yet be done with NerdGraph, and this is why some New Relic organizations still use the REST API.

REST API

Our REST API is our older API for querying and configuration, which NerdGraph is in the process of replacing. We are doing minimal ongoing work on the REST API. The REST API still has some configuration abilities that NerdGraph doesn't yet have, but your first choice should be to use NerdGraph because that will be where we are focusing our attention and adding features.

APIs by feature

New Relic tools and features, like APM, infrastructure monitoring, , and alerts, are often used together, and sometimes can overlap in functionality. This is why multiple APIs may be relevant to each area. Some API functionality will depend on your access to features and data.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.