{
  "name": "SDR AI",
  "description": "AI sales development agent that researches prospects and generates personalized outreach email sequences. Provide a company name and optional contact details; receive structured intelligence and ready-to-send email drafts.",
  "url": "https://sdrai.ai",
  "version": "1.0.0",
  "capabilities": {
    "prospect_research": "Research a company and/or contact. Returns company summary, recent news, pain points, and personalization hooks.",
    "email_drafts": "Generate a sequence of personalized outreach emails from prospect research data and sender context.",
    "lead_generation": "Produce verified cold-outreach leads with firm-published email addresses or contact forms. Async (job-based): POST /api/v1/leads with an ICP, poll /api/v1/leads/{job_id}. Two-stage cost-gated verification (cheap HTTP + regex pre-flight, then agent enrichment). Aggregator sources (ZoomInfo, RocketReach, Hunter, Apollo) are rejected. Optional per-firm team-page expansion fans out 1 firm into N named contacts.",
    "email_validation": "Cheap deliverability check (format + DNS MX lookup) for up to 50 emails per call. POST /api/v1/validate-email with {emails: [...]}. Returns per-email {valid, format_valid, mx_valid, mx_host, confidence, reason}. No mailbox probe: this does NOT confirm the mailbox exists. 1 cent per email (10 sats).",
    "signal_detection": "Detect buying signals (funding, hiring, product_launch, leadership_change) across a batch of 1-10 companies per call. POST /api/v1/signals with {companies: [...], signals?: [...]}. Per company, runs one Brave query + one Gemini extract; returns {results: [{company, signals: [{type, detail, date, source}]}]}. 1 cent per company (10 sats).",
    "research_history": "List, retrieve, and manage saved research results and associated email drafts.",
    "icp_profiles": "Create and manage Ideal Customer Profile configurations that guide research and outreach tone."
  },
  "authentication": {
    "methods": [
      {
        "scheme": "Bearer",
        "type": "JWT",
        "register": "/api/auth/register",
        "login": "/api/auth/login",
        "description": "For human users. Register, login to get JWT, include as Authorization: Bearer <token>."
      },
      {
        "scheme": "Payment",
        "type": "MPP",
        "protocol": "Machine Payments Protocol (draft-httpauth-payment-00)",
        "charge_method": "lightning",
        "description": "For AI agents. No account needed. Hit endpoint, get 402 with BOLT11 invoice, pay via Lightning, retry with preimage proof.",
        "discovery": "/.well-known/mpp"
      }
    ]
  },
  "payment": {
    "methods": ["stripe", "lightning_mpp"],
    "stripe": {
      "balance_endpoint": "/api/payments/balance",
      "topup_endpoint": "/api/payments/create-checkout",
      "description": "Prepaid USD balance for Bearer auth users. Top up via Stripe (min $5)."
    },
    "lightning_mpp": {
      "description": "Pay-per-request via Lightning. No account needed. 402 response includes BOLT11 invoice.",
      "flow": "1. POST endpoint -> 402 + WWW-Authenticate: Payment header with invoice. 2. Pay invoice, get preimage. 3. Retry with Authorization: Payment <base64url-credential>."
    }
  },
  "pricing": {
    "model": "pay-per-use with prepaid USD balance (Stripe top-up, min $5)",
    "research_quick": {"cost_cents": 20, "cost_sats": 200, "description": "Quick prospect research (~5s)"},
    "research_standard": {"cost_cents": 50, "cost_sats": 500, "description": "Standard prospect research (~15s)"},
    "research_deep": {"cost_cents": 150, "cost_sats": 1500, "description": "Deep prospect research (~30s)"},
    "email_draft": {"cost_cents": 4, "cost_sats": 40, "description": "Per email in outreach sequence"},
    "email_validation": {"cost_cents": 1, "cost_sats": 10, "description": "Per email validated (format + DNS MX). Batch 1-50 per call."},
    "signal_detection": {"cost_cents": 1, "cost_sats": 10, "description": "Per company checked for buying signals (funding/hiring/product_launch/leadership_change). Batch 1-10 per call."},
    "leads_bundle_10": {"cost_cents": 200, "cost_sats": 2000, "description": "10 verified leads (async, 30-120s). Bearer callers: email leads 20c each, contact-form-only leads 10c each, with a 25c minimum research fee per job (covers zero-yield upstream cost). MPP tier (2000 sats) is paid upfront and unaffected by yield."},
    "leads_bundle_25": {"cost_cents": 450, "cost_sats": 4500, "description": "25 verified leads (async, 30-120s)."},
    "leads_bundle_50": {"cost_cents": 800, "cost_sats": 8000, "description": "50 verified leads (async, 30-120s)."},
    "free_tier": "1 quick research per day at zero balance",
    "volume_discounts": {
      "pro": "25% off after $100 lifetime spend",
      "power": "50% off after $1000 lifetime spend"
    }
  },
  "endpoints": {
    "api": "/api/v1/",
    "openapi": "/openapi.json",
    "docs": "/docs",
    "llms_txt": "/llms.txt",
    "health": "/api/health"
  },
  "contact": "https://botlab.dev/#contact"
}
