Protocol Audit API

Embed evidence-based longevity protocol scoring in your app. Send a protocol, get back intervention-level evidence grades with PubMed citations.

Quick Start

No API key required during beta. Send a POST request with your protocol text:

curl -X POST https://dontdiewithai.com/api/v1/audit \
  -H "Content-Type: application/json" \
  -d '{"protocol": "NMN 500mg, Metformin 500mg, Zone 2 cardio 4x/week"}'

Endpoints

POST /api/v1/audit

Audit a longevity protocol. Extracts interventions, searches PubMed, and returns evidence grades.

Request Body

ParameterTypeRequiredDescription
protocolstringYesPlain-text description of a longevity protocol (supplements, exercise, diet, etc.)

Response

{
  "interventions": [
    {
      "name": "NMN",
      "evidenceStrength": "Moderate",
      "evidenceType": "Mixed (Animal + Early Human)",
      "summary": "Reliably raises NAD+ levels; human longevity benefits unproven.",
      "effectSizes": "38% NAD+ increase at 250-500mg/day over 12 weeks",
      "contradictions": "No direct lifespan data in humans",
      "studies": [
        {
          "pmid": "29514064",
          "title": "NAD+ metabolism and its roles in cellular processes...",
          "journal": "Nature Reviews Molecular Cell Biology",
          "year": "2019",
          "url": "https://pubmed.ncbi.nlm.nih.gov/29514064/"
        }
      ]
    }
  ],
  "recommendations": [
    "Taurine supplementation (3-6g/day) — strong primate data...",
    "Zone 2 cardio if not already included..."
  ]
}
GET /api/stats

Public aggregate statistics. Total audits performed, evidence breakdown, and most commonly audited interventions.

{
  "totalAudits": 1247,
  "evidenceBreakdown": { "High": 3891, "Moderate": 4102, "Weak": 892, "Mixed": 615 },
  "topInterventions": [
    { "name": "nmn", "count": 487 },
    { "name": "metformin", "count": 412 }
  ],
  "lastUpdated": "2026-03-16T15:30:00.000Z"
}
GET /api/briefs

Weekly evidence briefs. Returns the 20 most recent longevity research summaries.

Rate Limits

Beta limits: 10 audit requests per hour per IP. The stats and briefs endpoints are unlimited. Need higher limits? Contact us.

Use Cases

Health apps: Add an "audit my supplements" feature powered by real PubMed evidence.

Longevity coaches: Score client protocols programmatically.

Research tools: Pull aggregate intervention popularity data from the community.

Content platforms: Embed evidence grades alongside longevity content.

Data & Privacy

Protocol text is processed in real-time and never stored. Only anonymized intervention names and evidence scores are retained for aggregate statistics. No PII is collected or logged.