Real Time Price¶
Returns the Real-time Wholesale Market pricing that ERCOT settles in every 15-minute intervals.
Get All Real Time LMP data¶
This query will return the real time pricing for all the load zones.
Authentication not required
getAllRealTimeLmpData
does not require authentication.
-
Returns
Example¶
import pprint
import requests
# API_URL = "https://api.oeus-kraken.energy/v1/graphql/" # Prod
API_URL = "https://api.oeus-kraken.systems/v1/graphql/" # Test
HEADERS = {}
QUERY = """
query getRealTimePricingData {
getAllRealTimeLmpData {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
"""
VARIABLES = {
"settlementPoint": "SettlementPointOptions"
}
session = requests.Session()
session.headers.update(HEADERS)
response = session.post(
url=API_URL,
json={"query": QUERY, "variables": VARIABLES}
)
pprint.pprint(response.json())
const axios = require("axios")
// const API_URL = "https://api.oeus-kraken.energy/v1/graphql/" // Prod
const apiUrl = "https://api.oeus-kraken.systems/v1/graphql/" // Test
let headers = {'content-type': 'application/json'}
const query = `
query getRealTimePricingData {
getAllRealTimeLmpData {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
`
const variables = {
"settlementPoint": "SettlementPointOptions"
}
axios({
url: apiUrl,
method: "post",
data: {
query: query,
variables: variables,
},
headers: headers,
}).then((response) => {
console.log(JSON.stringify(response.data, null, 4));
});
import axios from 'axios';
// const API_URL = "https://api.oeus-kraken.energy/v1/graphql/" // Prod
export const apiUrl = "https://api.oeus-kraken.systems/v1/graphql/" // Test
let headers = {'content-type': 'application/json'}
export const query = `
query getRealTimePricingData {
getAllRealTimeLmpData {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
`
export const variables = {
"settlementPoint": "SettlementPointOptions"
}
axios({
url: apiUrl,
method: "post",
data: {
query: query,
variables: variables,
},
headers: headers,
}).then((response) => {
console.log(JSON.stringify(response.data, null, 4));
});
{
"data": {
"getAllRealTimeLmpData": [
{
"SettlementPoint": "HB_BUSAVG",
"LMP": 25.62,
"LMP5MinuteDifference": -1.03,
"RtorpaRtordpaLmp": 25.62,
"RtorpaRtordpaLmp5MinDifference": -1.03,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "HB_HOUSTON",
"LMP": 30.82,
"LMP5MinuteDifference": -2.59,
"RtorpaRtordpaLmp": 30.82,
"RtorpaRtordpaLmp5MinDifference": -2.59,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "HB_HUBAVG",
"LMP": 25.86,
"LMP5MinuteDifference": -1.17,
"RtorpaRtordpaLmp": 25.86,
"RtorpaRtordpaLmp5MinDifference": -1.17,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "HB_NORTH",
"LMP": 22.08,
"LMP5MinuteDifference": 0.17,
"RtorpaRtordpaLmp": 22.08,
"RtorpaRtordpaLmp5MinDifference": 0.17,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "HB_PAN",
"LMP": 15.15,
"LMP5MinuteDifference": 2.12,
"RtorpaRtordpaLmp": 15.15,
"RtorpaRtordpaLmp5MinDifference": 2.12,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "HB_SOUTH",
"LMP": 38.46,
"LMP5MinuteDifference": -5.04,
"RtorpaRtordpaLmp": 38.46,
"RtorpaRtordpaLmp5MinDifference": -5.04,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "HB_WEST",
"LMP": 12.09,
"LMP5MinuteDifference": 2.8,
"RtorpaRtordpaLmp": 12.09,
"RtorpaRtordpaLmp5MinDifference": 2.8,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "LZ_AEN",
"LMP": 42.32,
"LMP5MinuteDifference": -6.11,
"RtorpaRtordpaLmp": 42.32,
"RtorpaRtordpaLmp5MinDifference": -6.11,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "LZ_CPS",
"LMP": 41.09,
"LMP5MinuteDifference": -5.9,
"RtorpaRtordpaLmp": 41.09,
"RtorpaRtordpaLmp5MinDifference": -5.9,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "LZ_HOUSTON",
"LMP": 31.12,
"LMP5MinuteDifference": -2.69,
"RtorpaRtordpaLmp": 31.12,
"RtorpaRtordpaLmp5MinDifference": -2.69,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "LZ_LCRA",
"LMP": 45.66,
"LMP5MinuteDifference": -9.58,
"RtorpaRtordpaLmp": 45.66,
"RtorpaRtordpaLmp5MinDifference": -9.58,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "LZ_NORTH",
"LMP": 21.72,
"LMP5MinuteDifference": 0.32,
"RtorpaRtordpaLmp": 21.72,
"RtorpaRtordpaLmp5MinDifference": 0.32,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "LZ_RAYBN",
"LMP": 21.53,
"LMP5MinuteDifference": 0.32,
"RtorpaRtordpaLmp": 21.53,
"RtorpaRtordpaLmp5MinDifference": 0.32,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "LZ_SOUTH",
"LMP": 39.47,
"LMP5MinuteDifference": -5.73,
"RtorpaRtordpaLmp": 39.47,
"RtorpaRtordpaLmp5MinDifference": -5.73,
"lastUpdatedAt": "2022-01-07T14:15:12"
},
{
"SettlementPoint": "LZ_WEST",
"LMP": 10.37,
"LMP5MinuteDifference": 2.58,
"RtorpaRtordpaLmp": 10.37,
"RtorpaRtordpaLmp5MinDifference": 2.58,
"lastUpdatedAt": "2022-01-07T14:15:12"
}
]
}
}
Get LMP data based on a settlement point (load zone)¶
Authentication not required
getSettlementPoint
does not require authentication.
-
Arguments
settlementPoint
: SettlementPointOptions
-
Returns
Example¶
import pprint
import requests
# API_URL = "https://api.oeus-kraken.energy/v1/graphql/" # Prod
API_URL = "https://api.oeus-kraken.systems/v1/graphql/" # Test
HEADERS = {}
QUERY = """
query getSettlementPoint($settlementPoint: SettlementPointOptions!) {
getSettlementPoint(settlementPoint: $settlementPoint) {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
"""
VARIABLES = {
"settlementPoint": "LZ_SOUTH"
}
session = requests.Session()
session.headers.update(HEADERS)
response = session.post(
url=API_URL,
json={"query": QUERY, "variables": VARIABLES}
)
pprint.pprint(response.json())
const axios = require("axios")
// const API_URL = "https://api.oeus-kraken.energy/v1/graphql/" // Prod
const apiUrl = "https://api.oeus-kraken.systems/v1/graphql/" // Test
let headers = {'content-type': 'application/json'}
const query = `
query getSettlementPoint($settlementPoint: SettlementPointOptions!) {
getSettlementPoint(settlementPoint: $settlementPoint) {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
`
const variables = {
"settlementPoint": "LZ_SOUTH"
}
axios({
url: apiUrl,
method: "post",
data: {
query: query,
variables: variables,
},
headers: headers,
}).then((response) => {
console.log(JSON.stringify(response.data, null, 4));
});
import axios from 'axios';
// const API_URL = "https://api.oeus-kraken.energy/v1/graphql/" // Prod
export const apiUrl = "https://api.oeus-kraken.systems/v1/graphql/" // Test
let headers = {'content-type': 'application/json'}
export const query = `
query getSettlementPoint($settlementPoint: SettlementPointOptions!) {
getSettlementPoint(settlementPoint: $settlementPoint) {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
`
export const variables = {
"settlementPoint": "LZ_SOUTH"
}
axios({
url: apiUrl,
method: "post",
data: {
query: query,
variables: variables,
},
headers: headers,
}).then((response) => {
console.log(JSON.stringify(response.data, null, 4));
});
Get LMP data based on a given value and arithmetic operator¶
Authentication not required
getLmpValue
does not require authentication.
-
Arguments
value
:Float
sort
: SortByOptions
-
Returns
Example¶
import pprint
import requests
# API_URL = "https://api.oeus-kraken.energy/v1/graphql/" # Prod
API_URL = "https://api.oeus-kraken.systems/v1/graphql/" # Test
HEADERS = {}
QUERY = """
query getLMP($value: Float!, $sort: SortByOptions!) {
getLmpValue(value: $value, sort: $sort) {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
"""
VARIABLES = {
"value": 22.0,
"sort": "LESS_THAN"
}
session = requests.Session()
session.headers.update(HEADERS)
response = session.post(
url=API_URL,
json={"query": QUERY, "variables": VARIABLES}
)
pprint.pprint(response.json())
const axios = require("axios")
// const API_URL = "https://api.oeus-kraken.energy/v1/graphql/" // Prod
const apiUrl = "https://api.oeus-kraken.systems/v1/graphql/" // Test
let headers = {'content-type': 'application/json'}
const query = `
query getLMP($value: Float!, $sort: SortByOptions!) {
getLmpValue(value: $value, sort: $sort) {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
`
const variables = {
"value": 22.0,
"sort": "LESS_THAN"
}
axios({
url: apiUrl,
method: "post",
data: {
query: query,
variables: variables,
},
headers: headers,
}).then((response) => {
console.log(JSON.stringify(response.data, null, 4));
});
import axios from 'axios';
// const API_URL = "https://api.oeus-kraken.energy/v1/graphql/" // Prod
export const apiUrl = "https://api.oeus-kraken.systems/v1/graphql/" // Test
let headers = {'content-type': 'application/json'}
export const query = `
query getLMP($value: Float!, $sort: SortByOptions!) {
getLmpValue(value: $value, sort: $sort) {
SettlementPoint
LMP
LMP5MinuteDifference
RtorpaRtordpaLmp
RtorpaRtordpaLmp5MinDifference
lastUpdatedAt
}
}
`
export const variables = {
"value": 22.0,
"sort": "LESS_THAN"
}
axios({
url: apiUrl,
method: "post",
data: {
query: query,
variables: variables,
},
headers: headers,
}).then((response) => {
console.log(JSON.stringify(response.data, null, 4));
});
{
"data": {
"getLmpValue": [
{
"SettlementPoint": "HB_PAN",
"LMP": 13.44,
"LMP5MinuteDifference": -0.83,
"RtorpaRtordpaLmp": 13.44,
"RtorpaRtordpaLmp5MinDifference": -0.83,
"lastUpdatedAt": "2022-01-07T14:30:14"
},
{
"SettlementPoint": "HB_WEST",
"LMP": 9.73,
"LMP5MinuteDifference": -0.6,
"RtorpaRtordpaLmp": 9.73,
"RtorpaRtordpaLmp5MinDifference": -0.6,
"lastUpdatedAt": "2022-01-07T14:30:14"
},
{
"SettlementPoint": "LZ_NORTH",
"LMP": 21.81,
"LMP5MinuteDifference": -1.39,
"RtorpaRtordpaLmp": 21.81,
"RtorpaRtordpaLmp5MinDifference": -1.39,
"lastUpdatedAt": "2022-01-07T14:30:14"
},
{
"SettlementPoint": "LZ_RAYBN",
"LMP": 21.58,
"LMP5MinuteDifference": -1.4,
"RtorpaRtordpaLmp": 21.58,
"RtorpaRtordpaLmp5MinDifference": -1.4,
"lastUpdatedAt": "2022-01-07T14:30:14"
},
{
"SettlementPoint": "LZ_WEST",
"LMP": 8,
"LMP5MinuteDifference": -0.81,
"RtorpaRtordpaLmp": 8,
"RtorpaRtordpaLmp5MinDifference": -0.81,
"lastUpdatedAt": "2022-01-07T14:30:14"
}
]
}
}