Billing

Get a user's account summary

Admin-only endpoint that returns one user's account summary: identity, provider, plan, activation and ban flags, signup time, and the most recent successful sign-in. last_login_at is only recorded from the moment login tracking was added and is never backfilled, so it is the zero time (0001-01-01T00:00:00Z) for users who have not signed in since then.

get/admin/billing/users/{id}/account

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/admin/billing/users/{id}/account
  • Auth: API key in header x-api-key

Path parameters

idstring required

User id

Headers

x-api-keystring required

Admin API key required unless an Admin JWT is already present

Response

User account summary

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "ban_reason": "repeated ToS violations — scraping outside plan limits",
    "banned_at": "2026-08-13T10:00:00Z",
    "banned_by": "cc4cd7a9434885f42a257be7609b2de3",
    "created_at": "2026-07-02T09:08:34Z",
    "email": "founder@example.com",
    "id": "cc4cd7a9434885f42a257be7609b2de3",
    "is_activated": true,
    "last_login_at": "2026-07-14T16:30:28Z",
    "plan": "Free",
    "provider": "google",
    "signup_accept_language": "de-DE,de;q=0.9,en;q=0.8",
    "signup_browser_id_hash": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
    "signup_browser_language": "de",
    "signup_country": "US",
    "signup_ip": "203.0.113.10",
    "signup_last_referrer_host": "accounts.google.com",
    "signup_locale": "en",
    "signup_referrer_host": "www.google.com",
    "signup_region": "California",
    "username": "founder"
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.