Paginated Federal Register & UK OCDS Regulatory Notice Extraction API
Traverse bounded paginated regulatory notice feeds (Federal Register v1, UK Contracts Finder OCDS, and rel='next' HTML portals) into uniform JSON records with hard batch spend caps.
Why Existing Scrapers & Subscriptions Break Here
Government rulemaking and tender feeds split results across inconsistent cursor formats—some use JSON next_page_url tokens while legacy portals rely on HTML <a rel='next'> links.
Unbounded crawlers risk runaway loops and surprise proxy bills when pagination chains loop or hit empty trailing pages.
Setting pagination: true and max_pages (1-10) lets Harvest-Anything traverse pages safely inside a single deterministic call, capped globally by the $2.00 external spend ceiling.
Verified Extraction Output Breakdown (Observed Receipt: 80000 micros)
| Extracted Attribute | Observed Value / Outcome | Provenance / Line Ref | Confidence |
|---|---|---|---|
| Document Number | 2026-24372 | Federal Register API v1 | 0.92 |
| Issuing Agency | Federal Deposit Insurance Corporation | Line 1 JSON field | 0.92 |
| Publication / Deadline | 2026-12-01 | ISO-8601 normalized | 0.88 |
| Pagination Next Cursor | page=2&per_page=2 | Auto-detected cursor | 0.92 |
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://www.federalregister.gov/api/v1/documents.json?per_page=2", "mode": "gov_notices"}'
Run via Native Streamable MCP (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "harvest_extract",
"arguments": {
"url": "https://www.federalregister.gov/api/v1/documents.json?per_page=2",
"mode": "gov_notices"
}
}
}
Run via Treg Hub (0% Seller Commission)
treg call harvest-anything --data '{"url": "https://www.federalregister.gov/api/v1/documents.json?per_page=2", "mode": "gov_notices"}'
Observed HarvestReceipt JSON Output
{
"ok": true,
"status_code": 200,
"mode": "gov_notices",
"url": "https://www.federalregister.gov/api/v1/documents.json?per_page=2",
"extracted": {
"notice_count": 2,
"earliest_deadline_iso": "2026-12-01",
"pagination": {
"next_url": "https://www.federalregister.gov/api/v1/documents?format=json&page=2&per_page=2"
}
},
"field_confidence": {
"notices": 0.92,
"deadline": 0.88,
"contact": 0.85
},
"source_line_refs": {
"title": {
"line": 1,
"end_line": 1,
"source_kind": "html_table"
}
},
"schema_valid": true,
"cache_hit": false,
"cache_tier": "live",
"billed_micros": 80000,
"zero_bill_reason": null,
"sha256_receipt": "1b83fc55367ba741000000000000000000000000000000000000000000000000"
}
Frequently Asked Questions
How does bounded pagination prevent runaway crawl costs?
The caller sets max_pages (default 3, max 10) and batch calls enforce a strict max_budget_micros cap up to $2.00 (2,000,000 micros).
Are extracted Federal Register deadlines normalized to ISO-8601?
Yes. Both publication dates and comment/submission deadlines are normalized into deadline_iso alongside field_confidence scores.
Does Harvest-Anything cache paginated results?
Verified stable responses enter the 7d-30d archive cache; new tenants hit cached records at 100% rate with zero upstream latency, and same-tenant rechecks pay 10%.