Build with DiffScan API

Integrate code churn analysis into your workflow. GraphQL and REST APIs, webhooks, and SDKs for your favorite languages.

Quick Example

GraphQLQuery hotspots
query GetHotspots {
  hotspots(repositoryId: "repo_123", limit: 5) {
    filePath
    metrics {
      churnScore
      changeCount
      uniqueAuthors
    }
    trend
  }
}
RESTSame query via REST
curl -X GET \
  "https://api.diffscan.dev/v2/repos/repo_123/hotspots?limit=5" \
  -H "Authorization: Bearer ds_your_api_key" \
  -H "Accept: application/json"

API Status

All systems operational

Operational
API45ms
GraphQL52ms
Webhooks120ms
OAuth38ms