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.
Send dimensional metrics to New Relic from any source (including other telemetry monitoring services).
Send custom event data to New Relic without the use of an agent or integration.
Send log data to New Relic.
Send distributed tracing data (
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.
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, browser 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.