---
title: "Widget Stats"
method: GET
path: "/api/admin/widgets/stats"
tags: ["Admin"]
---

# Widget Stats

`GET /api/admin/widgets/stats`

## Request

- Base URL: `https://api.xfinlab.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xfinlab.com/api/admin/widgets/stats`
- Auth: none declared

Growth OS Phase 4 -- today's + all-time embed-view counts per
widget type, from api/widgets.py's widget_embed_log table (created
lazily on first embed load, so this tolerates the table not existing
yet on a fresh deploy).

## Query parameters

- `token` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xfinlab/apis/xfinlab-api.md) · [All operations](https://skmtc.dev/xfinlab/apis/xfinlab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfinlab/apis/xfinlab-api/revisions/205f85614bc6?raw)
