Skip to main content

Quickstart

Developer Preview: The LocalCode API is currently available to design partners. These docs describe the draft v1 API contract and may evolve before general availability.

Before you begin

The requests below are illustrative examples. Not all jurisdictions or resources are enabled for every account, and response shape/content can vary based on coverage and access tier. Request API Access

1) Send a Request

2) Fetch a Code Section

3) Inspect Official Sources

4) Read Lineage Context

5) Search by Code Text and Citation

The v1 search endpoint is scoped to code-section discovery and retrieval workflows.

Happy path (illustrative IDs)

Use a consistent flow with sample IDs:
  • jurisdiction_id: 8f4d62da-a8c2-4db7-8828-2d25b287c9b1
  • code_section_id: f6e1b0a1-3a7f-4c57-b674-f64ed7ac18cf

1) Get jurisdiction

2) Get code section

3) Get legislative chain

4) Get section sources