---
title: "Usage Summary"
method: GET
path: "/v1/analytics/usage"
tags: ["Analytics"]
---

# Usage Summary

`GET /v1/analytics/usage`

Get daily usage summary with requests, credits consumed, and chargeable rates.

## Query parameters

- `days` integer

## Response `200`

Usage summary retrieved successfully

- object
  - `period` object
    - `start` string, date
    - `end` string, date
    - `days` integer
  - `summary` object
    - `total_requests` integer
    - `chargeable_requests` integer
    - `total_credits` number
    - `avg_credits_per_request` number
    - `chargeable_rate` number
    - `unique_products` integer
  - `daily` object[]
    - `date` string, date
    - `total_requests` integer
    - `chargeable_requests` integer
    - `total_credits` number
    - `unique_products_used` integer

## Other responses

- `400` — Bad Request - The request was malformed or contains invalid parameters. **Common causes:** - Missing required fields - Invalid field format (e.g., malformed email) - Invalid JSON syntax - Invalid parameter values
- `401` — Unauthorized - Authentication failed. **Common causes:** - Missing X-API-Key header - Invalid or expired API key - Malformed API key

---

[API](https://skmtc.net/leadmagic/apis/leadmagic-api.md) · [All operations](https://skmtc.net/leadmagic/apis/leadmagic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/leadmagic/leadmagic-api/revisions/aa19cf9bc46a/schema)
