Harvest-Anything / Extraction Guides / ClinicalTrials.gov & Public Patent Grants

ClinicalTrials.gov v2 Protocol Extraction API: Phases, Sponsors, Enrollment & Outcomes

Flatten deeply nested ClinicalTrials.gov v2 protocolSection JSON (verified live on NCT04280705) into uniform identifier, status, phases, interventions, sponsor, and enrollment fields.

Mode (trials_patents)$0.07 / hit
10% Cache Recheck$0.007
Fake-200 / 422 Charge$0.00
Verified Receipt Prefix4f6fd5ff09ea53eb

Why Existing Scrapers & Subscriptions Break Here

ClinicalTrials.gov API v2 nests trial metadata six levels deep inside protocolSection.identificationModule, statusModule, designModule, and armsInterventionsModule.

Downstream RAG pipelines and competitive trackers constantly break on optional missing modules or mixed single/multi-arm intervention arrays.

Harvest-Anything normalizes single studies and paginated v2 study feeds into a flat, confidence-scored HarvestReceipt at $0.07/call.

Built for Biotech Competitive Intelligence & Life-Sciences Data Engineers: Harvest-Anything runs purely on Python 3 standard library parsers with strict pre-fetch SSRF HTTP 422 blocking, composite anti-fake-200 interception, 7d-30d adaptive archive caching, and zero customer payload resale.

Verified Extraction Output Breakdown (Observed Receipt: 70000 micros)

Extracted Attribute Observed Value / Outcome Provenance / Line Ref Confidence
Trial IdentifierNCT04280705Line 1 clinicaltrials_v2_json0.99
Study TitleAdaptive COVID-19 Treatment Trial (ACTT)identificationModule0.98
Status & PhaseCOMPLETED / PHASE3statusModule + designModule0.98
InterventionsPlacebo (OTHER), Remdesivir (DRUG)armsInterventionsModule0.95

Pricing Benchmark vs Incumbents

Provider Pricing Model Verified Cost & Friction Harvest-Anything Advantage
Harvest-Anything Pay-per-verified-harvest (Creem $9/$29/$99/$299 packs, 0% treg hub commission) $0.07 live / $0.007 recheck; $0 on fake-200, empty, or 422 Deterministic JSON Schema, field confidence, 1-based line refs, Streamable MCP
Incumbent Benchmark Annual seats, monthly floors, or metered raw proxy GBs Enterprise IP & clinical intelligence seats ($10,000-$50,000+/yr) Zero monthly minimum, zero sales gate, zero charge on soft-blocks

Run via HTTP REST (POST /harvest)

curl -sS -X POST https://harvest.fastmesh.dev/harvest \
  -H "Content-Type: application/json" \
  -d '{"url": "https://clinicaltrials.gov/api/v2/studies/NCT04280705", "mode": "trials_patents"}'

Run via Native Streamable MCP (POST /mcp)

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "harvest_extract",
    "arguments": {
      "url": "https://clinicaltrials.gov/api/v2/studies/NCT04280705",
      "mode": "trials_patents"
    }
  }
}

Run via Treg Hub (0% Seller Commission)

treg call harvest-anything --data '{"url": "https://clinicaltrials.gov/api/v2/studies/NCT04280705", "mode": "trials_patents"}'

Observed HarvestReceipt JSON Output

{
  "ok": true,
  "status_code": 200,
  "mode": "trials_patents",
  "url": "https://clinicaltrials.gov/api/v2/studies/NCT04280705",
  "extracted": {
    "registry_type": "clinical_trial",
    "identifier": "NCT04280705",
    "title": "Adaptive COVID-19 Treatment Trial (ACTT)",
    "status": "COMPLETED",
    "phases": [
      "PHASE3"
    ],
    "conditions": [
      "COVID-19"
    ],
    "interventions": [
      {
        "type": "OTHER",
        "name": "Placebo"
      },
      {
        "type": "DRUG",
        "name": "Remdesivir"
      }
    ],
    "sponsor_or_assignee": "National Institute of Allergy and Infectious Diseases (NIAID)"
  },
  "field_confidence": {
    "identifier": 0.99,
    "title": 0.98,
    "status": 0.98,
    "conditions": 0.95,
    "abstract": 0.95
  },
  "source_line_refs": {
    "identifier": {
      "line": 1,
      "end_line": 1,
      "source_kind": "clinicaltrials_v2_json"
    }
  },
  "schema_valid": true,
  "cache_hit": false,
  "cache_tier": "live",
  "billed_micros": 70000,
  "zero_bill_reason": null,
  "sha256_receipt": "4f6fd5ff09ea53eb000000000000000000000000000000000000000000000000"
}

Frequently Asked Questions

Can Harvest-Anything extract both single NCT studies and paginated ClinicalTrials.gov lists?

Yes. Pass https://clinicaltrials.gov/api/v2/studies/NCT04280705 for a single protocol or ?pageSize=N for paginated lists.

Which fields are returned in trials_patents mode?

registry_type, identifier, title, status, phases, conditions, interventions, sponsor_or_assignee, enrollment, and abstract alongside source_line_refs.

What does a same-tenant recheck cost when monitoring an active Phase 3 trial?

10% of base price ($0.007 / 7,000 micros) when recheck=true within the 7d-30d cache window.

Try Now in 5 Seconds (No Signup) Browse All 22 Guides llms.txt OpenAPI 3.1