TL;DR
The Federal Register API provides searchable access to all US federal agency documents published in the Federal Register — including proposed rules, final rules, presidential documents, notices, and corrections. Each document includes the full text, effective dates, document numbers, CFR citations, and agency metadata. No API key required. The Federal Register is the daily journal of the US government, so this API is essential for regulatory compliance, legal research, and monitoring federal policy changes.
Quick start: https://www.federalregister.gov/api/v1/documents.json
No API key needed — US government open data!
How to Use This API
1. List Recent Documents
https://www.federalregister.gov/api/v1/documents.json
Returns the most recent 20 documents with titles, dates, agencies, and URLs.
2. Search by Agency and Type
Find proposed rules from the EPA:
https://www.federalregister.gov/api/v1/documents.json?conditions[agencies][]=environmental-protection-agency&conditions[document_type]=proposed_rule
3. JavaScript — Search and Display
const url = 'https://www.federalregister.gov/api/v1/documents.json?' +
'conditions[agencies][]=sec-securities-and-exchange-commission&' +
'conditions[document_type]=rule&per_page=5';
fetch(url)
.then(r => r.json())
.then(data => {
console.log('Total results:', data.count);
data.results.forEach(doc => {
console.log(doc.title);
console.log(' Published:', doc.publication_date);
console.log(' FR Doc:', doc.document_number);
});
});
4. Python — Monitor New Rules by Keyword
import requests
params = {
'conditions[term]': 'artificial intelligence',
'conditions[document_type]': 'rule',
'order': 'newest',
'per_page': 10
}
r = requests.get('https://www.federalregister.gov/api/v1/documents.json', params=params)
data = r.json()
for doc in data['results']:
print(f"{doc['publication_date']}: {doc['title'][:80]}...")
print(f" Agency: {doc['agency_names'][0] if doc['agency_names'] else 'N/A'}")
https://www.federalregister.gov/api/v1/documents.json?per_page=3
Frequently Asked Questions
- What document types are available?
- Rule (final rule), Proposed Rule, Notice, Presidential Document, Correction, and Withdrawal — each with its own filter.
- How far back does the API reach?
- The API covers Federal Register documents from 1994 to present. Earlier documents are available through the GovInfo system.
- Can I search by CFR title and part?
- Yes — use
conditions[cfr][title]andconditions[cfr][part]to find regulations affecting specific parts of the Code of Federal Regulations. - What metadata is returned per document?
- Title, publication date, agency names, document number, CFR citations, effective dates, comment end date (for proposed rules), HTML URL, PDF URL, and abstract.
- Is there a rate limit?
- The Federal Register API is generously rate-limited for non-commercial use. They ask that you cache results and not hit the API more than necessary.
- Can I get the full text of a document?
- Yes — each document JSON includes an
abstractfield plus URLs to the full HTML and PDF versions. The full text can also be accessed via the document endpoint.
API Details
- API URL
https://www.federalregister.gov/api/v1/documents.json- Documentation
- federalregister.gov/developer-resources
- Category
- Government
- Authentication
- Not Required
- Geographic Coverage
- United States — all federal agencies and regulations
What You Can Build
- Regulatory compliance monitor for specific industries (SEC, EPA, FDA)
- Federal policy RSS feed with keyword alerts for new rules
- Historical analysis of regulatory volume by presidential administration
- Comment period tracker for proposed rules open for public feedback
- CFR cross-reference tool showing which regulations are being modified