01Open Data
Open Data

The OpenStreetMap of Building Codes

Building codes are public law. We are building the world's largest open database of structured, machine-readable construction regulations.

Building Codes Are Public Law

Building regulations are enacted by governments for public safety. They should be freely accessible to every engineer, architect, and citizen.

Machine-Readable Standards

We transform dense legal documents into structured, queryable data that software can understand and automate against.

Community-Driven

Like OpenStreetMap, our data improves through community contributions. Engineers in every country help verify and extend coverage.

ODbL Licensed

All structured building code data is released under the Open Database License. Use it freely -- just share improvements back.

02Coverage

Data Coverage

34
Countries
with structured building code data
1,021
Compliance Rules
machine-readable checks
83
Reference Cities
with building codes + zoning
34
Cost Indices
live construction cost data
03API

Free REST API

Access all building code data through our free API. No authentication required for read-only access to public building code data.

GET/api/v1/countriesList all 34 supported countries with metadata
GET/api/v1/countries/{cc}/building-codesGet building code rules for a country
GET/api/v1/countries/{cc}/citiesList reference cities with zoning data
POST/api/v1/validateValidate a building design against local codes
GET/api/v1/cost-indices/{cc}Get current construction cost index
GET/api/v1/code-familiesList all 8 code families with country mapping
Example request
curl https://api.gabarito.io/api/v1/countries/br/building-codes
04License

ODbL License

All structured building code data in the GABARITO Open Data initiative is released under the Open Database License (ODbL) v1.0.

  • Free to use -- commercial and non-commercial
  • Share-alike -- derivative databases must remain open
  • Attribution -- credit GABARITO Open Data
  • No lock-in -- full database exports available
05Contribute

Contribute

Help us build the most comprehensive open building code database in the world.

1
Fork the repository
Clone our data repo from GitHub
2
Add or verify data
Add building codes for your city or verify existing entries
3
Submit a pull request
We review and merge with provenance tracking