Harvest-Anything / Extraction Guides / Government Tenders, RFPs & Regulatory Notices

Extracting Normalized Amounts & Deadlines From Malformed HTML Government Tender Tables

Parse unclosed tr/td tags, merged colspan/rowspan cells, multi-currency awards, and mixed ISO-8601/text deadlines into schema-validated JSON at $0.08 per verified notice.

Mode (gov_notices)$0.08 / hit
10% Cache Recheck$0.008
Fake-200 / 422 Charge$0.00
Verified Receipt Prefixbd8a4c6d6f6dbf7c

Why Existing Scrapers & Subscriptions Break Here

Legacy municipal and state procurement portals still emit unclosed <tr> and <td> tags alongside colspan and rowspan offsets that shift column alignment in naive BeautifulSoup or regex scrapers.

Tender tables mix currency formats ($1,450,000.00 vs GBP 320,500) and inconsistent dates (2026-12-20T17:00:00Z vs 15 Jan 2027), causing silent ingestion bugs right before bid deadlines.

Harvest-Anything repairs table cell grids deterministically in pure Python stdlib, extracts normalized amounts, ISO-8601 deadlines, contact emails, and next-page links, and attaches 1-based source line references.

Built for GovCon Bid Automation & Procurement 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: 80000 micros)

Extracted Attribute Observed Value / Outcome Provenance / Line Ref Confidence
RFP-2026-881 (Dept of Energy)Grid Microturbine Retrofit$1,450,000.00 USD / 2026-12-20T17:00:00Z0.92
RFP-2026-882 (State DOT)Bridge Sensor Telemetry320,500.00 GBP / 2027-01-150.92
Pagination Cursor/tenders?page=2Extracted rel='next' href0.95
Billed Amount$0.08 (80,000 micros)Live verified hit1.00

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.08 live / $0.008 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 Deltek GovWin IQ ($5,000-$25,000+/yr quote-gated annual contracts); Bright Data ($1/1k raw unparsed HTML) 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://procurement.example.gov/tenders?page=1", "mode": "gov_notices", "content": "<table>...unclosed tr/td with colspan='2' & rowspan='2'...</table>"}'

Run via Native Streamable MCP (POST /mcp)

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "harvest_extract",
    "arguments": {
      "url": "https://procurement.example.gov/tenders?page=1",
      "mode": "gov_notices",
      "content": "<table>...unclosed tr/td with colspan='2' & rowspan='2'...</table>"
    }
  }
}

Run via Treg Hub (0% Seller Commission)

treg call harvest-anything --data '{"url": "https://procurement.example.gov/tenders?page=1", "mode": "gov_notices", "content": "<table>...unclosed tr/td with colspan='2' & rowspan='2'...</table>"}'

Observed HarvestReceipt JSON Output

{
  "ok": true,
  "status_code": 200,
  "mode": "gov_notices",
  "url": "https://procurement.example.gov/tenders?page=1",
  "extracted": {
    "notice_count": 2,
    "table_count": 1,
    "total_amount": 1770500.0,
    "earliest_deadline_iso": "2026-12-20T17:00:00Z",
    "contacts": [
      {
        "email": "bids@example.com",
        "raw": "bids@example.com"
      },
      {
        "email": "dot-procure@example.org",
        "raw": "dot-procure@example.org"
      }
    ],
    "pagination": {
      "page": 1,
      "total_pages": null,
      "has_next": true,
      "next_url": "https://procurement.example.gov/tenders?page=2"
    },
    "encoding": "utf-8",
    "tables": [
      {
        "page": 1,
        "start_line": 1,
        "headers": [
          "notice_id",
          "agency",
          "title",
          "value_deadline",
          "col_4",
          "contact"
        ],
        "row_count": 2,
        "rows": [
          {
            "notice_id": "RFP-2026-881",
            "agency": "Dept of Energy",
            "title": "Grid Microturbine Retrofit",
            "value_deadline": "$1,450,000.00",
            "col_4": "2026-12-20T17:00:00Z",
            "contact": "bids@example.com"
          },
          {
            "notice_id": "RFP-2026-882",
            "agency": "State DOT",
            "title": "Bridge Sensor Telemetry",
            "value_deadline": "GBP 320,500",
            "col_4": "15 Jan 2027",
            "contact": "dot-procure@example.org"
          }
        ],
        "nested": false
      }
    ]
  },
  "field_confidence": {
    "notices": 0.92,
    "tables": 0.95,
    "amount": 0.9,
    "deadline": 0.88,
    "contact": 0.85
  },
  "source_line_refs": {
    "title": {
      "line": 1,
      "end_line": 1,
      "snippet": "<html><body><table id='tenders'><tr><th>Notice ID</th><th>Agency</th><th>Title</th><th colspan='2'>Value &amp; Deadline</th><th>Contact<tr><td>RFP-2026-881<td>Dept of Energy<td>Gri",
      "source_kind": "html_table"
    },
    "amount": {
      "line": 1,
      "end_line": 1,
      "snippet": "1450000.0",
      "source_kind": "html_table"
    },
    "deadline": {
      "line": 1,
      "end_line": 1,
      "snippet": "<html><body><table id='tenders'><tr><th>Notice ID</th><th>Agency</th><th>Title</th><th colspan='2'>Value &amp; Deadline</th><th>Contact<tr><td>RFP-2026-881<td>Dept of Energy<td>Gri",
      "source_kind": "html_table"
    },
    "contact": {
      "line": 1,
      "end_line": 1,
      "snippet": "<html><body><table id='tenders'><tr><th>Notice ID</th><th>Agency</th><th>Title</th><th colspan='2'>Value &amp; Deadline</th><th>Contact<tr><td>RFP-2026-881<td>Dept of Energy<td>Gri",
      "source_kind": "html_table"
    }
  },
  "schema_valid": true,
  "cache_hit": false,
  "cache_tier": "live",
  "billed_micros": 80000,
  "zero_bill_reason": null,
  "sha256_receipt": "bd8a4c6d6f6dbf7cd76ab7938930f629daaff22ad0ea24d664cbe8fb70f3b951"
}

Frequently Asked Questions

How does Harvest-Anything handle unclosed HTML table tags and colspan/rowspan?

The gov_notices extractor tracks row and column occupancy grids across merged cells and implicitly closes omitted tr/td tags before mapping columns to notice_id, agency, title, amount, currency, deadline_iso, and contact.

What happens if a procurement portal blocks the request with a CAPTCHA or empty 200 page?

Anti-fake-200 verification intercepts Cloudflare, login walls, and empty shells, returning ok: false and billed_micros: 0 so you never pay for blocked pages.

How much does a recheck cost if we poll the same tender URL daily?

Verified public extractions enter the 7d-30d adaptive archive cache. Same-tenant rechecks with recheck=true cost 10% ($0.008 / 8,000 micros).

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