# StackScope API
> Instant website technology stack detection, framework identification, corporate email intelligence, and security headers audit.

StackScope is an ultra-fast, sub-50ms domain intelligence micro-service built by AgentLabs. It runs on Cloudflare Workers edge, identifying 50+ frameworks, CMS engines, analytics trackers, email providers, and security headers with 1-click DevOps remediation code.

## Core Endpoints
- [Execute Tech Stack & Security Scan](https://stackscope.agentlabs.workers.dev/v1/scan?url=example.com): Inspects technologies, email DNS records, and security headers.
- [Interactive API Documentation](https://stackscope.agentlabs.workers.dev/docs): Test the API in an interactive Scalar API console.
- [OpenAPI 3.0 Specification](https://stackscope.agentlabs.workers.dev/v1/openapi.json): Standard machine-readable OpenAPI schema for agents and RapidAPI.
- [Sister Tool: GEOScope AI Audit](https://geoscope.agentlabs.workers.dev): Audit website Generative Engine Optimization and AI bot access.
- [Sister Tool: MailLock Deliverability Sentry](https://maillock.agentlabs.workers.dev): Sub-100ms RFC 7208 SPF lookup flattener, DMARC enforcement, and dangling DNS takeover sentry.

## Example Request
```bash
curl "https://stackscope.agentlabs.workers.dev/v1/scan?url=stripe.com"
```

## Response Schema Highlights
- technologies: Array of identified tools (Next.js, React, Stripe, Cloudflare, WordPress) with categories and confidence levels.
- security_posture: Audit of 6 security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy) with score, grade (A+ to F), and auto-generated Nginx / Vercel remediation snippets.
- lead_intelligence: Corporate email provider (Google Workspace, Microsoft 365), SPF and DMARC validity, and nameserver provider.
