---
title: "GET /subscription-accounts"
method: GET
path: "/subscription-accounts"
tags: ["auth"]
---

# GET /subscription-accounts

`GET /subscription-accounts`

## Request

- Base URL: `https://api.mrscraper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mrscraper.com/subscription-accounts`
- Auth: one of:
  - API key in header `x-api-token`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/docs/subscription-accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `x-backoffice-token` string

## Response `200`

Account information; user.databaseConnectionString is empty without a valid backoffice token

- object
  - `data` AuthSubscriptionAccount
    - `apiTokenName` string
    - `endsAt` string
    - `id` string
    - `isEnterprise` boolean
    - `maxConcurrency` integer
    - `quantity` integer
    - `rateLimit` integer
    - `rateTtl` integer
    - `stripeStatus` string
    - `stripeSubscriptionId` string
    - `subscriptionItemId` string
    - `tokenLimit` integer
    - `tokenUsage` integer
    - `trialEndsAt` string
    - `user` AuthUser
      - `address` string
      - `avatar` string
      - `birthDate` string
      - `createdAt` string
      - `createdById` string
      - `databaseConnectionString` string
      - `deletedAt` string
      - `deletedById` string
      - `domainTargets` string[]
      - `email` string
      - `gender` string
      - `id` string
      - `isVerified` boolean
      - `name` string
      - `otp` unknown
      - `phoneNumber` string
      - `rabbitMqQueueName` string
      - `updatedAt` string
      - `updatedById` string
    - `userId` string
  - `message` string

---

[API](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api.md) - [All operations](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/revisions/8bc866001a0b?raw)
