Get the data

Free. You will be asked to confirm an email address before the files are built — that is the only gate, and it is there so we can tell you when a large export is ready.

Preview the first 100 rows

What this is

Record type 10. Two columns of substance: the API halves and a permit number, one row per permit.

Small, and the most useful join in the catalog after the API number itself — it is what ties the permit world to the wellbore world when the API number on the permit is missing or wrong.

What you can do with it

Follow a wellbore back through every permit filed against it, and go the other way from a permit number to the hole that was actually drilled.

Gotchas

A wellbore usually has several permits. The wellbore root record's newest_drl_pmt_nbr is only the most recent one; this table is the full list.

Record layout

4 columns. Byte positions are 1-based and come from the RRC record layout, so you can check our decoding against the original file yourself.

wb_drilling_permits 4 columns

# Column Type Bytes RRC name Meaning Lookup
1 api_county key join text The three-digit county component of the API number. For offshore wells this is the nearest onshore county, not the well's actual location.
2 api_unique key join text The five-digit well component of the API number. Unique only in combination with the county code.
3 permit_number key join text 3-8 WB-PERMIT-NUMBER A drilling permit number associated with this bore. One bore can carry many: an original drill permit plus every amendment and re-entry.
4 ingested_at timestamptz When the upstream pipeline last wrote this row. Not an RRC field — it is EZRRC's provenance stamp, and it is what the freshness badge is measured against.

What this joins to

The Railroad Commission never states these keys anywhere in the files. They are the reason the data is hard to use, so here they are with the exact columns on both sides.

Wellbore Drilling Permit Numbers joins to Completion Information in Data Format on Permit number = Dp number — rows can match many rows in both directions.

was drilled under a permit recorded on

The wellbore file's full permit list. 4,941 of 5,000 sampled completions match, which is the most complete route from a completion filing to the wellbore it belongs to.

completion-information-data-format.dp_no = wellbore-drilling-permit-numbers.permit_number

Wellbore Drilling Permit Numbers joins to Full Wellbore Database (ASCII) on API county and API unique — many rows here share a single row there.

every drilling permit issued against it

A wellbore usually has several. The root record's newest_drl_pmt_nbr is only the most recent. Keyed on the API county and unique number, which is how every record type in WBA091 hangs off its root record.

full-wellbore-ascii.api_county = wellbore-drilling-permit-numbers.api_county AND full-wellbore-ascii.api_unique = wellbore-drilling-permit-numbers.api_unique

Wellbore Drilling Permit Numbers joins to Drilling Permit Master and Trailer — Daily File (with latitudes and longitudes) on Permit number — many rows here share a single row there.

appears on the wellbore as

The wellbore database keeps every permit number issued against a hole. Joining here finds the wellbore even when the API number on the permit is blank or wrong — 4,180 of 5,000 sampled permits are recorded against a wellbore this way.

drilling-permits-daily.permit_no = wellbore-drilling-permit-numbers.permit_number

Wellbore Drilling Permit Numbers joins to RRC Oil / ICE Inspections and Violations on Permit number = Drilling permit number — rows can match many rows in both directions.

cited a well permitted as

The drilling permit number on the violation, matched against the wellbore file's permit list — which is what puts an enforcement action on a specific hole in the ground.

rrc-oil-ice-inspections.drilling_permit_no = wellbore-drilling-permit-numbers.permit_number

Where this comes from

Published by
Texas Railroad Commission — the original page
Original format
Fixed-width Columns are byte ranges with no separators, described only in a scanned record layout.
Update cadence
Updated once a week (Weekly, with the wellbore database.)
RRC download link
GoAnywhere MFT
Record layout manual
Our table
texas.wb_drilling_permits

EZRRC is an independent mirror of public-domain data published by the Texas Railroad Commission. It is not affiliated with or endorsed by the RRC. For any legal or regulatory purpose, verify against the official RRC release.