texasrrcapi
Texas Railroad Commission data, done right

Stop second-guessing Texas oil & gas data.

Permits, wells, leases, operators, production and inspections — cleaned, joined across every file, and traceable to the exact state record it came from. One API for your analysts and your AI agents.

Sound familiar?

You've been here before.

That knot in your stomach isn't paranoia. It's what working with raw RRC data feels like.

What changes

Hand over a number and know exactly where it came from.

Answer in one call

An operator's wells, permits, inspections and violations. A lease's full production history since 1993. No spreadsheets, no joins, no weekend.

Defend every value

Each response names the snapshot and the source releases behind it. Every row links back to the original RRC file by its SHA-256 hash.

Let your agents loose

Self-describing catalog, consistent IDs and read-only SQL, so an AI agent gets the right answer instead of a confident wrong one.

How it works

Four steps between the state and your screen. Every one is checked.

Capture

Original files are pulled from the RRC on its own schedule — nightly, weekly or monthly — and stored byte-for-byte, never overwritten.

Convert & prove

Each file becomes columnar data. A proof rebuilds the source from the output, so nothing is dropped or invented.

Join the IDs

Operators, wells, leases, permits, fields and districts get one consistent ID across every file. The original value stays right beside it.

Snapshot & serve

Releases are frozen into a hash-identified snapshot and kept. Every answer names its snapshot, so any result can be reproduced and audited.

The data, measured

Real numbers from the live system.

79,130,816monthly lease production records, 1993 to present
4,060,069inspections since August 2015
1,785,034daily drilling-permit records since 2017, with coordinates
1,370,727wellbore records
99.98%of drilling-permit API numbers match a wellbore record
99.4%of inspected leases match a production lease
78,403P-5 operators, every one a unique key
10RRC datasets live today, with more added continuously

Live today: drilling permits (master, daily and horizontal), pending permits, P-5 operators, production (PDQ), pending production reports, wellbore query, inspections and violations. Gas and oil proration ledgers, field rules and full wellbore history are captured and converted, and are being added to the API.

For developers and AI agents

One request. The whole picture. With receipts.

Every answer carries its provenance, so your agent can cite it and your auditor can check it. Decimals come back as exact strings — never rounded through a float.

And it's fast. Measured server time: a permit lookup in 10 ms, a full year of statewide production in 3 ms, an operator's entire production history in 6 ms.

Entity endpoints

Operators, wells, leases and permits, each assembled across every dataset.

Production totals

Monthly oil, gas, condensate and casinghead, statewide or by district, operator or field, since 1993.

Read-only SQL

Query any table. Sandboxed, time-limited, row-capped.

MCP server coming

Plug straight into Claude, ChatGPT or your own agent.

# Monthly production for one oil lease
curl https://api.texasrrcapi.com/v1/leases/O-01-00001 \
  -H "X-API-Key: $KEY"

{
  "data": {
    "production": { "rows": [
      { "CYCLE_YEAR_MONTH": "199301",
        "LEASE_OIL_PROD_VOL": "…",
        "lease_id": "O-01-00001",
        "operator_id": "…" }, … ] },
    "wellbores": { … },
    "inspections": { … }
  },
  "meta": {
    "snapshot_id": "cc88b9bc…",
    "sources": { "pdq": {
      "source_release_id": "102afef5…" } }
  }
}
Why not just…

You have options. Here's the honest comparison.

Download it yourselfEnterprise data platformstexasrrcapi
CostFree, plus your weekendsEnterprise contractsFrom $0, Pro at $299/mo
IDs joined across filesYou build itVaries by vendorYes, raw value kept beside it
Trace a value to the source fileIf you saved itVaries by vendorEvery row, by hash
Frozen, citable snapshotsState files are overwrittenVaries by vendorEvery response names one
Built for AI agentsNoVaries by vendorDesigned for it
Pricing

Start free. Pay when it's paying you.

Free

$0

Try every dataset.

  • All live datasets
  • Capped rows per call and calls per day
  • Entity endpoints

Pro

$299/mo

For analysts and single agents.

  • Everything in Free
  • Higher limits
  • Read-only SQL
  • MCP access coming

Business

$999/mo

For teams and products.

  • Everything in Pro
  • Team limits
  • Bulk Parquet downloads coming
  • Change feed coming

Enterprise

Custom

For firms that embed or redistribute.

  • Everything in Business
  • Custom limits and delivery
  • Uptime commitment
  • Redistribution terms
Questions

Before you ask.

Is this the Railroad Commission's official API?

No. texasrrcapi is independent and not affiliated with the Railroad Commission of Texas. It is built entirely from the Commission's public data files, and every record links back to the file it came from.

How fresh is the data?

Each source is refreshed on the Commission's own schedule: pending permits daily, inspections and violations weekly, production and most master files monthly. Every response tells you exactly which release you're looking at.

Do you change the numbers?

Never. Raw values are kept exactly as the state published them. Cleaned IDs, typed numbers and dates are added beside them, never in place of them. Decimals are returned as exact strings.

What isn't covered yet?

Ten datasets are live today. More structured files are being added, and scanned documents such as permit PDFs will follow. Placeholder values in the state's data (like "Unknown" operators) are kept as-is and flagged rather than guessed.

Can I get the whole thing as files?

Bulk Parquet downloads are coming on the Business plan. Until then, read-only SQL lets you pull exactly the slice you need.