Skip to main content
GET
/
api
/
users
/
me
/
rate-limit
Get rate limit status
curl --request GET \
  --url http://localhost:8000/api/users/me/rate-limit \
  --header 'Authorization: Bearer <token>'
{
  "plan": "pro",
  "limit": 600,
  "remaining": 542,
  "reset": 1705500000,
  "window": "1m"
}

Authorizations

Authorization
string
header
required

Use your API key as a Bearer token. Example: Authorization: Bearer mk_live_...

Response

Current rate limit status.

Current rate limit status for the user.

plan
enum<string>

The user's current plan.

Available options:
free,
pro,
enterprise
limit
integer

Maximum requests per minute for the current plan.

remaining
integer

Requests remaining in the current window.

reset
integer

Unix timestamp when the rate limit window resets.

window
string

The rate limit window duration.

Example:

"1m"