VOOZH about

URL: https://apify.com/parseforge/ecfr-code-federal-regulations-scraper

โ‡ฑ eCFR US Federal Regulations Scraper - Code of Federal Rules ยท Apify


๐Ÿ‘ eCFR US Federal Regulations Scraper avatar

eCFR US Federal Regulations Scraper

Pricing

from $32.40 / 1,000 results

Go to Apify Store

eCFR US Federal Regulations Scraper

Scrape the US Code of Federal Regulations from eCFR public API. Get title structure, chapters, parts, sections, amendment history, full regulation text. No API key required.

Pricing

from $32.40 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Share

๐Ÿ‘ ParseForge Banner

โš–๏ธ eCFR US Federal Regulations Scraper

๐Ÿš€ Search and export the US Code of Federal Regulations in seconds. Run full-text queries across every title, chapter, part, and section. No API key, no registration, no manual CSV wrangling.

๐Ÿ•’ Last updated: 2026-05-12 ยท ๐Ÿ“Š Up to 28 fields per record ยท ๐Ÿ‡บ๐Ÿ‡ธ 50 CFR titles ยท ๐Ÿ“š Full-text search across all parts ยท โ™ป๏ธ Live per run

The eCFR US Federal Regulations Scraper pulls structured records from the Electronic Code of Federal Regulations, the official up-to-date version of US federal regulations published by the National Archives. The Actor supports two modes: full-text search across every regulation (returning matching sections with hierarchy, excerpts, scores, and effective dates) and titles browse (returning the 50 CFR titles with their latest amendment metadata).

eCFR is updated continuously as agencies publish final rules in the Federal Register, with currency stamps showing how recent the published text is for each title. Whether you are tracking regulatory references in privacy law, federal acquisition rules, food and drug regulations, or environmental policy, this Actor returns the official text in clean JSON without browser automation or login workflows.

๐ŸŽฏ Target Audience๐Ÿ’ก Primary Use Cases
Compliance and legal teams, policy analysts, RegTech vendors, government affairs, academics, journalists, GovTech vendors, ML researchersRegulatory monitoring, compliance crosswalks, citation extraction, RegTech datasets, policy research, training data for legal AI

๐Ÿ“‹ What the eCFR US Federal Regulations Scraper does

Two modes in a single Actor:

  • ๐Ÿ” Search mode. Full-text search across every CFR title with hit scoring, hierarchy, and excerpts.
  • ๐Ÿ“š Titles mode. Browse the 50 CFR titles with their latest amendment dates and currency stamps.
  • ๐Ÿชœ Full hierarchy. Every search hit includes title, subtitle, chapter, subchapter, part, subpart, subject group, and section.
  • ๐Ÿ“… Effective dates. startsOn and endsOn per hit, plus title-level latestAmendedOn and upToDateAsOf.
  • ๐Ÿท๏ธ Change types. Each hit lists the change types that produced it (effective, initial, amended, etc.).

In search mode, each record includes the type (section, part, appendix), heading hierarchy, structured URL, hit excerpt, score, structure index, reserved and removed flags, and effective dates. In titles mode, each record includes the title number, name, latest amendment date, latest issue date, currency stamp, and reserved flag.

๐Ÿ’ก Why it matters: the CFR runs to over 200,000 pages. Searching for regulatory references manually is slow, and bulk PDF dumps go stale. eCFR is the daily authoritative version, but its API output requires custom parsing. This Actor flattens search results and title metadata into query-ready tables on every run.


๐ŸŽฌ Full Demo

๐Ÿšง Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded dataset.


โš™๏ธ Input

InputTypeDefaultBehavior
modestring"search"Either search (full-text) or titles (browse the 50 CFR titles).
querystring"privacy"Free-text query. Required in search mode, ignored in titles mode.
maxItemsinteger10Records to return. Free plan caps at 10, paid plan at 1,000,000.

Example: 100 sections mentioning privacy.

{
"mode":"search",
"query":"privacy",
"maxItems":100
}

Example: browse all CFR titles.

{
"mode":"titles",
"maxItems":50
}

โš ๏ธ Good to Know: the search endpoint returns hierarchy headings as HTML, which the Actor strips to plain text. The excerpt field highlights matched passages around the query terms. Search hits include sections, parts, appendices, and subtitles, distinguished by the type field.


