---
title: "Get Daily Usage By Status"
method: GET
path: "/api/v1/analytics/usage/status-daily"
tags: ["Analytics"]
---

# Get Daily Usage By Status

`GET /api/v1/analytics/usage/status-daily`

## Request

- Base URL: `https://api.freeastroapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.freeastroapi.com/api/v1/analytics/usage/status-daily`
- Auth: none declared

Get daily API usage grouped by HTTP status code.
Returns: {statuses: int[], total_requests: int, success_rate: float, error_rate: float, data: List[dict]}

## Query parameters

- `days` integer

## Headers

- `authorization` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/freeastroapi/apis/astroservice-api.md) · [All operations](https://skmtc.dev/freeastroapi/apis/astroservice-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freeastroapi/apis/astroservice-api/revisions/0c9b4a759522?raw)
