Public records provider · 2 capabilities

Code of Federal Regulations (eCFR) API for AI agents and assistants

Full text of current Electronic Code of Federal Regulations (eCFR) sections by CFR citation or title and part range, with headings, structured metadata and source URLs. Available to your AI agents via Firecrawl Alexandria.

Try Code of Federal Regulations (eCFR) with
Firecrawl Alexandria

Choose an example or ask your own question.

Code of Federal Regulations (eCFR)
TRY ASKING

Playground

Try the Code of Federal Regulations (eCFR) API via Firecrawl Alexandria

Pick a capability, fill in its inputs and run it, or copy the JavaScript, Python, cURL or CLI code.

1Request
numberRequired

CFR title.

numberRequired

First part.

number

Last part, inclusive. Defaults to partFrom.

number

Most records per page, 1 to 25. Default 25.

string

nextCursor from the previous page, sent with the same range options. A cursor reads the snapshot it started on; when a new release replaces it the call fails with snapshot_changed.

number

Most Markdown characters returned per record. Default 40000; read the rest of a long one with the get capability's offset.

1 credit per record
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "firecrawl-ecfr",
    capability: "cfr/list",
    options: {
      title: 10,
      partFrom: 10,
      limit: 25,
      maxChars: 40000,
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from Code of Federal Regulations (eCFR).

datasetsnapshotIdiddocIdsourceUrltitledocTypepublishedAtfieldsmarkdowntextlicense

Connect

Use the Code of Federal Regulations (eCFR) API in your agent via Firecrawl Alexandria

Connect Firecrawl once and your agent can call Code of Federal Regulations (eCFR) and every other provider in Alexandria.

  1. Setup guide for

    01

    Connect your agent to Firecrawl Alexandria

    Add Firecrawl to Claude, ChatGPT, Cursor or your own agent, signed in on a team with Alexandria enabled. One API key from that team reaches Code of Federal Regulations (eCFR) and every other provider in Alexandria.

  2. 02

    Ask in plain language

    Tell your agent what you need from Code of Federal Regulations (eCFR). Alexandria finds the capability that fits, and your agent runs it.

    • CFR section by CFR citation1 / record
    • CFR sections in a part range1 / record
    One Firecrawl billFirecrawl credits

    03

    Pay per use

    Each Code of Federal Regulations (eCFR) call costs Firecrawl credits, all on one Firecrawl bill, so you pay only for what your agent uses.

Why Alexandria

Why use Firecrawl Alexandria

What you get when your agent calls Code of Federal Regulations (eCFR) through Alexandria instead of a one-off integration.

  • API KEYfc-••••3f2aCode of Federal…Web searchScrapeData providers
    01

    One key for every provider

    • No separate Code of Federal Regulations (eCFR) account, contract or API key. Calls are billed in Firecrawl credits.
    • The same key reaches Alexandria's data providers plus Firecrawl's web search and scraping.
  • CAPABILITYcfr/getINidsstring[]REQUIREDINincludestring[]OUTresponsejson
    02

    Built for agents

    • Every capability has documented inputs and outputs your agent can read before it calls.
    • Searching Alexandria for the capability that fits is free, through MCP, the CLI or the API.
  • NOT ENOUGH CALLS TO BENCHMARK YETQualitySpeedCost
    03

    Measured in public

    • Quality, speed and cost benchmarks come from real agent calls across every Alexandria user.
    • Category benchmarks compare providers side by side, so you can see which one works best.
  • SOC 2 TYPE II
    04

    Secure by default

    • Firecrawl is SOC 2 Type II compliant, and the annual renewal audit is in progress.

Benchmarks

Code of Federal Regulations (eCFR) API benchmarks via Firecrawl Alexandria

Quality, speed and cost, last 24 hours, across every agent call to Code of Federal Regulations (eCFR) through Alexandria.

Fewer than 20 calls in the last 24 hours, so there is not enough to report yet.

FAQ

Code of Federal Regulations (eCFR) API via Firecrawl Alexandria FAQs

What is Firecrawl Alexandria?
Firecrawl Alexandria is Firecrawl's library of data providers for AI agents, Code of Federal Regulations (eCFR) among them. Each provider returns structured data through documented capabilities, and your agent reaches all of them, along with Firecrawl's web search and scraping, from Claude, ChatGPT, Cursor, the MCP server, the CLI or the API. Alexandria needs a Firecrawl account on a team with Alexandria enabled, or an API key from one; keyless connections don't include it.
How do I use the Code of Federal Regulations (eCFR) API with Firecrawl Alexandria?
Connect Firecrawl to Claude, ChatGPT, Cursor or another AI tool, signed in on a team with Alexandria enabled, and ask for what you need: your agent searches Alexandria, finds Code of Federal Regulations (eCFR) and calls it. From your own code, search Alexandria for the Code of Federal Regulations (eCFR) capability you need with the Firecrawl API, SDKs or CLI, then call it with your API key. Either way you don't write any Code of Federal Regulations (eCFR) integration code.
Do I need a Code of Federal Regulations (eCFR) account or API key?
No. Calls to Code of Federal Regulations (eCFR) run through Alexandria and are billed in Firecrawl credits, so you don't need a separate Code of Federal Regulations (eCFR) account, contract or API key.
How much does the Code of Federal Regulations (eCFR) API cost through Alexandria?
Each call costs 1 Firecrawl credit per billed unit, so the total depends on how much data it returns. The capabilities list on this page shows the price of each one, and finding the right capability is free.
Can I combine Code of Federal Regulations (eCFR) with other data providers?
Yes. Your agent can call Code of Federal Regulations (eCFR) alongside the live web and any other provider in Alexandria, with the same Firecrawl account.

Related

Other Public records providers, on the same Firecrawl API key.

//
Get started
//
Give your agent Code of Federal Regulations (eCFR).
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options