legislation.gov.uk API vs eCFR API
legislation.gov.uk APIby The National Archives (UK)Paid fromNot statedAccessHTTPAgentsNot statedAPI QA score[SCORE]View API
eCFR APIby eCFR (Office of the Federal Register and GPO)Paid fromNot statedAccessHTTPAgentsNot statedAPI QA score[SCORE]View API
Fact by fact
6 different10 stated by only one2 the same on both
The basics
Made bylegislation.gov.uk API: The National Archives (UK)eCFR API: eCFR (Office of the Federal Register and GPO)
What it islegislation.gov.uk API: Consolidated UK legislation in several formatseCFR API: Free, keyless REST API to the Electronic Code of Federal Regulations: titles, structure, full text, search and point-in-time versions
Accesslegislation.gov.uk API: HTTPeCFR API: HTTP
Still on salelegislation.gov.uk API: YeseCFR API: Yes
What they work on
BothStatute
Buying and paying
Agent gets a key alonelegislation.gov.uk API: Not statedeCFR API: Yesno credential needed
First call without a keylegislation.gov.uk API: Not statedeCFR API: YesGET /api/versioner/v1/titles.json returned 200 with no key
Payment railslegislation.gov.uk API: Not statedeCFR API: nonefree
Payment protocolslegislation.gov.uk API: Not statedeCFR API: nonefree
Subscription requiredlegislation.gov.uk API: Not statedeCFR API: Nofree
Smallest purchase (USD)legislation.gov.uk API: Not statedeCFR API: From $0free
Price published as datalegislation.gov.uk API: Not statedeCFR API: Nono price to read
Pay per calllegislation.gov.uk API: NoeCFR API: Not stated
Reading and signing up
Public priceslegislation.gov.uk API: YeseCFR API: Yesfree public service
Self-serve sign-uplegislation.gov.uk API: YeseCFR API: Yesno account needed
Free uselegislation.gov.uk API: YeseCFR API: Yesfree
OpenAPIlegislation.gov.uk API: NoeCFR API: Not stated
Docs without loginlegislation.gov.uk API: YeseCFR API: YesAPI reference readable without an account
llms.txtlegislation.gov.uk API: Not statedeCFR API: Yeswww.ecfr.gov/llms.txt
Jobs both do
Open a job to see every API that does it.

