Authentication

Verify API Token

Verify your API token and retrieve subscription account information, including token usage, limits, and billing details, with the MrScraper API.

Verify your API token and retrieve subscription account information including token usage, limits, and billing details.

Note

Use the Platform API Server (https://api.app.mrscraper.com) host when calling this endpoint.

GET
/api/v1/subscription-accounts
x-api-token<token>

In: header

Response Body

application/json

application/json

curl -X GET "https://api.app.mrscraper.com/api/v1/subscription-accounts"
{
  "message": "Successful operation!",
  "data": {
    "id": "string",
    "tokenLimit": 0,
    "tokenUsage": 0,
    "stripeSubscriptionId": "string",
    "userId": "string",
    "stripeStatus": "string",
    "quantity": 0,
    "endsAt": "2019-08-24T14:15:22Z",
    "isEnterprise": true,
    "rateLimit": 0,
    "rateTtl": 0,
    "isAutoRenew": true,
    "user": {
      "id": "string",
      "name": "string",
      "email": "string",
      "latestApiToken": "string",
      "isVerified": true
    }
  }
}
{
  "message": "Unauthorized access",
  "error": "Unauthorized"
}