API Reference

Complete documentation for the ScamDefend API.

Quick Start

curl -X POST https://api.scamdefend.net/v1/scan/url \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "options": {
      "depth": "full",
      "timeout": 30
    }
  }'

Authentication

Secure API access and key management

  • POST /auth/token
  • GET /auth/verify
  • POST /auth/refresh
  • DELETE /auth/revoke

Analysis

Website security analysis endpoints

  • POST /scan/url
  • GET /scan/status
  • GET /scan/results
  • POST /scan/verify

Protection

Real-time protection and monitoring

  • POST /protect/enable
  • GET /protect/status
  • PUT /protect/config
  • GET /protect/logs

Reports

Detailed security reports and analytics

  • GET /reports/summary
  • GET /reports/threats
  • GET /reports/analytics
  • POST /reports/export

Ready to Get Started?

Create an account and get your API key to begin integration.