Skip to content
WellsDirectory
Get API key

REST API and MCP

Developers one key, the same tables, every response dated.

REST and MCP read the same tables. Each response has the snapshot date of the RRC load it came from.

Quick start

Quick start in four steps.

  1. 01 Create an account

    Open /register and confirm your email.
  2. 02 Create a key

    Open /dashboard/keys, name the key, and copy it once.
  3. 03 Make a call

    curl -H 'Authorization: Bearer wd_live_…' https://wellsdirectory.com/api/v1/operators/123456
  4. 04 Read the envelope

    { "ok": true, "data": {}, "error": null, "meta": { "snapshot_date": "YYYY-MM-DD" } }

Endpoints

Endpoints described in openapi.json.

Operators

GET /api/v1/operators

Operators that match a name or P-5.

GET /api/v1/operators/{p5}

One operator, with well and lease counts.

Wells

GET /api/v1/wells

Wells filtered by county, operator, or status.

GET /api/v1/wells/{api}

One well, with formation, depth, and dates.

Leases

GET /api/v1/leases

Leases for a county or an operator.

GET /api/v1/leases/{district}/{lease}

One lease.

GET /api/v1/leases/{district}/{lease}/production

One row per month and product.

Counties

GET /api/v1/counties

Counties that have wells.

GET /api/v1/counties/{slug}/summary

The same figures as the county page.

GET /api/v1/counties/{slug}/permits

Drilling permits in one county.

Search

GET /api/v1/search

The same well ids as the web search.

Export

GET /api/v1/leases/{district}/{lease}/production.csv

CSV of lease production for plans that include export.

GET /api/v1/search.csv

CSV of a search for plans that include export.

GET /api/v1/opportunities.csv

CSV of leases worth a look, with the reasons from RRC records. It does not show whether a lease is in force or who holds the mineral rights.

Account

GET /api/v1/account

The key plan, limit, and calls today.

Sources

Datasets from the Railroad Commission of Texas.

Production Data Query Dump

Snapshot 2026-10-27

Production Data Query Dump is a public dataset from the Railroad Commission of Texas (PDQ dump), updated monthly, covering Texas, United States. The filed range is 1993-01/...

Publisher
Railroad Commission of Texas · https://www.rrc.texas.gov/
Source
https://www.rrc.texas.gov/resource-center/research/data-sets-available-for-download/
Coverage
Texas, United States · 1993-01/..
Fields
lease production oil gas OG_LEASE_CYCLE
Reuse
Texas Government Code § 2054.126

Limits

Rate limits and plans

Plan Calls per minute Questions per day Export
Free 10 3 no
Analyst 30 20 yes
Developer 60 40 yes
Team 300 100 yes

The MCP server uses the same key. Claude today, ChatGPT soon.

Connect a client