App usage stats API: public requests and tokens by app
A public, keyless feed of per-app requests and tokens across the last 7 and 30 full UTC days.
Read the public, keyless breakdown of traffic by app with GET /v1/stats/apps at https://api.uplinkswitch.com/v1.
Responses cache for ten minutes and permit requests from any origin.
Route
| Method | Path | Auth |
|---|---|---|
| GET | /v1/stats/apps | public, no key |
Response
| Field | Notes |
|---|---|
| generated_at | timestamp the feed was computed |
| windows | array of two entries, one for the last 7 full UTC days and one for the last 30 |
| windows[].days | 7 or 30 |
| windows[].data | per-app rows, each with app, requests and tokens; sorted by tokens, with Other last |
How an app is named: a known public tool is named from the title the client declares; if there is none, from its referring host; failing that, from its user-agent product name. Everything that matches none of these is summed into a single Other row.
Example
bash
curl https://api.uplinkswitch.com/v1/stats/appsErrors
| Status | Code | When |
|---|---|---|
| 200 | (none) | documented successful response |
Questions and answers
No. It is a public read, so no key and no auth header.
Two: the last 7 full UTC days and the last 30, each in its own entry.
Answered requests and input plus output tokens for the window, including cache reads and writes.
Traffic the gateway could not attribute to a named app, summed together.
By the title your client declares, else your referring host, else your user-agent product name. ## Sources Live OpenAPI, checked 2026-11-22.