Skip to content

API reference

Versioned REST over sites, scans and policies.

The surface below is the shape of the API. Full request and response schemas publish with the API itself, so this page can never describe an endpoint that does not exist.

Principal DotCensus API endpoints
MethodPath
GET/v1/sites
POST/v1/sites/{id}/scans
GET/v1/scans/{id}
GET/v1/sites/{id}/services
GET/v1/sites/{id}/cookies
GET/v1/sites/{id}/manifest
POST/v1/sites/{id}/policies
GET/v1/sites/{id}/health
GET/v1/sites/{id}/consents/summary

Authentication

Tokens are scoped to an organization and carry the same permissions as the user or service that issued them. Receipt endpoints require an additional grant.

Idempotency

Write requests accept an idempotency key. A retried create returns the original record rather than a duplicate.

Versioning

Breaking changes arrive as /v2. The current version keeps working until it is formally deprecated with notice.

The object model behind these endpoints is described under Developers.

Know what runs before you ask visitors to trust it.

Start with a scan of what your website loads today. The list is usually longer than the team expects, and that is the useful part.

No code to install for a scan Public pages only DotCensus runs on DotCensus