Self-Heal a Manual Scraper
Repair the workflow of a Manual Scraper with AI using the MrScraper v3 API.
Ask the AI to repair the current workflow of a manual scraper. Use it when a scraper starts returning empty or partial data because the target website changed its markup.
The scraper's saved workflow is replaced only when a valid workflow is returned, so a failed repair leaves your existing configuration untouched. Check data.workflowUpdated in the response to confirm whether the workflow actually changed.
Note
Use the V3 Platform API Server (https://api.app.mrscraper.com) host when calling this endpoint.
Tip
You can copy a ready-made request with your scraper ID and token from the scraper's ⋮ → Self-Heal API Access menu in the dashboard. See Self-Healing for the full feature guide.
Authorization
apiKey In: header
Path Parameters
Manual scraper ID
uuidHeader Parameters
"application/json"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.app.mrscraper.com/api/v1/scrapers-manual/fe9a2028-bd45-4dff-b7bd-dcca7cd3c21b/heal" \ -H "accept: application/json"{
"message": "Successful operation!",
"data": {
"success": true,
"scraperId": "fe9a2028-bd45-4dff-b7bd-dcca7cd3c21b",
"workflowUpdated": true
}
}{
"message": "Unauthorized access",
"error": "Unauthorized"
}{
"message": "Resource not found",
"error": "Not Found",
"statusCode": 404
}{
"message": "Validation failed",
"error": "Unprocessable Entity",
"statusCode": 422
}{
"message": "Too many requests. Please try again later."
}