Authorizations
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.
Path Parameters
Repository owner - GitHub username or organization name (case-insensitive)
Required string length:
1 - 500Repository name (case-insensitive)
Required string length:
1 - 500Specific version (tag or branch) of the library
Required string length:
1 - 500Query Parameters
Filter snippets by topic or search term
Maximum length:
500Response format type
Available options:
json, txt Page number for pagination (1-indexed). Maximum 10 pages accessible for each topic.
Required range:
x >= 1Number of items per page
Required range:
1 <= x <= 10