newrelic-api
A python interface to the New Relic API v2
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-apiuv
uv add newrelic-apipoetry
poetry add newrelic-apiInstalling 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
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
newrelicInstruments Python web applications to collect…
permissive · top 5,000 on PyPI
newrelic-telemetry-sdkSends custom metrics, events, logs, and…
permissive · top 5,000 on PyPI
elastic-apmElastic APM is the official Python agent for…
permissive · top 5,000 on PyPI
jiraA Python library that wraps the Jira REST API,…
permissive · top 1,000 on PyPI
ghapighapi provides a complete, always-current…
permissive · top 1,000 on PyPI
flask-swagger-uiAdds Swagger UI to Flask applications as a…
permissive · top 5,000 on PyPI
scout-apmScout APM is a Python application performance…
permissive · top 15,000 on PyPI
python-redminePython-Redmine provides a Django ORM-style…
permissive · top 15,000 on PyPI
flask-openapi3-rapidocAdds RapiDoc as an interactive OpenAPI UI…
permissive · top 15,000 on PyPI
dtA Python client for the Dynatrace REST API with…
permissive · top 15,000 on PyPI