---
title: "Summary analytics for api.data.gov"
method: GET
path: "/v0/analytics/summary"
---

# Summary analytics for api.data.gov

`GET /v0/analytics/summary`

Get summary analytics for how many users and hits api.data.gov has seen over time.

## Response `200`

Analytics Summary Data

- AnalyticsSummary
  - `start_time` string, date-time — Timestamp of when the analytics data begins.
  - `end_time` string, date-time — Timestamp of when the analytics data ends.
  - `timezone` string — The timezone of dates and times in the analytics data.
  - `production_apis` object — Analytics data for all production APIs.
    - `organization_count` integer — The number of unique organizations that have production APIs.
    - `api_backend_count` integer — The number of API backends configured for production APIs.
    - `api_backend_url_match_count` integer — The number of separate API URL prefixes configured for production APIs.
    - `organizations` AnalyticsSummaryOrganization[]
      - `name` string — The name of the organization.
      - `api_backend_count` integer — The number of API backends this organization has.
      - `api_backend_url_match_count` integer — The number of separate API URL prefixes this organization has.
      - `active_api_keys` object — Metrics on the number of API keys used.
        - `total` integer — The total number of unique API keys used ever.
        - `monthly` array[] — The number of unique API keys used each month.
          - union[] — A 2 element array, with the first element being the month, and the second element being the count.
            - union
              - …
        - `recent` object — Metrics on the number of API keys used in the last 30 days.
          - `total` integer — The total number of unique API keys used in the last 30 days.
          - `daily` array[] — The number of unique API keys used each day in the last 30 days.
            - union[] — A 2 element array, with the first element being the day, and the second element being the count.
              - …
      - `hits` object — Metrics on the number of API hits.
        - `total` integer
        - `monthly` array[]
          - union[] — A 2 element array, with the first element being the month, and the second element being the count.
            - union
              - …
        - `recent` object
          - `daily` array[]
            - union[] — A 2 element array, with the first element being the day, and the second element being the count.
              - …
          - `total` integer
      - `average_response_times` object — Metrics on the average response times of the APIs.
        - `average` integer, nullable
        - `monthly` array[]
          - union[] — A 2 element array, with the first element being the month, and the second element being the average.
            - union
              - …
        - `recent` object
          - `average` integer, nullable
          - `daily` array[]
            - union[] — A 2 element array, with the first element being the day, and the second element being the average.
              - …
    - `all` AnalyticsSummaryMetrics
      - `active_api_keys` object — Metrics on the number of API keys used.
        - `total` integer — The total number of unique API keys used ever.
        - `monthly` array[] — The number of unique API keys used each month.
          - union[] — A 2 element array, with the first element being the month, and the second element being the count.
            - union
              - …
        - `recent` object — Metrics on the number of API keys used in the last 30 days.
          - `total` integer — The total number of unique API keys used in the last 30 days.
          - `daily` array[] — The number of unique API keys used each day in the last 30 days.
            - union[] — A 2 element array, with the first element being the day, and the second element being the count.
              - …
      - `hits` object — Metrics on the number of API hits.
        - `total` integer
        - `monthly` array[]
          - union[] — A 2 element array, with the first element being the month, and the second element being the count.
            - union
              - …
        - `recent` object
          - `daily` array[]
            - union[] — A 2 element array, with the first element being the day, and the second element being the count.
              - …
          - `total` integer
      - `average_response_times` object — Metrics on the average response times of the APIs.
        - `average` integer, nullable
        - `monthly` array[]
          - union[] — A 2 element array, with the first element being the month, and the second element being the average.
            - union
              - …
        - `recent` object
          - `average` integer, nullable
          - `daily` array[]
            - union[] — A 2 element array, with the first element being the day, and the second element being the average.
              - …
  - `cached_at` string, date-time — Timestamp of when the analytics summary data was generated and cached.

---

[API](https://skmtc.dev/gsa/apis/api-data-gov-metrics-api.md) · [All operations](https://skmtc.dev/gsa/apis/api-data-gov-metrics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gsa/api-data-gov-metrics-api/revisions/4c4b15e7bab3/schema)