๐Ÿ“Š Output

Each search hit contains 28 fields, each title record contains 9 fields. Download the dataset as CSV, Excel, JSON, or XML.

๐Ÿงพ Schema (search mode)

FieldTypeExample
๐Ÿท๏ธ modestring"search"
๐Ÿ—‚๏ธ typestring"Section"
๐Ÿ“š titlestring | null"Domestic Security"
๐Ÿ“š subtitlestring | null""
๐Ÿ“š chapterstring | null"Privacy and Civil Liberties Oversight Board"
๐Ÿ“š subchapterstring | null""
๐Ÿ“š partstring | null"Implementation of the Privacy Act of 1974"
๐Ÿ“š subpartstring | null""
๐Ÿ“š subjectGroupstring | null""
๐Ÿ“š sectionstring | null"Privacy Act requests."
๐Ÿ“š appendixstring | null""
๐Ÿ”— urlstring"https://www.ecfr.gov/current/title-6/chapter-X/part-1002/section-1002.3"
๐Ÿ”ข titleNumstring | null"6"
๐Ÿ”ข chapterNumstring | null"X"
๐Ÿ”ข partNumstring | null"1002"
๐Ÿ”ข subpartNumstring | nullnull
๐Ÿ”ข sectionNumstring | null"1002.3"
๐Ÿ“ฐ sectionHeadingstring | null"Privacy Act requests."
๐Ÿ“ฐ partHeadingstring | null"Implementation of the Privacy Act of 1974"
๐Ÿ’ฌ excerptstring"request to the Privacy Act Officer..."
๐Ÿ“… startsOnISO 8601 | null"2016-12-22"
๐Ÿ“… endsOnISO 8601 | nullnull
๐Ÿ’ฏ scorenumber | null33.469017
๐Ÿ”ข structureIndexnumber | null10415
๐Ÿ”’ reservedboolean | nullfalse
๐Ÿ—‘๏ธ removedboolean | nullfalse
๐Ÿท๏ธ changeTypesstring[]["effective", "initial"]
๐Ÿ•’ scrapedAtISO 8601"2026-05-12T16:30:12.756Z"

๐Ÿงพ Schema (titles mode)

FieldTypeExample
๐Ÿท๏ธ modestring"titles"
๐Ÿ”ข numbernumber1
๐Ÿ“ฐ namestring"General Provisions"
๐Ÿ”— urlstring"https://www.ecfr.gov/current/title-1"
๐Ÿ“… latestAmendedOnISO 8601 | null"2026-04-30"
๐Ÿ“… latestIssueDateISO 8601 | null"2026-04-30"
๐Ÿ“… upToDateAsOfISO 8601 | null"2026-05-08"
๐Ÿ”’ reservedbooleanfalse
๐Ÿ•’ scrapedAtISO 8601"2026-05-12T16:30:12.756Z"

๐Ÿ“ฆ Sample records


โœจ Why choose this Actor

Capability
๐Ÿ‡บ๐Ÿ‡ธOfficial eCFR feed. Pulls from the National Archives' Electronic Code of Federal Regulations, the up-to-date authoritative version.
๐ŸชœFull hierarchy. Title, subtitle, chapter, subchapter, part, subpart, subject group, and section per hit.
๐Ÿ“šTwo modes. Search returns matching sections with excerpts and scores. Titles mode lists every CFR title with amendment metadata.
๐Ÿ“…Effective dates. startsOn, endsOn, and title-level currency stamps tell you exactly how fresh each rule is.
โšกFast. Up to 100 search hits per page, 10,000 records in around fifteen minutes.
๐Ÿ”Always fresh. Every run pulls live eCFR data so newly published rules appear within hours.
๐ŸšซNo authentication. Works with public regulatory data. No login or API key needed.

๐Ÿ“Š The CFR is the codified body of US federal regulations, organised by subject across 50 titles. eCFR is the daily authoritative version.


๐Ÿ“ˆ How it compares to alternatives

