---
title: Domain metrics
summary: null
url: >-
  https://www.fastly.com/documentation/reference/api/metrics-stats/domain-inspector
---

The Domain Inspector API offers real-time visibility and historical reporting on each unique domain name associated with a Fastly service.

- [Domain Inspector Historical API](https://www.fastly.com/documentation/reference/api/metrics-stats/domain-inspector/historical/) - Domain Inspector provides a JSON-formatted historical API for visibility into responses delivered from your domains by Fastly. The API offers a standardized set of data to report in minutely, hourly, or daily granularity on every domain response, byte, and status code received by a specified service.
- [Domain Inspector Real-time API](https://www.fastly.com/documentation/reference/api/metrics-stats/domain-inspector/real-time/) - The real-time domain metrics API allows you to programmatically retrieve per-domain delivery metrics derived from your Fastly services in one-second periods up to the last complete second.
