Public records provider · 4 capabilities
Justia Law API for AI agents and assistants
Justia's free U.S. law pages: state code hierarchies, current statute section text and court opinion pages. Available to your AI agents via Firecrawl Alexandria.
Try Justia Law with
Firecrawl Alexandria
Choose an example or ask your own question.
Capabilities
Justia Law API capabilities via Firecrawl Alexandria
4 capabilities your agent can call with one Firecrawl API key. Open one to try it below.
- StatesList the jurisdictions this workflow can read statutes for: all 50 states, DC, Puerto Rico, Guam and the U.S. Virgin Islands, each with its USPS code, name, Justia slug and the URL of its code index. No network request.0 credits
- Statute browseList one level of a state's statutory code on Justia: the codes/titles of the newest edition when `path` is omitted, otherwise the parts, chapters, articles or sections under that Justia codes path. Each entry carries its name, path, URL, kind (container, section or text) and the `[start - end]` section range when Justia prints one. Accepts a pasted law.justia.com/codes/ listing URL instead of state/path. Use it to walk from a state to a section path for statute_section.5 credits
- Statute sectionCurrent text of one statute section from Justia, identified by a pasted law.justia.com/codes/ section `url`, by `state` plus Justia codes `path` (from statute_browse), or by `state`, `code` and `section` number as cited (484, 31.03, 18-4-401, 9A.56.020, 2C:20-3), which the program resolves by walking the code's hierarchy (printed section ranges, then chapter/article/part numbers, then a bounded scan). New York, Delaware, North Carolina, Maine, Vermont and Massachusetts need `path` or `url`. Returns the citation, year, breadcrumb hierarchy, plain text, optional HTML and neighbouring section URLs.5 credits
- Case opinionOne court opinion page from Justia's case law (law.justia.com/cases/...), read from a pasted opinion URL: case title, case name, court, citation, docket number, decision date, Justia's opinion summary when present, the opinion text when Justia publishes it as HTML, the cases.justia.com PDF link when the opinion is published as a PDF, and the breadcrumb trail (jurisdiction, court, year).5 credits
Playground
Try the Justia Law API via Firecrawl Alexandria
Pick a capability, fill in its inputs and run it, or copy the JavaScript, Python, cURL or CLI code.
const result = await firecrawl.scrape({
alexandria: {
provider: "law-justia-com",
capability: "statutes/states",
options: {},
},
});This is a sample shape. Press Run to see live data from Justia Law.
- count
- 54
- observed_at_ms
- 1794096000000
- source_url
- https://law.justia.com/codes/
Connect
Use the Justia Law API in your agent via Firecrawl Alexandria
Connect Firecrawl once and your agent can call Justia Law and every other provider in Alexandria.
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 Justia Law and every other provider in Alexandria.
02
Ask in plain language
Tell your agent what you need from Justia Law. Alexandria finds the capability that fits, and your agent runs it.
States0 credits
Statute browse5 credits
Statute section5 credits
One Firecrawl billFirecrawl credits03
Pay per use
Each Justia Law 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 Justia Law through Alexandria instead of a one-off integration.
- 01
One key for every provider
- No separate Justia Law 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.
- 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.
- 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.
- 04
Secure by default
- Firecrawl is SOC 2 Type II compliant, and the annual renewal audit is in progress.
- Zero data retention on Firecrawl's side is available on supported Justia Law capabilities when a request opts in; Justia Law's own retention policy still applies. ZDR searches leave out Alexandria provider results, so call the capability directly.
Benchmarks
Justia Law API benchmarks via Firecrawl Alexandria
Quality, speed and cost, last 24 hours, across every agent call to Justia Law through Alexandria.
Fewer than 20 calls in the last 24 hours, so there is not enough to report yet.
FAQ
Justia Law API via Firecrawl Alexandria FAQs
- What is Firecrawl Alexandria?
- Firecrawl Alexandria is Firecrawl's library of data providers for AI agents, Justia Law 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 Justia Law 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 Justia Law and calls it. From your own code, search Alexandria for the Justia Law capability you need with the Firecrawl API, SDKs or CLI, then call it with your API key. Either way you don't write any Justia Law integration code.
- Do I need a Justia Law account or API key?
- No. Calls to Justia Law run through Alexandria and are billed in Firecrawl credits, so you don't need a separate Justia Law account, contract or API key.
- How much does the Justia Law API cost through Alexandria?
- Calls cost from 0 to 5 Firecrawl credits, depending on the capability. The capabilities list on this page shows the price of each one, and finding the right capability is free.
- Can I combine Justia Law with other data providers?
- Yes. Your agent can call Justia Law alongside the live web and any other provider in Alexandria, with the same Firecrawl account.
- Does Justia Law support zero data retention?
- Yes. Every Justia Law capability can run under zero data retention on Firecrawl's side when a request opts in. That covers Firecrawl's retention only: Justia Law's own retention policy still applies, and requests that don't opt in are retained as usual. ZDR searches leave out Alexandria provider results, so call the capability directly.
Related
Related providers in Alexandria
Other Public records providers, on the same Firecrawl API key.