Docs menu
Endpoints

Get your usage

The period your renders are counted in, the renders used and allowed, and your requests per minute.

GEThttps://api.pagepeeker.com/v3/usage

Authentication

Your API key, in Authorization: Bearer YOUR_KEY or X-API-Key: YOUR_KEY: see Authentication. The request counts toward your requests per minute.

Request

No parameters.

Response

FieldTypeDescription
period_startstringWhen the period your renders are counted in started: ISO 8601, UTC.
period_endstringWhen it ends, and the count starts again.
renders_usedintegerRenders done for you this period. Counted every few minutes, so it can be a little behind.
renders_limitintegerRenders a period, on your plan.
requests_per_minuteintegerRequests a minute, on your plan.
200
{
  "period_start": "2026-12-01T00:00:00Z",
  "period_end": "2027-01-01T00:00:00Z",
  "renders_used": 124,
  "renders_limit": 500,
  "requests_per_minute": 10
}

The same numbers come in the headers of every answer about a render, so you rarely need to ask.

Status codes

StatusAnswerWhen
200Your usageWith a working key.
401error missing_keyNo key in Authorization: Bearer or X-API-Key. A key in the URL is not read.
401error invalid_keyThe key is not valid, or was revoked.
403error account_inactiveThe account is not active.
429error rate_limitedOver your requests a minute. Retry-After says when to try again.

Every endpoint can also answer 403 https_required, 405 method_not_allowed, 500 internal_error. What each error means and what to do about it: Errors and failures.

Example

import requests

res = requests.get(
    "https://api.pagepeeker.com/v3/usage",
    headers={"Authorization": "Bearer YOUR_KEY"},
)
print(res.status_code, res.json())