---
title: "Day Breakdown"
method: GET
path: "/v1/analytics/day/{date}"
tags: ["Analytics"]
---

# Day Breakdown

`GET /v1/analytics/day/{date}`

Get per-product breakdown for a specific day.

## Path parameters

- `date` string, date, required

## Response `200`

Day breakdown retrieved successfully

- object
  - `date` string, date
  - `summary` object
    - `total_credits` number
    - `total_requests` integer
    - `products_count` integer
  - `products` object[]
    - `product_id` string
    - `requests` integer
    - `credits` number
    - `credits_percentage` number
    - `avg_credits_per_request` number
    - `max_credits` number

## 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

## Changes

- **2026-08-25** `1f289eff3a26` — 3 breaking
  - the `allOf[#/components/schemas/ErrorResponse]/errors/items/instance` response's property type/format changed from `string`/`uri` to `string`/`uri-reference` for status `400`
  - the `oneOf[#/components/schemas/InvalidApiKeyError]/allOf[#/components/schemas/ErrorResponse]/errors/items/instance` response's property type/format changed from `string`/`uri` to `string`/`uri-reference` for status `401`
  - the `oneOf[#/components/schemas/MissingAuthenticationError]/allOf[#/components/schemas/ErrorResponse]/errors/items/instance` response's property type/format changed from `string`/`uri` to `string`/`uri-reference` for status `401`

[Change history](https://skmtc.dev/leadmagic/apis/leadmagic-api/changes/v1/analytics/day/:date/get.md)

---

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