/shorttermforecasthistory#
This endpoint returns monthly gas production backcasts for well APIs.
Row Limit
Currently limited to one million rows per request. This endpoint will throw an error when you exceed one millions rows for a single request. To avoid this error simply apply additional filters to your request.
Backcasts are historical production forecasts. A backcast in this context may be described as:
A historical production forecast meant to replicate a forecast model on a specified historical date.
A forecast that only uses data that was available on or before the specified date. For example, if a backcast is from November 11, 2021, it will only use data which was available up until November 11, 2021.
Backcasts give an accurate representation of how our forecast performed on that day.
Note
This endpoint returns six months’ data in total (two prior months, the specified month, and three subsequent months) for each API.
Backcast data are not available prior to 2021-1-15. For a date with no forecast data available, the closest
forecast_run_date
is returned.Forecasts are updated every 3 days.
Incomplete state data is accounted for. For example, if state data is incomplete for a month prior to the
start_date
, we fill in the missing data before each forecasting.
Warning
A throttling mechanism with a rate limit of 30 requests per minute has been implemented for this endpoint. This is temporary and may be adjusted in the future.
Endpoint#
POST |
https://hyperion.api.synmax.com/v3/shorttermforecasthistory |
Usage#
Python#
- short_term_forecast_history(aggregate_by=[None], county=[None], end_date=None, forecast_run_date=None, start_date=None)#
Returns monthly gas production backcasts for the selected date (
start_date
) organized by well API number.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.short_term_forecast_history(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 |
---|---|---|---|
api |
string array |
Well API numbers passed as strings. |
|
county |
string array |
Limit search by a list of counties. |
|
end_date |
string |
Limit search to an end date. Date formatting - [“YYYY-MM-DD”] |
|
forecast_run_date |
string |
Date of nearest forecast. Date formatting - [“YYYY-MM-DD”] |
“2022-06-01” |
start_date |
string |
Limit search to a start date. Date formatting - [“YYYY-MM-DD”] |
|
Note
forecast_run_date is a required field. If no forecast_run_date is specified, the latest version of the STF History data is pulled.
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 |
---|---|---|---|
api |
integer |
An API is a unique, permanent, numeric identifier assigned to each well drilled. |
1701121257 |
date |
string |
Date selected for forecast (unsynced). Date formatting - [“YYYY-MM-DD”] |
“2022-11-01” |
forecast_run_date |
string |
Date of nearest forecast (unsynced). Date formatting - [“YYYY-MM-DD”] |
“2022-06-01” |
gas_daily |
float |
Average rate of gas production expressed per day (in BCF/day). |
23.842 |
gas_monthly |
integer |
Amount of gas produced over one month (in MCF, or 1 thousand cubic feet). |
980 |
oil_daily |
float |
The amount of oil produced in a single day (in BBLS, or barrels). |
112.9570761 |
oil_monthly |
integer |
The amount of oil produced over one month (in BBLS, or barrels). |
5650 |
operator_name |
string |
Operator of the well. |
“PIE OPERATING, LLC” |
region |
string |
Aggregation of multiple major producing basins. |
“GULF” |
state_ab |
string |
Abbreviation of the state. |
“LA” |
sub_region |
string |
Aggregation of several counties, typically representing a major producing basin. |
“S LA” |
Note
Unsynced data in the date column provide a date at the start of the month. However, the actual reported date is for the end of the month.
For example, if the reported date is “2022-1-10”, this means the data pertains to the month of January and was actually reported on “2022-01-31”.
This means that you should ideally interpret the reported date as representing the whole month and not just the specific date at the start of the month.
Responses#
Normal Output#
api |
county |
date |
forecast_run_date |
gas_daily |
gas_monthly |
operator_name |
region |
state_ab |
sub_region |
---|---|---|---|---|---|---|---|---|---|
1701129920 |
BEAUREGARD |
2022-05-01 |
2023-01-10 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-05-01 |
2023-02-26 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-06-01 |
2022-12-14 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-06-01 |
2022-12-16 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-06-01 |
2022-12-19 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-06-01 |
2022-12-22 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-06-01 |
2022-12-25 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-06-01 |
2022-12-29 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-06-01 |
2022-12-31 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
1701129920 |
BEAUREGARD |
2022-06-01 |
2023-01-03 |
0.0 |
0.0 |
ALLEN BROTHERS |
gulf |
LA |
S LA |
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 |
forecast_run_date |
gas_daily |
gas_monthly |
---|---|---|---|---|
PANOLA |
2022-11-01 |
2022-12-19 |
2093778.1971174804 |
62813345.91352441 |
CASS |
2022-11-01 |
2023-03-08 |
13898.50369577208 |
416955.1108731624 |
HARRISON |
2022-11-01 |
2023-02-11 |
1051148.5643621958 |
31534456.930865876 |
UPSHUR |
2022-11-01 |
2022-10-08 |
86481.1786163545 |
2594435.358490635 |
SMITH |
2022-11-01 |
2023-04-06 |
60584.03802174857 |
1817521.1406524573 |
WEBSTER |
2022-11-01 |
2023-04-21 |
52330.362426362546 |
1569910.8727908763 |
WOOD |
2022-11-01 |
2023-01-28 |
124189.12321234349 |
3725673.6963703046 |
BOWIE |
2022-11-01 |
2022-10-02 |
38.76068645402476 |
1162.8205936207428 |
SMITH |
2022-11-01 |
2023-04-18 |
56062.22579401442 |
1681866.7738204326 |
NACOGDOCHES |
2022-11-01 |
2023-04-21 |
322186.92204913456 |
9665607.661474036 |
payload = {
'aggregate_by': 'date'
}
date |
forecast_run_date |
gas_daily |
gas_monthly |
---|---|---|---|
2022-11-01 |
2022-11-17 |
5552555.875492425 |
166576676.26477274 |
2022-11-01 |
2022-09-29 |
5290711.072111142 |
158721332.16333425 |
2022-11-01 |
2023-01-10 |
16249511.240589965 |
487485337.21769893 |
2022-11-01 |
2022-10-02 |
5362402.577227447 |
160872077.31682342 |
2022-11-01 |
2022-12-29 |
16200612.726043709 |
486018381.7813113 |
2022-11-01 |
2022-10-21 |
5242302.553805154 |
157269076.6141546 |
2022-11-01 |
2023-03-04 |
16402373.34345502 |
492071200.3036506 |
2022-11-01 |
2023-01-13 |
16277886.091796536 |
488336582.75389606 |
2022-11-01 |
2023-03-25 |
16399968.70893883 |
491999061.2681649 |
2022-11-01 |
2023-01-21 |
16120321.113049427 |
483609633.39148283 |
payload = {
'aggregate_by': 'operator'
}
date |
forecast_run_date |
gas_daily |
gas_monthly |
operator_name |
---|---|---|---|---|
2022-11-01 |
2022-12-31 |
22.44024864024864 |
673.2074592074592 |
COWRIE ENERGY LLC |
2022-11-01 |
2023-01-19 |
0.0 |
0.0 |
|
2022-11-01 |
2022-11-07 |
2818.945675136462 |
84568.37025409385 |
FAIR OIL LTD |
2022-11-01 |
2022-12-22 |
613.5075369075369 |
18405.226107226106 |
H & T EXPLORATION, INC. |
2022-11-01 |
2023-02-15 |
344.8775058275059 |
10346.325174825177 |
HALLMARK OIL AND GAS CO., INC. |
2022-11-01 |
2023-03-22 |
0.0 |
0.0 |
SOUTHERN STATES OIL PRODUCTION, LLC |
2022-11-01 |
2023-01-10 |
0.0 |
0.0 |
T & L OIL PRODUCTION |
2022-11-01 |
2022-10-14 |
182.04323830609377 |
5461.297149182813 |
VESS OIL CORPORATION |
2022-11-01 |
2023-01-03 |
0.0 |
0.0 |
|
2022-11-01 |
2023-01-10 |
0.0 |
0.0 |
COMPASS ENERGY OPERATING LLC |
payload = {
'aggregate_by': 'region'
}
date |
forecast_run_date |
gas_daily |
gas_monthly |
region |
---|---|---|---|---|
2022-11-01 |
2022-11-10 |
5591578.83395559 |
167747365.0186677 |
gulf |
2022-11-01 |
2023-02-11 |
16217001.79562279 |
486510053.8686837 |
gulf |
2022-11-01 |
2022-09-29 |
5290711.072111144 |
158721332.1633343 |
gulf |
2022-11-01 |
2023-01-07 |
16212634.847159471 |
486379045.41478413 |
gulf |
2022-11-01 |
2023-01-31 |
16226013.708908958 |
486780411.2672688 |
gulf |
2022-11-01 |
2022-10-02 |
5362402.577227447 |
160872077.31682342 |
gulf |
2022-11-01 |
2023-03-17 |
16424415.053896962 |
492732451.61690885 |
gulf |
2022-11-01 |
2022-12-25 |
16395361.156921374 |
491860834.7076412 |
gulf |
2022-11-01 |
2023-01-28 |
16211071.052674064 |
486332131.58022195 |
gulf |
2022-11-01 |
2022-12-10 |
5509227.8752290765 |
165276836.2568723 |
gulf |
payload = {
'aggregate_by': 'state_code'
}
date |
forecast_run_date |
gas_daily |
gas_monthly |
state_ab |
---|---|---|---|---|
2022-11-01 |
2023-01-31 |
5345869.90746816 |
160376097.2240448 |
TX |
2022-11-01 |
2022-12-04 |
5542793.248990208 |
166283797.46970624 |
TX |
2022-11-01 |
2023-01-21 |
5345869.90746816 |
160376097.2240448 |
TX |
2022-11-01 |
2023-02-26 |
11172546.72647295 |
335176401.7941885 |
LA |
2022-11-01 |
2022-12-31 |
5310984.346729835 |
159329530.40189505 |
TX |
2022-11-01 |
2023-03-17 |
5238800.587524418 |
157164017.62573254 |
TX |
2022-11-01 |
2023-01-07 |
5307489.775040057 |
159224693.2512017 |
TX |
2022-11-01 |
2023-05-20 |
5121856.710871943 |
153655701.3261583 |
TX |
2022-11-01 |
2023-05-13 |
5121856.710871943 |
153655701.3261583 |
TX |
2022-11-01 |
2023-06-01 |
11000726.974666245 |
330021809.2399874 |
LA |
payload = {
'aggregate_by': 'sub_region'
}
date |
forecast_run_date |
gas_daily |
gas_monthly |
sub_region |
---|---|---|---|---|
2022-11-01 |
2023-02-24 |
0.0 |
0.0 |
S LA |
2022-11-01 |
2023-04-01 |
11266069.999969194 |
337982099.99907583 |
Haynesville - LA |
2022-11-01 |
2023-01-31 |
5345869.907468153 |
160376097.2240446 |
Haynesville - TX |
2022-11-01 |
2023-05-20 |
5121856.710871941 |
153655701.32615826 |
Haynesville - TX |
2022-11-01 |
2023-04-15 |
10861590.434101844 |
325847713.0230553 |
Haynesville - LA |
2022-11-01 |
2023-02-26 |
5305606.663331857 |
159168199.89995572 |
Haynesville - TX |
2022-11-01 |
2022-11-04 |
5366536.655962356 |
160996099.67887068 |
Haynesville - TX |
2022-11-01 |
2022-12-22 |
10946763.35030135 |
328402900.5090405 |
Haynesville - LA |
2022-11-01 |
2022-10-02 |
5362402.577227442 |
160872077.31682324 |
Haynesville - TX |
2022-11-01 |
2023-01-15 |
0.0 |
0.0 |
S LA |
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.