Discover if New Relic has an API, key features, benefits, and integration use cases in this comprehensive guide.
New Relic Overview
Key Features
newrelic install
Then all you have to do is schedule your free consultation. We make it effortless to connect and optimize the tools you need to grow your business. Let’s streamline your success
New Relic API Overview
API Documentation and Support
curl -X GET 'https://api.newrelic.com/v2/applications.json' -H 'X-Api-Key:{your_api_key}'
We are a team of professionals that are more than just talented technical experts. We understand the business needs drive the software development process. Our team doesn't just deliver a great technical product, but we also deliver on your business objectives
curl -X GET 'https://api.newrelic.com/v2/applications/{application_id}/metrics/data.json' \
-H 'X-Api-Key:{api_key}' -i \
-d 'names[]=HttpDispatcher&values[]=average_response_time&values[]=calls_per_minute&values[]=call_count&from=2023-01-01T00:00:00+00:00&to=2023-01-31T23:59:59+00:00&summarize=true'
curl -X POST 'https://api.pagerduty.com/incidents' \
-H 'Authorization: Token token={YOUR_API_KEY}' \
-H 'Content-Type: application/json' \
-d '{
"incident": {
"type": "incident",
"title": "New Relic Alert: High Response Time",
"service": {
"id": "PXXXXXX",
"type": "service_reference"
}
}
}'
curl -X POST 'https://insights-api.newrelic.com/v1/accounts/{account_id}/query' \
-H 'X-Query-Key:{your_query_key}' -i \
-d 'nrql=SELECT count(*) FROM Transaction WHERE appName = 'MyApp' SINCE 1 week ago'
Integrating New Relic's API
The Complexity of Integration
Why Seek Our Help
# Example: Installing New Relic agent for a PHP application
newrelic-install install