# New Relic GraphQL API

NerdGraph is New Relic's primary GraphQL API for querying observability data, managing account configuration, and accessing the full breadth of New Relic platform capabilities. It is the recommended API for new integrations, replacing the older REST API v2 for most use cases.

## New Relic NerdGraph API

**Endpoint:** https://api.newrelic.com/graphql

**Documentation:** https://docs.newrelic.com/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph/

**References:**

- Documentation: https://docs.newrelic.com/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph/
- APIReference: https://docs.newrelic.com/docs/apis/nerdgraph/get-started/nerdgraph-explorer/
- Authentication: https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/

## New Relic Synthetics API

The New Relic Synthetics API, available through NerdGraph, allows you to programmatically create, update, delete, and query synthetic monitors including ping monitors, scripted API monitors, browser monitors, and broken links monitors. A legacy REST-based Synthetics API is also available but NerdGraph is the recommended approach.

**Endpoint:** https://api.newrelic.com/graphql

**Documentation:** https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetics-api/

**References:**

- Documentation: https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetics-api/
- APIReference: https://docs.newrelic.com/docs/apis/nerdgraph/examples/synthetics-api/overview/
- Authentication: https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/
