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.
Endpoint
Section titled “Endpoint”POST https://api.bluestars.app/bsr/v1/website-scanAuthorization: Bearer <your-api-key>Content-Type: application/jsonThe 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.
Request body
Section titled “Request body”| Field | Required | Description |
|---|---|---|
id | Yes | Your reference/identifier for this scan. |
email | Yes | Contact email associated with the scan. |
website | Yes | The website URL to analyze. |
packVersion | No | Which BSR pack to analyze against. |
{ "id": "your-ref-123", "email": "contact@example.com", "website": "https://example.com", "packVersion": "bsr4"}Response
Section titled “Response”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.
Getting a key
Section titled “Getting a key”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.