Authentication
Verify API Token
Verify your API token and retrieve subscription account information including token usage, limits, and billing details.
Note
Use the V3 Platform API Server (https://api.app.mrscraper.com) host when calling this endpoint.
Authorization
apiKey x-api-token<token>
In: header
Response Body
application/json
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": "Invalid or missing API token",
"error": "Unauthorized",
"statusCode": 401
}{
"message": "An unexpected error occurred",
"error": "Internal Server Error",
"statusCode": 500
}