ApproachCostCoverageRefreshFiltersSetup
โญ eCFR US Federal Regulations Scraper (this Actor)$5 free credit, then pay-per-useAll 50 CFR titlesLive per runfull-text queryโšก 2 min
Official eCFR search UIFreeSame data, manualLiveUI filters๐Ÿข Manual export per query
Government Publishing Office bulk dumpsFreeAnnual snapshotYearlyNone๐Ÿ•’ Multi-day ETL
Paid regulatory intelligence platforms$1,000+/monthMulti-jurisdictionDailyManyโณ Vendor onboarding

Pick this Actor when you want the live CFR in clean JSON, with server-side full-text search and zero pipeline maintenance.


๐Ÿš€ How to use

  1. ๐Ÿ“ Sign up. Create a free account with $5 credit (takes 2 minutes).
  2. ๐ŸŒ Open the Actor. Go to the eCFR US Federal Regulations Scraper page on the Apify Store.
  3. ๐ŸŽฏ Set input. Pick search or titles mode, enter a query if searching, and set maxItems.
  4. ๐Ÿš€ Run it. Click Start and let the Actor collect your data.
  5. ๐Ÿ“ฅ Download. Grab your results in the Dataset tab as CSV, Excel, JSON, or XML.

โฑ๏ธ Total time from signup to downloaded dataset: 3-5 minutes. No coding required.


๐Ÿ’ผ Business use cases

โš–๏ธ Compliance & Legal

  • Track CFR references in your compliance manuals
  • Build internal regulatory crosswalks across agencies
  • Audit which sections of CFR apply to your operations
  • Spot newly effective rules in your jurisdiction

๐Ÿ›๏ธ Government Affairs & Policy

  • Monitor regulatory changes by agency
  • Quantify rulemaking activity per title over time
  • Brief leadership on incoming federal rules
  • Map rule changes to legislative initiatives

๐Ÿง  RegTech & Legal AI

  • Train and fine-tune legal LLMs on CFR text
  • Build citation extractors and validators
  • Power regulatory chatbots with grounded references
  • Create searchable in-product compliance views

๐Ÿ“ฐ Journalism & Research

  • Investigate specific rules and amendment histories
  • Compare regulatory texts before and after reform
  • Cite specific sections and effective dates in stories
  • Academic studies of US regulatory growth and reform

๐ŸŒŸ Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

๐ŸŽ“ Research and academia

  • Empirical datasets for papers, thesis work, and coursework
  • Longitudinal studies tracking changes across snapshots
  • Reproducible research with cited, versioned data pulls
  • Classroom exercises on data analysis and ethical scraping

๐ŸŽจ Personal and creative

  • Side projects, portfolio demos, and indie app launches
  • Data visualizations, dashboards, and infographics
  • Content research for bloggers, YouTubers, and podcasters
  • Hobbyist collections and personal trackers

๐Ÿค Non-profit and civic

  • Transparency reporting and accountability projects
  • Advocacy campaigns backed by public-interest data
  • Community-run databases for local issues
  • Investigative journalism on public records

๐Ÿงช Experimentation

  • Prototype AI and machine-learning pipelines with real data
  • Validate product-market hypotheses before engineering spend
  • Train small domain-specific models on niche corpora
  • Test dashboard concepts with live input

๐Ÿ”Œ Automating eCFR US Federal Regulations Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

  • ๐ŸŸข Node.js. Install the apify-client NPM package.
  • ๐Ÿ Python. Use the apify-client PyPI package.
  • ๐Ÿ“š See the Apify API documentation for full details.

The Apify Schedules feature lets you trigger this Actor on any cron interval. Hourly, daily, or weekly refreshes keep downstream databases in sync automatically.


โ“ Frequently Asked Questions

๐Ÿงฉ How does it work?

Pick a mode, optionally provide a search query, click Start, and the Actor calls the official eCFR JSON API, flattens hierarchy headings, strips HTML, and emits clean JSON. No browser automation, no captchas, no setup.

๐Ÿ“ How accurate is the data?

Records come straight from the official National Archives eCFR, which is the daily authoritative version of US federal regulations. Effective dates are sourced from the Federal Register and reflected in startsOn, endsOn, and upToDateAsOf per record.

๐Ÿ” How often is the dataset refreshed?

eCFR is updated continuously as agencies publish final rules in the Federal Register. Every run of this Actor fetches the live API, so your dataset reflects the same currency stamps the official site shows.

๐Ÿ“š Can I get the full regulation text per section?

Search mode returns excerpts around matched terms, not the full body text. For full section text, follow the url field per record to the official eCFR rendering. A bulk full-text companion is on the roadmap.

โฐ Can I schedule regular runs?

Yes. Use Apify Schedules to run this Actor on any cron interval (hourly, daily, weekly) and keep a downstream database in sync.

โš–๏ธ Is this data legal to use?

eCFR is a US government publication and is in the public domain. It is intended for unrestricted public use, including for commercial purposes.

๐Ÿ’ผ Can I use this data commercially?

Yes. US federal regulations are in the public domain. Many RegTech, legal AI, and compliance products are built on this same feed.

๐Ÿ’ณ Do I need a paid Apify plan to use this Actor?

No. The free Apify plan is enough for testing and small runs (10 records per run). A paid plan lifts the limit and gives you access to scheduling, higher concurrency, and larger datasets.

๐Ÿ” What happens if a run fails or gets interrupted?

Apify automatically retries transient errors. If a run still fails, you can inspect the log in the Runs tab, fix the input, and re-run. Partial datasets from failed runs are preserved so you never lose progress.

๐Ÿ”ข What is structureIndex?

A stable position pointer within the CFR structure that the eCFR API uses to order hits. It is useful for joining results against the structured CFR XML and tracking position changes over time.

๐Ÿ†˜ What if I need help?

Our support team is here to help. Contact us through the Apify platform or use the Tally form linked below.


๐Ÿ”Œ Integrate with any app

eCFR US Federal Regulations Scraper connects to any cloud service via Apify integrations:

  • Make - Automate multi-step workflows
  • Zapier - Connect with 5,000+ apps
  • Slack - Get run notifications in your channels
  • Airbyte - Pipe regulatory data into your warehouse
  • GitHub - Trigger runs from commits and releases
  • Google Drive - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh regulation data into your compliance system, or alert your legal team in Slack when target sections change.


๐Ÿ”— Recommended Actors

๐Ÿ’ก Pro Tip: browse the complete ParseForge collection for more reference-data scrapers.


๐Ÿ†˜ Need Help? Open our contact form to request a new scraper, propose a custom data project, or report an issue.


โš ๏ธ Disclaimer: this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the National Archives, the Government Publishing Office, or any US government body. All trademarks mentioned are the property of their respective owners. Only publicly available public-domain regulatory data is collected.

You might also like

eCFR Regulations Search โ€” Full-Text Federal Regulations API

compute-edge/ecfr-regulations-search-scraper

Search the Electronic Code of Federal Regulations (eCFR) API to extract full-text regulation data with enriched citations, regulatory hierarchy, and LLM-ready excerpts. Filter by query term and result count.

eCFR US Federal Agencies Scraper

compute-edge/ecfr-agencies-scraper

Extract every US federal agency and sub-agency from the eCFR with the CFR titles and chapters they administer. Useful for govtech, compliance, federal contracting, and lobbying research.

US Federal Law & Regulation API

lentic_clockss/us-federal-law-search

Search 4 federal legal databases โ€” eCFR titles, Federal Register documents, GovInfo legal collections, and Federal Court Opinions (CourtListener) โ€” via the SIP Public Data Gateway.

Regulations.gov Scraper

automation-lab/regulations-gov-scraper

Extract federal regulatory data from Regulations.gov โ€” search documents, track dockets, and scrape public comments from 100+ agencies. Uses official API, no key required.

๐Ÿ‘ User avatar

Stas Persiianenko

6

Federal Register Intelligence

benthepythondev/federal-register-intelligence

Extract US federal regulations, rules, notices, and proposed regulations from the official Federal Register. Track regulatory changes affecting your industry, find public comment periods, monitor agency actions from EPA, SEC, FDA, and 400+ agencies.

Federal Register Scraper | Daily US Rulemaking Notices

parseforge/federalregister-scraper

Extract structured data from the US Federal Register: rules, proposed rules, notices, and presidential documents. Filter by agency, document type, and publication date. Ideal for compliance teams, policy analysts, and legal researchers tracking US regulations.