API Reference

Base URL

https://csds.blockchainrangers.com/api/v1

Authentication

This API uses the x402 payment protocol. No API keys required - payments are handled per request using USDC on Base.

Available Endpoints

Response Format

All responses are JSON formatted with the following structure:

{
  "risk_score": 0-100,
  "risk_level": "LOW|MEDIUM|HIGH|CRITICAL",
  "confidence": 0.0-1.0,
  "analysis_date": "ISO8601 timestamp",
  ...
}

Error Codes