API · compare
Where to get local ordinance text by API
Legal research platforms are built for case law and statutes; zoning data products turn rules into parcel fields. The GoCodebook API returns the ordinance text itself — verbatim, cited and linked — for software to use. Based on public information as of October 2026.
| GoCodebook API | LexisNexis | Westlaw | Free Law Project (CourtListener) | Code publishers' sites | Zoning data APIs | |
|---|---|---|---|---|---|---|
| What it is | Search API over local ordinance text | Legal research platform with AI (Lexis+, Protégé) | Legal research platform with AI (CoCounsel) | Non-profit open legal data, mainly case law | Municode, American Legal, General Code, Code Publishing — each hosts the codes it publishes | Standardized zoning data per parcel (e.g. Zoneomics, Gridics) |
| City and county ordinance text | Yes — 540 California cities and counties | Yes — 3,200+ municipal codes, all 50 states | Not found in public materials; a university law-library guide says none | No — case law, dockets, judges and citations | Yes — each publisher's own cities only | Zoning rules converted to data fields, not full ordinance text |
| Real estate rule analysis | Zoning, ADU, rental, permit and fee sections returned verbatim with citations | General legal research; not built around parcels or zoning | General legal research | Not covered | Read-only code websites | Yes — the core product, by parcel |
| Developer API | Public REST API, OpenAPI spec, keyless free sample | Protégé API through enterprise agreements; no public developer API found | No public ordinance API found | REST API through membership and commercial agreements | No public cross-publisher API | Yes — zoning data APIs |
| Pricing | Public: $0.30 a search, AI overview included, prepaid | Not public (subscription and enterprise) | Not public (subscription) | Membership and commercial agreements | Free to read online | Mostly by quote |
| Result format | JSON: citation, verbatim excerpt, link, edition, jurisdiction | Research UI and AI answers | Research UI and AI answers | JSON (opinions and dockets) | Web pages | JSON zoning fields |
| MCP server for AI assistants | Yes | Not found in public materials | Not found in public materials | Not found in public materials | No | Varies |
| Geography | California only today | United States | United States | United States (federal and state courts) | Each publisher's clients | United States (varies by provider) |
How to read this
Use them together. A legal AI product typically gets case law from CourtListener or a commercial platform, statutes from the state, and has no good source for city and county ordinances. That gap is what the GoCodebook API fills.
LexisNexis covers far more places — it carries municipal codes from every state. What it does not offer, in its public materials, is a self-serve developer API with public pricing; access runs through subscriptions and enterprise agreements.
Zoning data APIs answer a different question. They return standardized fields per parcel. GoCodebook returns the ordinance text those fields come from, across every subject a city regulates — business licenses, rentals, noise, vending — not only zoning.
Our limit: the API covers California today. Other states are next.
More detailed comparisons: Municode, American Legal Publishing, Gridics, Zoneomics and National Zoning Atlas.
Sources
- LexisNexis — municipal codes on Lexis
- LexisNexis — Protégé API
- University of San Diego Legal Research Center — Local government & municipal law guide
- Free Law Project — CourtListener API
- Zoneomics
- Gridics — Zoning Data API
Product names are trademarks of their owners. Something out of date? Write to [email protected].