Cornell LII API
law.cornell.edu
Cornell LII - CFR and U.S. Code navigation with full section text.
- Actions
- 9
- Category
- Government Legal
- Login
- Not required
- Output
- JSON
Call the Cornell LII API
Submit a task, then poll the job until it settles. This example runs act_law_cornell_edu_cfr_chapter_toc.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_law_cornell_edu_cfr_chapter_toc",
"params": {
"cfr_title": "5",
"chapter_slug": "chapter-I"
}
}'9 actions on law.cornell.edu
Read
CFR Chapter Contents
act_law_cornell_edu_cfr_chapter_tocread2 credits / callReturns CFR chapter contents with subchapter and part links, paths, and navigation.
- cfr_title
- string · required
- chapter_slug
- string · required
CFR Contents Index
act_law_cornell_edu_cfr_toc_indexread1 credit / callReturns the CFR e-CFR root contents index with title links, paths, and listing metadata.
CFR Part Contents
act_law_cornell_edu_cfr_part_tocread2 credits / callReturns the CFR part section list with prev/next navigation and structured section paths.
- cfr_title
- string · required
- part_slug
- string · required
CFR Section Details
act_law_cornell_edu_cfr_section_detailread2 credits / callReturns full CFR section text, heading, citation metadata, and prev/next navigation.
- cfr_title
- string · required
- section_slug
- string · required
CFR Subchapter Contents
act_law_cornell_edu_cfr_subchapter_tocread2 credits / callReturns the CFR subchapter part listing and section links with paths.
- cfr_title
- string · required
- chapter_slug
- string · required
- subchapter_slug
- string · required
CFR Title Contents
act_law_cornell_edu_cfr_title_tocread1 credit / callReturns CFR title-level chapter and part navigation links with paths and listing items.
- cfr_title
- string · required
US Code Contents Index
act_law_cornell_edu_uscode_toc_indexread1 credit / callReturns the U.S. Code root contents index with title links, paths, and listing metadata.
US Code Section Details
act_law_cornell_edu_uscode_section_detailread2 credits / callReturns full U.S. Code section text, heading, citation metadata, and navigation.
- usc_title
- string · required
- section_number
- string · required
US Code Title Contents
act_law_cornell_edu_uscode_title_tocread1 credit / callReturns U.S. Code title-level contents with chapter and section links for a title.
- usc_title
- string · required
Cornell LII API questions
- Is there an API for Cornell LII?
- Cornell LII does not offer a public data API for this, but Anakin Wire provides 9 maintained endpoints for law.cornell.edu. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Cornell LII data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when law.cornell.edu changes its markup, Anakin updates the action.
- Do I need a Cornell LII account?
- No. Every Cornell LII action listed here runs anonymously — no account and no credentials required.
- What does the Cornell LII API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Government Legal APIs
Arizona State Bar
Arizona State Bar - attorney profiles, directory search, meeting calendar, and discipline records.
Avvo
Attorney directory - lawyer search by practice area, listings, and full profiles.
BOE (Spain)
Spain's official gazette - BOE, BORME, and consolidated legislation search and detail.
Bundesanzeiger
German federal gazette - company filings and publication detail retrieval.
Buy NSW
NSW procurement portal - contract notices, tenders, supplier panels, and standing offers.
CanLII
Canadian legal institute - court decisions, statutes, and legal databases.