Top producing wells
Changed onHighest-producing wells over the trailing period, optionally scoped to a state. Defaults to TX and the trailing 12 months. Returns 404 with an explicit reason when well-level coverage is absent or outside the requested window.
Request
- Base URLhttps://api.oilpriceapi.com
- AuthAPI key in header Authorization
Query parameters
Two-letter state code. Use either state_code or its state alias; conflicting values return 400.
Alias for state_code. Conflicting values return 400.
Maximum wells returned; clamped to 1–100.
Lookback window in months; defaults to 12.
Response
Top producers
Example response
{
"status": "success",
"data": {
"state": "TX"
}
}Changes
- breaking
added the pattern
^[A-Za-z]{2}$to thequeryrequest parameterstate - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parametermonths - info
added the new optional
queryrequest parameterstate_code - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking