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.
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"
}Scrape JSON GET
Extract structured, strongly-typed JSON from a single page with the Scrape JSON endpoint, using a natural language prompt instead of CSS selectors or XPath.
Rerun a Workflow POST
Rerun an existing Workflow by scraperId and url with the MrScraper API, reusing cached results to cut token usage and runtime.