Skip to content
Developers

Account reference

Who a key acts as, its plan and credits.

Show the key, its workspace, plan and credits

GET/me

Scope:
read
Rate class:
light
Operation id:
get_me

Returns what the API key you send acts as: the workspace and your role in it, the plan and the flags that matter to API users (exports, team seats), this month's credits and what a page costs, the key's own scopes, daily credit cap and expiry (never its secret), and which parts of the API are switched on. Call it first to check a key and a budget. It is free, and needs the read scope.

Answer 200

OK. The body is a Me.

FieldTypeDescription
api_versionstringThe API's major version.
workspaceobject
workspace.idintegerThe workspace's id (the id of its owner's account).
workspace.namestringThe workspace's name.
rolestringThe key creator's role in the workspace today: owner, admin, member or viewer.
planobject
plan.namestringThe plan's stable name (free, starter, business, business_plus, enterprise...).
plan.display_namestringThe plan's name as the dashboard shows it.
plan.has_exportbooleanTrue when CSV, Excel and PDF exports (and live feeds) are included.
plan.team_seatsinteger or nullTeam members besides the owner: 0 = owner only, null = unlimited.
creditsobject
credits.periodstringThe month the numbers are for (YYYY-MM, UTC).
credits.usednumberCredits spent this month.
credits.limitnumber or nullCredits the plan gives this month, bonus included; null = unlimited.
credits.remainingnumber or nullCredits left this month; null = unlimited.
credits.bonusnumberBonus credits added to this month.
credits.unlimitedbooleanTrue when the plan has no credit limit.
credits.costsobject
credits.costs.scan_fastnumberCredits per page of a fast crawl.
credits.costs.scan_detailednumberCredits per page of a detailed crawl.
credits.costs.scan_js_renderingnumberCredits per page rendered with JavaScript.
credits.costs.scan_fast_ownednumberPer page of a fast crawl of a site you own (verified).
credits.costs.scan_detailed_ownednumberPer page of a detailed crawl of a site you own.
credits.costs.scan_js_rendering_ownednumberPer rendered page of a site you own.
keyobject
key.namestringThe name given to the key.
key.prefixstringThe first characters of the key (pbk_xxxxxxxx): enough to recognise it. The secret is never shown.
key.scopesarray of stringWhat the key may do: read, crawl (includes read), webhooks.
key.daily_credit_capinteger or nullCredits the crawls this key starts may cost per UTC day. -1 = the key was made with no cap; null = a key made before the REST API existed (the crawls it starts may check at most 500 pages each).
key.expires_atstring or nullWhen the key stops working (ISO 8601 UTC); null = never.
key.last_used_atstring or nullWhen the key was last used (ISO 8601 UTC, to the minute); null = never.
apiobject
api.crawl_enabledbooleanTrue when POST /crawls (start and cancel a crawl) is available.
api.webhooks_v2booleanTrue when signed webhook endpoints can be managed through the API.
Example 200 answer of Show the key, its workspace, plan and credits
{
  "api_version": "v1",
  "workspace": {
    "id": 12,
    "name": "Acme's workspace"
  },
  "role": "owner",
  "plan": {
    "name": "business",
    "display_name": "Business",
    "has_export": true,
    "team_seats": 10
  },
  "credits": {
    "period": "2026-10",
    "used": 1240.5,
    "limit": 10000,
    "remaining": 8759.5,
    "bonus": 0,
    "unlimited": false,
    "costs": {
      "scan_fast": 1,
      "scan_detailed": 2,
      "scan_js_rendering": 4,
      "scan_fast_owned": 0.5,
      "scan_detailed_owned": 1,
      "scan_js_rendering_owned": 2
    }
  },
  "key": {
    "name": "CI",
    "prefix": "pbk_k3x9a7bq",
    "scopes": [
      "read",
      "crawl"
    ],
    "daily_credit_cap": 2000,
    "expires_at": "2027-01-15T09:00:00Z",
    "last_used_at": "2026-10-31T08:41:00Z"
  },
  "api": {
    "crawl_enabled": true,
    "webhooks_v2": false
  }
}