skillfed

newrelic-api

A python interface to the New Relic API v2

newrelic-api v1.0.6 152.8K downloads/30d#10,893 on PyPI42
Permissive license MIT DORMANT released

What it is and what it does

newrelic-api is a Python wrapper around New Relic's API v2, designed to simplify programmatic access to New Relic monitoring data and resources. It abstracts the HTTP calls and JSON parsing into pythonic method calls, allowing developers to query application performance metrics, manage alerts, and interact with other New Relic entities without writing raw HTTP requests.

The package has zero runtime dependencies and installs easily, but carries a significant caveat: it has not been actively maintained since April 2019. The maintainer explicitly states the client is out of sync with New Relic's latest API changes, and recommends submitting pull requests for unsupported or outdated resources. If you need access to recently added New Relic features or modern API endpoints, this package may not support them.

Use it for:

  • Retrieve application performance metrics and transaction data from New Relic for custom dashboards or reporting.
  • Automate alert management and notification configuration across multiple New Relic applications.
  • Export historical monitoring data for analysis or integration with other systems.
  • Script routine New Relic administrative tasks like application setup or metric aggregation.
  • Build monitoring workflows that query New Relic data as part of a larger automation pipeline.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python client for interacting with New Relic's API v2, providing a pythonic interface to query and manage New Relic resources.

Yes, if your use case targets only older New Relic API endpoints that remain stable. No, if you need access to recent New Relic features or modern API resources—the package is dormant and explicitly out of sync with current API changes. Evaluate your specific New Relic resources against the supported endpoints before committing to this client; consider New Relic's official SDKs or direct HTTP calls if this package lacks your target endpoints.

Install

newrelic-api on PyPI

pip

pip install newrelic-api

uv

uv add newrelic-api

poetry

poetry add newrelic-api

Installing newrelic-api

Before you install

Low install friction with no runtime dependencies. However, the package is dormant—last release was 2019-04-04, over 2689 days ago—and the maintainer notes it is out of sync with New Relic's latest API changes. Active use requires checking whether your target New Relic resources are still supported by this version.

License in practice

MIT license (permissive) allows use, modification, and distribution with minimal restrictions, making it suitable for most projects without licensing concerns.

Quickstart

pip install newrelic-api

from newrelic_api.client import Client

client = Client(api_key='your_api_key')
# Access New Relic resources via the client

Requires a valid New Relic API key; check New Relic's current API documentation to confirm your target resources are supported by this outdated client.

Verify before relying

  • Which specific New Relic API endpoints and resources are currently supported by version 1.0.6.
  • Whether this client works with modern New Relic account structures and authentication methods.
  • Compatibility with Python versions beyond 3.4, given the classifiers list only 2.7, 3.3, and 3.4.

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance dormant — 2,689 days since the last release
Last repo commit
First released
Downloads 152,808/month — #10,893 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: newrelic_api-1.0.6-py2.py3-none-any.whl

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4

Tags

new relic api clientnew relic python interfacemonitoring api integrationapm api wrappernew relic resource managementapplication performance monitoring apinew relic data access
monitoring-apidormant-maintenance

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

newrelic

Instruments Python web applications to collect…

permissive · top 5,000 on PyPI

newrelic-telemetry-sdk

Sends custom metrics, events, logs, and…

permissive · top 5,000 on PyPI

elastic-apm

Elastic APM is the official Python agent for…

permissive · top 5,000 on PyPI

jira

A Python library that wraps the Jira REST API,…

permissive · top 1,000 on PyPI

ghapi

ghapi provides a complete, always-current…

permissive · top 1,000 on PyPI

flask-swagger-ui

Adds Swagger UI to Flask applications as a…

permissive · top 5,000 on PyPI

scout-apm

Scout APM is a Python application performance…

permissive · top 15,000 on PyPI

python-redmine

Python-Redmine provides a Django ORM-style…

permissive · top 15,000 on PyPI

flask-openapi3-rapidoc

Adds RapiDoc as an interactive OpenAPI UI…

permissive · top 15,000 on PyPI

dt

A Python client for the Dynatrace REST API with…

permissive · top 15,000 on PyPI