GET
/api/v1/operators
Operators that match a name or P-5.
REST API and MCP
REST and MCP read the same tables. Each response has the snapshot date of the RRC load it came from.
Quick start
01 Create an account
Open /register and confirm your email.
02 Create a key
Open /dashboard/keys, name the key, and copy it once.
03 Make a call
curl -H 'Authorization: Bearer wd_live_…' https://wellsdirectory.com/api/v1/operators/123456
04 Read the envelope
{ "ok": true, "data": {}, "error": null, "meta": { "snapshot_date": "YYYY-MM-DD" } }
Endpoints
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
Statewide API Data is a public dataset from the Railroad Commission of Texas (Statewide API Data), updated twice weekly, covering Texas, United States.
P5 Organization is a public dataset from the Railroad Commission of Texas (P-5 Organization), updated monthly, covering Texas, United States.
Full Wellbore is a public dataset from the Railroad Commission of Texas (Full Wellbore), updated weekly, covering Texas, United States.
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/...
Drilling Permits is a public dataset from the Railroad Commission of Texas (Drilling Permits), updated weekly, covering Texas, United States.
Limits
| 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