eCFR Regulations Lookup: CFR Text as Markdown avatar

eCFR Regulations Lookup: CFR Text as Markdown

Pricing

from $2.40 / 1,000 regulation sections

Go to Apify Store
eCFR Regulations Lookup: CFR Text as Markdown

eCFR Regulations Lookup: CFR Text as Markdown

Get US federal regulations (Code of Federal Regulations, eCFR) by citation, part or keyword: clean Markdown and text, agency, part and subpart headings, latest amendment date and history, source note and link. Point-in-time versions and an amended-since filter for change watching. No keys.

Pricing

from $2.40 / 1,000 regulation sections

Rating

0.0

(0)

Developer

Hydrocore Data

Hydrocore Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Look up US federal regulations from the official eCFR (Electronic Code of Federal Regulations) by citation ("21 CFR 101.9", "12 C.F.R. § 1026.18"), by whole part ("40 CFR part 60") or by keyword search, and get one clean row per section: heading, issuing agency, title, part and subpart headings, the latest amendment date with recent amendment history, the Federal Register source note, an ecfr.gov link, and the text as plain text and LLM-ready Markdown (tables become Markdown tables). Ask for the text as it read on any past date, or keep only sections amended since a date to watch for changes. No API keys needed.

✅ What you get

  • Citation, heading, agency, title and part names, subpart and subpart heading, section number
  • Latest amendment date, version count and recent amendment dates
  • Reserved flag, word count, eCFR link and Federal Register source note
  • Plain text and Markdown (tables as Markdown tables), cut near your limit
  • Search excerpt and query for keyword searches
  • summaryText sentence, eCFR up-to-date date, input and status

🏆 Why this Actor

  • Citations in, clean rows out: forgiving citation parsing (C.F.R., §, "part", ecfr.gov links), whole parts expanded to their sections, and duplicates removed before anything is charged.
  • Built for AI and RAG: Markdown with headings and real tables, cut at a paragraph or sentence end, plus a one-line summaryText and a full wordCount so you can budget tokens.
  • Change watching built in: last amended date, version count and the 5 latest amendment dates per section, an Amended since filter and a Changes view.
  • Point in time: the As of date returns the text in force on that date (eCFR history from 2017) with a dated link.
  • Fair billing: invalid citations, sections not found, duplicates and filtered rows are free.

💡 Use cases

Apify Store use cases: Compliance & risk checks · Feed AI agents & RAG · Monitor news & content

  • Compliance and GRC teams: pull the exact rules for a control list and watch them for amendments (schedule the run with Amended since)
  • Legal tech and RAG apps: load sections as clean Markdown chunks with stable citations and links
  • AI agents (ChatGPT, Claude, n8n, MCP): ground answers to "what does 21 CFR 101.9 require?" in the official text
  • Regulatory research: find every section that mentions a topic, sorted by most recently amended
  • Consultants and auditors: the text as it read on an audit or contract date

🚀 How to use

  1. Enter citations, one per line, and/or a search phrase.
  2. Optional: change the text length, sections per part, Amended since, As of date or the sort order.
  3. Run, then open Overview, Text for AI or Changes, or export.

⚙️ Input

FieldWhat it does
citationsSections, whole parts or ecfr.gov links. Default example: 21 CFR 101.9, 12 CFR 1026.18, 29 CFR 1910.1200.
searchOptional keywords for an eCFR full-text search (current sections only).
titlesOptional CFR title numbers to limit the search.
includeTextText and Markdown (default on).
maxTextCharsText length limit, default 20,000 characters.
maxSectionsPerPartSections kept per whole part, default 25.
amendedSinceKeep only sections amended on or after this date.
asOfDateReturn the text as it read on this date.
sortByInput order (default), most recently amended first, or title and section number.
maxResultsMost rows to save, default 25.

Example input:

{
"search": "artificial intelligence",
"sortBy": "recentlyAmended",
"amendedSince": "2024-01-01",
"maxResults": 5,
"maxTextChars": 1000
}

⬆️ Output

One row per section. recordType is section or status (a free row for a citation that was invalid or not found). Every row has the same 27 keys in the same order; missing values are null. The example is a real row from a test run of the current build (text and markdown shortened here).

Overview fields:

FieldTypeExampleDescription
citationstring"12 CFR 1026.18"Normalized citation, for example "21 CFR 101.9".
sectionHeadingstring"Content of disclosures."Section heading without the section number.
agencystring"Consumer Financial Protection Bureau"Issuing agency (the CFR chapter heading).
partHeadingstring"Truth in Lending (Regulation Z)"CFR part heading.
lastAmendedDatestring"2021-03-01"Date of the latest amendment in eCFR history (YYYY-MM-DD, history starts in 2017; older sections show their first eCFR date).
versionCountinteger6Number of versions of this section in eCFR history.
wordCountinteger2982Words in the whole section text (before any cut).
ecfrUrlstring"https://www.ecfr.gov/current/title-12/section-1026.18"Link to the section on ecfr.gov (the dated version when As of date is set).
statusstring"ok"ok, or why there is no section.

All 27 fields (in order): recordType, citation, sectionHeading, agency, titleNumber, titleName, partNumber, partHeading, subpart, subpartHeading, sectionNumber, lastAmendedDate, versionCount, recentAmendmentDates, isReserved, wordCount, ecfrUrl, sourceNote, searchExcerpt, text, markdown, summaryText, upToDateAsOf, searchQuery, inputValue, status, scrapedAt.

Real row from a test run of the current build:

{
"recordType": "section",
"citation": "12 CFR 1026.18",
"sectionHeading": "Content of disclosures.",
"agency": "Consumer Financial Protection Bureau",
"titleNumber": 12,
"titleName": "Banks and Banking",
"partNumber": "1026",
"partHeading": "Truth in Lending (Regulation Z)",
"subpart": "C",
"subpartHeading": "Closed-End Credit",
"sectionNumber": "1026.18",
"lastAmendedDate": "2021-03-01",
"versionCount": 6,
"recentAmendmentDates": [
"2021-03-01",
"2017-04-25",
"2017-01-01"
],
"isReserved": false,
"wordCount": 2982,
"ecfrUrl": "https://www.ecfr.gov/current/title-12/section-1026.18",
"sourceNote": "[76 FR 79772, Dec. 22, 2011, as amended at 78 FR 80108, Dec. 31, 2013]",
"searchExcerpt": null,
"text": "For each transaction other than a mortgage transaction subject to § 1026.19(e) and (f), the creditor shall disclose the following information as applicable:\n(a) Creditor. The identity of the creditor making the disclosures.\n(b) Amount financed. The amount financed, using that term, and a brief description such as the amount of credit provided to you or on your behalf. The amount financed is calcul …",
"markdown": "# 12 CFR 1026.18 Content of disclosures.\n\nFor each transaction other than a mortgage transaction subject to § 1026.19(e) and (f), the creditor shall disclose the following information as applicable:\n\n(a) *Creditor.* The identity of the creditor making the disclosures.\n\n(b) *Amount financed.* The *amount financed,* using that term, and a brief description such as *the amount of credit provided to y …",
"summaryText": "12 CFR 1026.18 (Content of disclosures), issued by Consumer Financial Protection Bureau. Part 1026: Truth in Lending (Regulation Z). Last amended 2021-03-01 (6 versions in eCFR history). 2,982 words. eCFR text current as of 2026-11-09.",
"upToDateAsOf": "2026-11-09",
"searchQuery": null,
"inputValue": "12 CFR 1026.18",
"status": "ok",
"scrapedAt": "2026-11-12T21:24:54.991Z"
}

Views: Overview, Text for AI, Changes, Detailed (all fields). Export as JSON, CSV, Excel, XML or HTML from the Storage tab or the API (/datasets/{id}/items?format=csv&view=overview). The run summary (OUTPUT record in the key-value store) counts citations, sections requested, saved, not found, duplicates, filtered rows, rows over the cap and search hits.

💰 Pricing

Competitive pricing, pay per result: $0.003 per regulation section on the Free plan, less on higher plans, plus the $0.0005 Actor start. 1,000 sections cost about $3 on Free, with headings, agency, amendment history and Markdown included. Invalid citations, sections not found, duplicates and filtered rows are free.

EventWhat it isFreeBronzeSilverGold+
Regulation sectionOne CFR section saved (headings, agency, amendment history, text and Markdown). Invalid, not-found, duplicate and filtered rows are free.$0.003$0.0028$0.0026$0.0024
Actor startOnce per run (Apify standard start event, per GB of memory; the default 256 MB = one fee)$0.0005$0.0005$0.0005$0.0005

🔁 Integrations

Works with the Apify API, MCP (AI agents), Make, n8n, Zapier, Google Sheets and webhooks. Field names are stable camelCase, so mappings do not break between runs.

❓ FAQ

Where does the data come from?

The official eCFR API at ecfr.gov, run by the Office of the Federal Register (National Archives) and the Government Publishing Office. It is public and needs no key.

Is the eCFR the official legal edition?

The eCFR is an authoritative but unofficial editorial compilation of the CFR, updated daily. The official legal edition is the annual CFR on govinfo.gov. upToDateAsOf shows how current each title is.

Which citation formats work?

"21 CFR 101.9", "21 C.F.R. § 101.9", "12 cfr 1026.18", "26 CFR 1.224-1", "40 CFR part 60" and ecfr.gov section or part links. Anything else gives a free status row.

What happens with a whole part?

"40 CFR part 60" is expanded to its sections in order and the first Sections per part (default 25) are kept; the log says how many the part has. Reserved sections are skipped.

How do I watch for changes?

Save your citations, set Amended since to the date of your last run and schedule the Actor. Only sections with a newer amendment are saved and charged. recentAmendmentDates shows the latest 5 dates.

How far back does lastAmendedDate go?

eCFR version history starts in January 2017. A section not amended since then shows its first eCFR date and versionCount 1.

Can I get an old version of a rule?

Yes. Set As of date (YYYY-MM-DD, 2017 or later) and the text, headings and link are for that date. Search always looks at current sections.

How does search work?

It uses the eCFR full-text search on current sections, best matches first, and adds the matching excerpt. Sorting and filters apply to the best matches the Actor reads (about twice Max results, at least 50).

Is it good for AI agents?

Yes. Citation in, one row out with markdown, summaryText, wordCount and stable field names with descriptions in the dataset schema. Use Max characters of text to control the token size.

Is this legal advice?

No. It is reference data. Always check the linked eCFR page and the Federal Register for the legal effect of a rule.

Ready-made examples

🛟 Support

Found a problem or need a field? Open an issue on the Issues tab; we read every issue.

Changelog

  • 1.0 (2026-11-12): first release.