Codes of Record

Take the data with you

Every value on this site is open data with a date and a source. Download it, cite it, or embed a badge. Data as of Oct 20, 2026.

Downloads

The whole data set in two shapes, plus the file the map itself reads.

All values as CSVOne row per state and code, 343 rows. Built in your browser from the data on this page. Data as of Oct 20, 2026.Fields: state, abbreviation, code, edition, status, effective, instrument, citation, coverage, read_on.
All values as JSONThe same values keyed by code and state, with the fill color the map uses. Built in your browser from the data on this page. Data as of Oct 20, 2026.Fields: as_of, states, and for each value: text, short, status, since, instrument, citation, coverage, adoptedBy, read, pages, href.
map-data.json, the file the map readsEvery value with the evidence behind it: the source page, the quoted passage, and the date it was retrieved. It is on the live site today. Data as of Oct 20, 2026.Fields: meta, states (name, researched, slots, timeline), evidence (url, title, publisher, kind, quote, retrieved). Open map-data.json (opens in a new tab)

Cite a value

Three forms for one record, the Texas NEC value, built from the data. Swap in the state, the code, and the dates from the record you used.

Plain text
Codes of Record, Texas, National Electrical Code: 2026 NEC, in force since Sep 1, 2026, Verified. Read Oct 18, 2026. Data as of Oct 20, 2026. https://codesofrecord.com/texas-nec.html
APA style
Codes of Record. (2026). Texas, National Electrical Code: 2026 NEC [Data set, read Oct 18, 2026]. https://codesofrecord.com/texas-nec.html
BibTeX
@misc{codesofrecord_texas_nec,
  author = {Codes of Record},
  title  = {Texas, National Electrical Code: 2026 NEC},
  year   = {2026},
  note   = {Verified. Read Oct 18, 2026. Data as of Oct 20, 2026},
  url    = {https://codesofrecord.com/texas-nec.html}
}

The read date is the day the state’s own page was last read for this value. The record itself: Texas, National Electrical Code.

Embed a badge

One value as a small image for a spec page or a product sheet, linked back to its record.

TEXAS · NEC2026 NECVERIFIEDcodesofrecord.com · 2026-10-20

Drawn in your browser from this page’s data.

Embed code
<a href="https://codesofrecord.com/texas/nec/">
  <img src="https://codesofrecord.com/badge/texas/nec.svg" width="300" height="64"
       alt="Texas enforces the 2026 NEC, Verified by Codes of Record">
</a>

Proposed. The badge address under codesofrecord.com/badge/ is not served today, and the record address in the link is proposed as well.

Proposed read-only API

Proposed. Not live yet.

Five addresses that would return the same values as the downloads, one record at a time. No account, no token, and the same dates as the site.

GET/api/v1/states/{ab}.json

One state: its seven values, each with the status, the dates, and the read date.

GET/api/v1/codes/{code}.json

One code across all 49 jurisdictions, plus the legend counts.

GET/api/v1/records/{ab}/{code}.json

One record with its evidence: each source page, its quoted passages, and the date it was retrieved.

GET/api/v1/changes.json?since=DATE

Dated actions on file since a date, newest first.

GET/api/v1/laws.json?product=ev

The laws that name a product, with the state, the stage, and the source.

Example response for a record

Built from the Texas NEC record as it stands today. Each quoted passage is verbatim from the state’s own page.

JSON
{
  "state": "TX",
  "code": "NEC",
  "edition": 2026,
  "status": "verified",
  "effective": "2026-09-01",
  "instrument": "2026 National Electrical Code (Texas state electrical code)",
  "citation": "16 Tex. Admin. Code §73.100; Tex. Occ. Code §1305.101(a)(2)",
  "read_on": "2026-10-18",
  "evidence": [
    {
      "url": "https://www.tdlr.texas.gov/news/rulemaking/2026/09/01/commission-adopts-rules-12/",
      "retrieved": "2026-10-18",
      "quote": [
        "The adopted amendments adopt the 2026 National Electrical Code as the state electrical code, with a limited exception",
        "pertaining to ground-fault circuit interrupter requirements for certain outdoor outlets."
      ]
    },
    {
      "url": "https://www.sos.texas.gov/texreg/archive/August282026/Adopted%20Rules/16.ECONOMIC%20REGULATION.html",
      "retrieved": "2026-10-18",
      "quote": [
        "At its meeting on July 28, 2026, the Commission adopted the proposed rule as published in the Texas Register."
      ]
    }
  ]
}

License

Proposed: Creative Commons Attribution 4.0, with the attribution line Codes of Record, codesofrecord.com, data as of Oct 20, 2026. The license is a decision for the site owner.

For information only. Your local building or fire official decides which code applies. We check state records often but can miss a recent change, so confirm with your official before you design, permit, or install. Terms of use