Harvest-Anything / Extraction Guides / SEC EDGAR Filings (10-K / 8-K / Form 4 / XBRL)

Deterministic SEC EDGAR Form 4 Insider Ownership XML to Structured JSON API

Turn raw SEC Form 4 XML filings into clean insider names, officer titles, transaction codes, share counts, unit prices, and computed total USD values with XML line citations.

Mode (sec_filings)$0.06 / hit
10% Cache Recheck$0.006
Fake-200 / 422 Charge$0.00
Verified Receipt Prefixe8f3ee52b32530b8

Why Existing Scrapers & Subscriptions Break Here

Form 4 XML nests reportingOwner, nonDerivativeTransaction, derivativeTransaction, and footnote references across inconsistent schemas.

LLMs hallucinate decimal places on share counts and transaction prices when fed raw XML, ruining quantitative factor backtests.

Harvest-Anything parses Form 4 XML deterministically—verified live on Apple Inc. (CIK 0000320193) extracting COO Khan Sabih's 55,000-share sale at $349.38 ($19,215,900.00) with exact lines 12 and 20.

Built for Quantitative Equity & Insider Signal 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: 60000 micros)

Extracted Attribute Observed Value / Outcome Provenance / Line Ref Confidence
Issuer / CIKApple Inc. (0000320193, AAPL)Line 12 form4_xml0.98
Reporting OwnerKhan Sabih (COO)Line 20 form4_xml0.96
Transaction (Code S)55,000 Common Stock @ $349.38Non-derivative block0.95
Total Computed Value$19,215,900.00 (2026-11-23)Timeline verified0.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.06 live / $0.006 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 sec-api.io ($49/mo Personal limited, $199/mo Business internal-use-only) 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://www.sec.gov/Archives/edgar/data/320193/000114036126046128/form4.xml", "mode": "sec_filings"}'

Run via Native Streamable MCP (POST /mcp)

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "harvest_extract",
    "arguments": {
      "url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126046128/form4.xml",
      "mode": "sec_filings"
    }
  }
}

Run via Treg Hub (0% Seller Commission)

treg call harvest-anything --data '{"url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126046128/form4.xml", "mode": "sec_filings"}'

Observed HarvestReceipt JSON Output

{
  "ok": true,
  "status_code": 200,
  "mode": "sec_filings",
  "url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126046128/form4.xml",
  "extracted": {
    "form_type": "Form 4",
    "cik": "0000320193",
    "company_name": "Apple Inc.",
    "tickers": [
      "AAPL"
    ],
    "filing_date": "2026-11-25",
    "events": [
      {
        "event_type": "form4_transaction",
        "insider_name": "Khan Sabih",
        "officer_title": "COO",
        "security": "Common Stock",
        "transaction_code": "S",
        "shares": 55000.0,
        "price_per_share": 349.38,
        "total_value": 19215900.0,
        "date": "2026-11-23"
      }
    ]
  },
  "field_confidence": {
    "form_type": 0.99,
    "company_name": 0.98,
    "events": 0.96,
    "amounts": 0.95
  },
  "source_line_refs": {
    "company_name": {
      "line": 12,
      "end_line": 12,
      "snippet": "<issuerName>Apple Inc.</issuerName>",
      "source_kind": "form4_xml"
    },
    "insider_name": {
      "line": 20,
      "end_line": 20,
      "snippet": "<rptOwnerName>Khan Sabih</rptOwnerName>",
      "source_kind": "form4_xml"
    }
  },
  "schema_valid": true,
  "cache_hit": false,
  "cache_tier": "live",
  "billed_micros": 60000,
  "zero_bill_reason": null,
  "sha256_receipt": "e8f3ee52b32530b8000000000000000000000000000000000000000000000000"
}

Frequently Asked Questions

Does sec_filings compute total transaction value automatically?

Yes. When shares and price_per_share are present in Form 4 XML, the extractor computes total_value alongside transaction_code and acquired_or_disposed flags.

How can auditors trace extracted insider fields back to the filing?

source_line_refs maps keys like company_name and insider_name to exact 1-based XML line numbers and raw snippets.

What does it cost to re-verify the same Form 4 filing later?

Same-tenant rechecks within the 7d-30d archive cache cost 10% ($0.006 / 6,000 micros).

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