Skip to content

Website-Scan API

The BSR Website-Scan API is a server-to-server endpoint for integration partners. It analyzes a website and returns a shareable BSR analysis. It is separate from the on-page widget: it’s for building integrations, not for embedding on a page.

POST https://api.bluestars.app/bsr/v1/website-scan
Authorization: Bearer <your-api-key>
Content-Type: application/json

The older endpoint POST https://bluestars.app/api/integrations/bsr-website-scan (with the previously issued shared key) keeps working as a legacy alias for now, but new integrations should use the endpoint above with your own partner key.

FieldRequiredDescription
idYesYour reference/identifier for this scan.
emailYesContact email associated with the scan.
websiteYesThe website URL to analyze.
packVersionNoWhich BSR pack to analyze against.
{
"id": "your-ref-123",
"email": "contact@example.com",
"website": "https://example.com",
"packVersion": "bsr4"
}

The call is synchronous and can take 1–5 minutes (the scan does real work), so set a generous timeout. On success it returns a shareable analysis:

  • analyseUrl: a link to the full analysis you can share.
  • analyseSummary: a short summary of the result.

Website scans run on partner API keys issued per partner by Bluestars, with a separate scan entitlement on the key (scans are heavy work). Contact Bluestars to get a key or to enable the scan entitlement on your existing partner key. The per-tenant keys (bs_live_…) managed under Settings in the dashboard do not carry this entitlement by default.