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 Sitemap POST
Crawl target sites with the Scrape Sitemap endpoint to discover endpoints, map URL architecture, and generate seed URL lists before running bulk extraction jobs.
Create and Run AI Scraper POST
Create and run a new AI Scraper from natural language instructions using the MrScraper API, then save the scraperId to rerun it later.