/rigs#

This endpoint provides users with rig location specific to a wellpad and its operating dates.

Endpoint#

POST

https://hyperion.api.synmax.com/v3/rigs

Usage#

Python#

rigs(aggregate_by=[None], county=[None], end_date=None, operator=[None], region=[None], rig_class=None, start_date=None, state_code=[None], sub_region=[None])#

Returns rig locations by wellpad and date.

Object returned is a pandas DataFrame.

⮞ Setup the client.

from synmax.hyperion import HyperionApiClient, ApiPayload
access_token = 'your access token goes here'
client = HyperionApiClient(access_token=access_token)

For a more detailed guide on setting up the Hyperion client, please see the Quickstart page.

⮞ Use parameters to narrow down your request.

payload = ApiPayload(start_date='2021-05-01', end_date='2022-06-25', sub_region=['S LA', 'West - TX'])

Tip

Narrow down your request to receive a faster response. Using no parameters will fetch the entire dataset which may take a very long time.

⮞ Call the function.

result_df = client.rigs(payload)

⮞ Print the results or save them for later.

# Print the entire response as a string.
print(result_df.to_string())

# Create a CSV file from the output.
result_df.to_csv('output.csv')

# Print the number of items per column.
print(result_df.count())

For more information on outputting to different formats, please see the pandas DataFrame documentation.


Parameters#

Query#

Parameter

Type

Description

Example

aggregate_by

str arr

Aggregate data by a list of parameters.

["date", "region"]

county

str arr

Limit search by a list of counties.

["Beauregard", "Coleman", "Colorado"]

end_date

str [“YYYY-MM-DD”]

Limit search to an end date.

"2022-07-15"

operator

str arr

Limit search to a list of well operators.

["ALLEN BROTHERS", "BP"]

region

str arr

Limit search by a list of regions (clusters of multiple major producing basins).

["GULF", "WEST"]

rig_class

str

Limit search to either oil or gas wells based on the GOR definition from the EIA.

"gas"

start_date

str [“YYYY-MM-DD”]

Limit search to a start date.

"2022-06-01"

state_code

str arr

Limit search by a list of state codes.

["LA", "CO"]

sub_region

str arr

Limit search by a list of subregions (clusters of several counties forming a major producing basin).

["S LA", "West - TX"]

Aggregation#

Aggregation provides an overview of overall productions levels for a particular operator or across a given region during a given timeframe.

Data is always implicitly aggregated by date. This means all other column data are grouped by date.

Supported parameters: county, date, operator, region, state_code, sub_region

Response#

Parameter

Type

Description

Example

county

str

County in the state where the well is located.

“BEAUREGARD”

date

str [“YYYY-MM-DD”]

Date on which a rig is operating.

“2022-06-01”

lat

str

The latitude of the location, in decimal degrees; follows the WGS 84/EPSG:4326 coordinate system.

“32.2483475”

long

str

The longitude of the location, in decimal degrees; follows the WGS 84/EPSG:4326 coordinate system.

“-93.39548666666667”

operator_name

str

Operator of the well.

“PIE OPERATING, LLC”

region

str

Aggregation of multiple major producing basins.

“GULF”

rig_class

str

Classifies wells as either oil or gas wells based on the GOR definition from the EIA.

“gas”

sub_region

str

Aggregation of several counties, typically representing a major producing basin.

“S LA”

wellpad_id

int

Identifier of the wellpad.

27248


Responses#

Normal Output#

county

date

lat

long

operator_name

region

rig_class

state_ab

sub_region

wellpad_id

WELD

2022-09-05

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-06

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-07

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-08

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-09

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-10

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-11

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-12

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-13

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

WELD

2022-09-14

40.3262406875

-104.413096875

EDGE ENERGY LLC

west

oil

CO

Colorado wo SJ

1204

Note

Output data will return as “null” when input data is invalid or does not exist.

Aggregated Output#

Aggregated by…

payload = {
   'aggregate_by': 'county'
}

county

date

rigs_count

WELD

9/14/2020

2

RED RIVER

9/14/2020

1

UPTON

9/15/2020

5

WARD

9/15/2020

5

MIDLAND

9/15/2020

14

PANOLA

9/15/2020

1

WINKLER

9/15/2020

4

PECOS

9/15/2020

2

REEVES

9/15/2020

6

Tip

To better explore using the aggregation functionality interactively, consider using our Excel Add-in. By familiarizing yourself with the available options, you can more efficiently query and process the data for your specific needs. To learn how to use the SynMax Excel Add-in, please refer to our Excel Add-in Documentation.