Get well permits data
Changed onGet recent drilling permits with bounded pagination and an optional state filter. Requires the Scale plan.
Request
- Base URLhttps://api.oilpriceapi.com
- AuthAPI key in header Authorization
Query parameters
Two-letter US state code
Lookback window in days (clamped to 1-365)
Page number for pagination
Results per page (max 200)
Response
Well permits data
Example response
{
"status": "success",
"data": {
"well_permits": [
{
"state": "TX"
}
]
}
}Changes
- breaking
for the
queryrequest parameterper_page, default value was changed from100to50 - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional
queryrequest parameterdays - info
added the new optional
queryrequest parameterstate_code - info
for the
queryrequest parameterper_page, the max was increased from100.00to200.00 - info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking