Retrieve full usage metrics for a library: cumulative and daily request counters broken down by surface (web page, text docs, MCP, CLI), MCP client daily unique-user breakdown, and lifetime topic and country distributions. The API key must belong to a member of the teamspace that owns the library — claim ownership from the library’s admin page on context7.com.
Documentation Index
Fetch the complete documentation index at: https://context7.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.
Context7-compatible library ID in format /owner/repo, /owner/repo/version, or /owner/repo@version
1 - 500^/[^/]+/[^/]+([/@][^/]+)?$Number of days of daily history to return (1-365). Defaults to 30.
1 <= x <= 365Library usage metrics
Library usage metrics response
Cumulative request counts for a library, broken down by request surface
Per-day request counts (deltas, not cumulative), ordered from oldest to newest. Days with zero activity are omitted. Up to days points — fewer if the library has less history or had idle days in the window.
MCP client usage breakdown by day
Lifetime topic distribution, ordered by count descending
Lifetime country distribution (ISO-2 codes), ordered by count descending