Usage

See your requests this month, what extra requests cost your teamspace, and the teamspace's requests per day. member is the member who owns the API key and has the same numbers as the RateLimit-* headers on search and docs responses. teamspace covers all members. Calls to this endpoint do not count as requests.

get/v2/usage

Request

  • Base URL
    https://context7.com/api
  • URL
    https://context7.com/api/v2/usage
  • Auth
    HTTP bearer

Query parameters

daysinteger

Number of days in teamspace.daily, ending today (UTC). Free plans return at most the last 10 days.

Response

Usage for the current month and the requested days

plan'free' | 'pro' | 'enterprise' | 'payg' required

Plan of the teamspace the API key belongs to. payg (pay-as-you-go) includes no requests and bills every request.

usageResetsAtstring date-time required

When the monthly numbers in member and teamspace start again from zero: the first day of next month, UTC. teamspace.daily keeps its history.

Changes