Skip to main content
AI agents are now live in Website Scanner! Enter your URL and fix website issues 3x faster with AI. Explore now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Get scan run - scan logs API in Website Scanner

Use this API to get scan logs from a scan run report from a website scan.

get scan run - scan logs

For geo-restricted data, use the following endpoints:
https://accessibility-eu.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs/{scan_run_id}/scan_logs (European Union)
https://accessibility.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs/{scan_run_id}/scan_logs (United States)
https://accessibility-in.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs/{scan_run_id}/scan_logs (India)

Request parameters

Request

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
https://api-accessibility.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs/{scan_run_id}/scan_logs

Response Attributes 200 OK JSON

Response

{
  "data": {
    "urlCount" : 10,
    "scanLogs" : [
        {
          "time": "2024-12-13T07:43:06.133Z",
          "pageUrl": "https://www.sample.com/",
          "description": "Scan complete, 1 issues found",
          "finalRedirectUrl": "",
          "status": "success/redirect/failure"
        },
        ...
    ]
  }
}

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Download Copy Check Circle