---
title: Metrics and stats
summary: null
url: https://www.fastly.com/documentation/reference/api/metrics-stats
---

Fastly offers a variety of ways to report on the performance and activity of your services.

- [Domain metrics](https://www.fastly.com/documentation/reference/api/metrics-stats/domain-inspector/)
- [Historical Stats](https://www.fastly.com/documentation/reference/api/metrics-stats/historical-stats/) - The Historical Stats API allows you to programmatically retrieve historical caching statistics derived from your Fastly services. You can use these metrics to help you optimize your site’s data caching and analyze your site’s traffic.
- [Origin metrics](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-inspector/)
- [Real-time analytics](https://www.fastly.com/documentation/reference/api/metrics-stats/realtime/) - The real-time analytics API offers a standardized set of data about traffic received by a specified service in one-second time periods up to the last complete second.
- [Stats](https://www.fastly.com/documentation/reference/api/metrics-stats/stats/) - Stats give you information on the usage and performance of your Service. They can be requested by Service and over a particular time span. Stats are broken down per POP, giving you information on how your Services are being used across the world. There is now a more flexible, and fully featured <a href="https://www.fastly.com/documentation/reference/api/metrics-stats/historical-stats/">Stats API</a> available.
