Smith Energy CodesContact
Menu

Search Smith Energy Codes

Machine-Readable Energy Code Infrastructure · OpenAPI 3.1

Data and API licensing

Integrate adopted residential and commercial codes, PNNL-33270 climate zones, future transition dates, and verbatim statutory citations directly into compliance software, builder ERP portals, underwriting tools, and portfolio screening pipelines.

Live Endpoint Inspector

Test the API endpoints and copy working code snippets.

/api/v1/sample runs live with zero key from cURL, Python, JavaScript, or your browser (returning the fixed Denver sandbox record with ASHRAE 15 / 15.2 / 34 refrigerant safety metadata and dataset counts). Full 30,484-jurisdiction /api/v1/* endpoints require a commercial Bearer key (commercial data license terms →).

curl "https://smithenergycodes.com/api/v1/sample"
Click "Run sample request" to inspect a live JSON payload.

Endpoints, Schema & Field Dictionary

Explore the OpenAPI 3.1 endpoints, database schema, sample records, and field definitions.

Download openapi-v1.json →, sec-sample-bundle.json →, or sec-schema.sql → · Browse 50-state directory → · Data license terms →

Endpoint / DeliverableAuth & FormatWhat it returns
GET /api/v1/sampleNo key required · JSONPublic single-record sandbox fixture returning US-CO-denver (adopted codes, climate zone, compliance overlay, refrigerantSafety ASHRAE 15 / 15.2 / 34 payload, and verbatim sources) plus live dataset counts (distinctEventsCount, pilotOverlaysCount).
GET /api/v1/metaBearer token · JSONCurrent export build timestamp, source SQLite SHA-256 checksum, jurisdiction counts, climate-zone totals, and state rollups.
GET /api/v1/jurisdictions/{id}Bearer token · JSONSingle-record lookup by canonical ID (e.g., US-CO-denver) returning residential/commercial editions, climate zone, local overrides, overlay rules, refrigerantSafety (ASHRAE 15 / 15.2 / 34 A2L), and full primary-source URLs/quotes.
GET /api/v1/jurisdictions?zip=... or ?lat=...&lon=...Bearer token · JSON5-digit ZCTA ZIP lookup returning isSplitZip, candidateCount, and hydrated records ordered by intersection share; ?lat=&lon= Census geographies coordinate lookup resolving place, county, and state boundaries; plus filtered queries by state=XX and tier=primary|state_list|unverified.
POST /api/v1/batchBearer token · JSONProgrammatic batch lookup for up to 100 ids and/or 5-digit zips per call, returning hydrated results.byId and results.byZip maps with refrigerantSafety. (Free web /api/batch serves the browser map UI.)
GET /api/v1/transitionsBearer token · JSONScheduled state and local code transitions filterable by state=XX, stage (e.g., adopted_not_effective, rulemaking), and sector (res, com, both).
Bulk SQLite + Normalized CSVsMonthly Signed ExtractRelational SQLite 3 database with foreign keys (16-table DDL + 2 views) + normalized CSV tables + ASHRAE 15/15.2/34 JSON + source verification roster.
Field dictionary for compact record JSON keys (/api/v1/sample & /api/v1/jurisdictions)

Compact JSON records use short property keys mirrored in openapi-v1.json. Inspect real records side-by-side across all 3 tiers in sec-sample-bundle.json.

JSON KeyMeaning & Possible ValuesJSON KeyMeaning & Possible Values
cfConfidence tier code: h (high), m (medium), l (low / lead)pr / unvSource quality code: p (primary ordinance), s (state list), c (composite/unverified baseline); unv: 0 (verified), 1 (unverified baseline lead), 2 (state list/survey with unverified local deviation)
pcOverall pending transition stage code: "" (none), a (adopted not effective), x (litigation), r (rulemaking), l (legislation / review / other)plActive adjacent policy / stretch code: "" (none), e (stretch / electrification), b (BPS / benchmarking), v (EV / solar ready), g (state gas preemption)
pcr / pccPending transition stage code for residential / commercial sector ("", a, x, r, l)ka / acka: amendment flag (0 none, 1 local amendments, 2 substantial / state-written); ac / acc: statutory local authority category
me / mwInside res / com objects: local_may_exceed / local_may_weaken flagsstCat / dtTypeInside pend items: stCat (adopted, proposed, monitoring, no_change); dtType (effective, target, hearing, unknown, none)
czCounty climate zone object (PNNL-33270: {z18, z21, ba, co, sh, wh} — 2018 zone, 2021/2024 zone, Building America region, county, shift & warm-humid flags)specVerified technical summary tags when extracted (e.g., cz, tags, ach, cfm, eri, duct, ashrae)
refrigerantSafetyTop-level A2L refrigerant safety payload returning coverage, coverageLabel, state, optional local city override, and primary sources covering ASHRAE 15, 15.2 (including multifamily R-2 scope), and 34 editions across all 50 states + D.C. and major local mechanical jurisdictions.

Overlay coverage note: Provision-level Project setup overlays currently cover 22 priority pilot jurisdictions (including Chicago, Seattle, Denver, Boulder, Austin, Phoenix, Boston) plus 9 statewide software rules (CA Title 24, FL FBC-EC, WA WSEC, OR, MA Stretch/Opt-In, CO MLECC, NY ECCCNYS, IL 2024, VT RBES/CBES), alongside state authority and ASHRAE 15 / 15.2 / 34 refrigerant safety records across all 50 states + D.C.

Try a jurisdiction lookup offline

Download the public three-record sample, extract the ZIP, and disconnect. Open offline-lookup.html in your browser and select the included sec-sample-bundle.json. The viewer verifies the file’s SHA-256 checksum and lets you look up each jurisdiction’s residential code, commercial code, and source tier.

Download offline lookup (.zip)

The viewer shows the sample’s release date. Licensed snapshots follow the update schedule in your agreement. An offline copy reflects the release you imported until you load a newer one.

Commercial Licensing Tiers, Update Cadence & SaaS Rights

Choose a license for internal analysis, software display, or independent software testing.

Every commercial tier includes SHA-256 dataset manifests, monthly local SQLite/JSON failover bundles, and a Clean-Room Copyright Warranty under the Zero-Conflict Public-Record Data Terms. Try a lookup offline · Full fee schedule

Pilot · Startups & Regional Rollouts · $15,000–$25,000/yr

Year-1 SaaS Display Pilot

Entry commercial SaaS license for one software product scoped by state footprint or lookup volume. Includes hosted /api/v1/ access (incl. ?lat=&lon= & ASHRAE 15/15.2 A2L), monthly signed SQLite/JSON failover snapshots (optional third-party escrow), explicit customer UI display rights, Clean-Room Copyright Warranty, 90-day wind-down + perpetual last-snapshot protection, and clean upgrade credit to Tier 2 at renewal.

Tier 1 · Internal Engines & Underwriting · $18,000–$28,000/yr

Bulk Data Snapshot

Monthly signed SQLite 3 + normalized CSV + compact JSON snapshots (30,484 jurisdictions, 33,642 ZIPs, 30,408 climate zones, ASHRAE 15/15.2/34 A2L, 583 transition events, 410 state-authority quotes) with SHA-256 diff manifests and critical errata alerts. Licensed for internal rules engines, compliance audits, and underwriting — excludes external SaaS UI display.

Recommended for SaaS Tier 2 · Compliance Apps & ERPs · $28,000–$45,000/yr

Hosted /api/v1/ + SaaS UI Display

Authenticated REST API ({id}, ?zip=, ?lat=&lon=, ?state=&tier=, POST /batch up to 100 items, /transitions, /meta, incl. ASHRAE 15/15.2 A2L) plus monthly signed failover snapshots, weekly API & transition updates, up to 25 priority local ordinance checks/quarter, and explicit SaaS customer UI display & embedding rights (attributed or white-label).

Tier 3 · Multi-Product & Parity QA · $45,000–$60,000+/yr

Enterprise Data + Clean-Room QA

Everything in Hosted API + SaaS plus custom provision-level compliance overlays, annual Clean-Room IECC / ASHRAE 90.1 Software Parity Regression Suite (Mutual NDA), 5-business-day priority transition updates, multi-product & customer PDF/report export rights (no raw bulk resale), and direct principal briefings with Alex Smith.

Compare SLA, update cadence, SaaS UI display & rate limits across all 4 tiers
Commercial termPilot · Year-1 SaaS DisplayTier 1 · Bulk SnapshotTier 2 · Hosted API + SaaSTier 3 · Enterprise + QA
Annual license fee$15,000–$25,000/year
Year-1 pilot · upgradeable to Tier 2
$18,000–$28,000/year$28,000–$45,000/year$45,000–$60,000+/year
Delivery & local failoverHosted REST /api/v1/ (1 product) + monthly SQLite/JSON failoverMonthly signed SQLite + CSV + JSONHosted REST /api/v1/ + monthly SQLite/JSON failoverHosted REST + custom overlays + monthly SQLite/JSON + QA suite
Update cadence SLAMonthly API & transition updates + critical errata alertsMonthly release + critical errata alertsWeekly API & transition updates + monthly bundle5-business-day priority transitions + quarterly QA re-tests
SaaS customer UI displayExplicitly permitted (1 product, scoped states or volume)Internal analytics/backend only (no customer UI)Explicitly permitted (attributed or white-label)Multi-product SaaS UI display permitted
Customer PDF / report exportsSingle-property summaries within pilot scopeInternal reports onlySingle-property project summaries permittedUnrestricted project PDF & compliance exports
Raw bulk dataset resaleProhibitedProhibitedProhibitedProhibited (redistribute outputs, not raw dumps)
Rate limits & API SLA30 req/min burst · 50 items/batch · 99.5% target uptime + monthly failoverN/A (local SQLite/JSON — unlimited local queries)60 req/min burst · 100 items/batch · 99.5% target uptime + monthly local failoverCustom burst limits · dedicated SLA · 99.9% target uptime + monthly local failover
Copyright warrantyClean-Room Copyright Warranty across all tiers: public facts & statutory citations only — zero ICC/ASHRAE model-code text reproduction.
Priority verification & QAUp to 10 priority local checks / quarter (pilot footprint)Standard monthly queueUp to 25 priority local checks / quarterCustom monthly verification SLA + Clean-Room Parity QA
Continuity & wind-down90-day written wind-down notice + perpetual license to the last delivered signed SQLite/CSV/JSON snapshot & DDL if hosted service ends; release manifests and client operations co-maintained by Alex Smith & Sarah Harrington.
Data escrow & errata SLAMonthly local failover bundle · optional third-party escrow · 5-business-day verified errata targetMonthly local failover bundle + standard errata queueOptional third-party data/script escrow · 5-business-day verified errata targetOptional third-party data/script escrow · 2-business-day priority errata target
Evaluation trial14-day trial Bearer key + 3-state sample extract + redlinable Commercial Data License Agreement (CDLA) provisioned within 1 business day under Mutual NDA.

Step 01 · Test in 5 minutes

Inspect live sandbox & schemas now

Hit /api/v1/sample with zero key, inspect the field dictionary above, and download openapi-v1.json, sec-sample-bundle.json, and sec-schema.sql.

Step 02 · 14-day trial key

Test real ZIP, lat/lon & batch queries

Request a 14-day Bearer trial key plus a 3-state SQLite/JSON extract and redlinable CDLA (provisioned within 1 business day under Mutual NDA).

Step 03 · Zero-conflict license

Simple annual commercial terms

Direct annual PO, ACH, or wire with explicit SaaS embedding rights, Zero-Conflict Data Terms, 90-day wind-down protection, perpetual last-snapshot rights, and zero single-endpoint lock-in.

Public Agencies, REEOs & Evaluators · $7,500–$14,500/yr

Institutional Intelligence Feed

Quarterly primary-sourced territory CSV/SQLite extracts, 2027 and 2030 docket briefs, and archived source URLs. A 20% nonprofit/REEO discount is available.

For a federally funded purchase, your procurement office determines which procedure applies. The general federal micro-purchase threshold is $15,000. Under 2 CFR 200.320, the recipient or subrecipient is responsible for “determining and documenting an appropriate micro-purchase threshold” consistent with applicable state, local or tribal law. Sources checked Nov. 28, 2026. Federal thresholds · 2 CFR 200.320(a)(1)(iii)

Request feed scope →
States & Utilities · $15,000–$45,000/yr

Sponsored State Coverage

Fund complete local-ordinance verification and ongoing monitoring for your state or utility territory, with transparent sponsor credit, periodic PUC/EM&V audit extracts, and zero editorial control.

Sources for the current export. Of 30,484 jurisdiction records, 3,955 cite primary sources, 20,785 come from official state lists, and 5,744 are unverified local leads. Each jurisdiction record identifies its source tier.

Schema stability & zero lock-in: Major versions stay pinned on /api/v1/ with advance notice before breaking changes, backed by SQLite SHA-256 checksums and monthly local failover bundles across all commercial tiers (Pilot, Tier 1, Tier 2, and Tier 3) so customer applications do not depend on any single live host.

Continuity, 90-day wind-down & perpetual last-snapshot rights: All commercial /api/v1/ and snapshot licenses include 90-day written wind-down notice prior to discontinuing hosted endpoints or scheduled updates, plus a perpetual, paid-up license to the last delivered signed SQLite 3, CSV, and JSON snapshot and sec-schema.sql DDL (within the licensee’s contracted internal or SaaS UI display scope; no raw bulk resale) if Smith Energy Codes ceases operating the service.

Optional third-party data & script escrow: Available on Year-1 Pilot, Tier 2, and Tier 3 annual commercial agreements, covering canonical public-record JSON files, schema DDL, and export scripts under agreed release triggers. Release manifests and subscriber notices are co-maintained by Sarah Harrington alongside Alex Smith.

Commercial Data License Terms Summary (CDLA framework): A redlinable Commercial Data License Agreement is delivered alongside every 14-day evaluation trial. Standard commercial terms set an aggregate liability cap equal to 12 months of fees paid (with mutual carve-outs for willful misconduct or gross negligence), a Clean-Room Copyright Warranty with prompt record correction/replacement remedies if any third-party model-code wording claim arises, and prorated monthly service credits if hosted API availability falls below the contracted uptime target (Read full data license terms →).

Recent verified database releases (changelog & historical counts)
Export dateVerified update scopePublic record counts
2026-12-01 (Current)Current public sandbox metadata (/api/v1/sample) includes the source database SHA-256 checksum, live Denver record, ASHRAE 15/15.2/34 A2L payload, Dec. 1 Chicago Title 14N cutover, verified source URLs, and record coverage counts.30,484 jurisdictions · 3,955 primary · 20,785 state-list · 5,744 unverified · 30,408 with climate zones · 33,642 ZIPs · 583 events
2026-11-30California ASHRAE 15.2 / 2025 CMC A2L scope refinement, New York City mechanical deviation sync, and full help-desk / map release across all active datasets.30,484 jurisdictions · 3,955 primary · 20,785 state-list · 5,744 unverified · 30,408 climate zones · 33,642 ZIPs · 584 events
2026-11-25 (Batch B)Coordinated 16-county primary research verification (Independence, Pike, Boone, Covington, Union, Escambia, Dallas, Lincoln, Marshall, Morrison, Alcorn, Nicollet, Chambers, Hot Spring, Monroe, Franklin) + Omaha pending/ordinance reconciliation atop Georgetown, TX, MA DOER Nov. 18/20 sync, NY SCOTUS No. 26-648 docket sync, Prowers CO no-code enforcement & Georgia 464-jurisdiction alignment.30,484 jurisdictions · 3,720 primary · 20,861 state · 5,903 unverified · 30,404 CZ · 33,642 ZIPs · 582 events
2026-11-25 (Batch A)Georgetown, TX primary local verification (2021 IRC/IECC eff. 2023-11-01), MA Nov. 18 DOER Stretch/Specialized sync (240/62) + Nov. 20 filing, NY SCOTUS No. 26-648 docket sync, Prowers CO no-code enforcement & Georgia 464-jurisdiction PNNL CZ 3A/4A & ERI 57/62 alignment, plus prior Nov. 25 NM/IA/53-link updates.30,483 jurisdictions · 3,702 primary · 20,861 state · 5,920 unverified · 30,403 CZ · 33,642 ZIPs · 582 events
2026-11-24 (Batch B)51-jurisdiction National View primary-source accuracy audit across all 50 states + D.C. (fixing AK residential & 159 rural BEES locals, VT 2020/2024 dual-compliance floor, CO/ND/WV Conditional / Local-trigger tier, UT/WA/FL labels, OH/OR/SC/SD/ND/ID authority & KS 2026 SB 418 across 407 state-authority quotes, GA/SC/WA/NC/UT/OH pending flags, 17-state policy fixes, and OK/IN/MD/NY/DE/AL/DC primary syncs) plus 45 additional Iowa rural, municipal, and county site-permit reviews.30,483 jurisdictions · 3,665 primary · 20,867 state · 5,951 unverified · 30,403 CZ · 33,642 ZIPs
2026-11-24 (Batch A)224 additional local and county primary-source reviews across 13 batches in IL, AL, AR, MN, MS, GA, TN (zero baseline-only TN map IDs remaining), ID (21 local routes + state 2024 proposal review), and IA (49 county/city reviews across 3 batches, including Independence 2024 IECC eff. 2026-08-29 and Decorah/Red Oak 2012 IECC), rolled forward atop Michigan Pass 2 (23 municipalities & anchor counties, 4 MI Workbench pilots, Evidence E071 PNNL-31511), 43 IL CDB/county reviews, and earlier Nov 24 batches (1,864 MI records across 83/83 counties, 406 state-authority quotes, 83 county routes, 12 FEMA, 25 WV).30,483 jurisdictions · 3,620 primary · 20,867 state · 5,996 unverified · 30,403 CZ · 33,642 ZIPs
2026-11-22Coordinated 16-state primary research & statutory-scope expansion (5,177+ updated records across IL, IA, KS, NE, LA, MS, MT, TX, MD, NM, AZ, AR, GA, DE, MO, and NJ plus newly incorporated Holiday Island, AR), reducing unverified leads by 1,034.30,452 jurisdictions · 2,907 primary · 30,369 CZ · 33,642 ZIPs
2026-11-21Project setup workbench, split-ZIP transition detection, and 50-state + D.C. code-authority hubs synced to /api/v1/.30,451 jurisdictions · 586 tracked code transition events