Skip to content

Address lookup (beta)

Beta mode

addressLookupUsingEsSearch is currently in beta mode. So there can be improvements made without notice.

Authentication not required

addressLookupUsingEsSearch does not require authentication.

Arguments

  • search: String!

Returns

query getAddressUsingElasticSearchIndex($search: String!) {
  addressLookupUsingEsSearch(search: $search) {
    houseNumber
    address
    postCode
    city
    state
    serviceProvider
    loadZone
    esiId
    postCode
  }
}
1
2
3
4
# Input variables
{
  "search": "",
}

Examples

Search by a generic term

query getAddressUsingElasticSearchIndex($search: String!) {
  addressLookupUsingEsSearch(search: $search) {
    houseNumber
    address
    postCode
    city
    state
    serviceProvider
    loadZone
    esiId
  }
}
1
2
3
4
# Input variables
{
  "search": "12 Avenue"
}
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 getAddressUsingElasticSearchIndex($search: String!) {
        addressLookupUsingEsSearch(search: $search) {
            houseNumber
            address
            postCode
            city
            state
            serviceProvider
            loadZone
            esiId
        }
    }
"""
VARIABLES = {
  "search": "12 Avenue"
}

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 getAddressUsingElasticSearchIndex($search: String!) {
        addressLookupUsingEsSearch(search: $search) {
            houseNumber
            address
            postCode
            city
            state
            serviceProvider
            loadZone
            esiId
        }
    }
`
const variables = {
  "search": "12 Avenue"
}

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 getAddressUsingElasticSearchIndex($search: String!) {
        addressLookupUsingEsSearch(search: $search) {
            houseNumber
            address
            postCode
            city
            state
            serviceProvider
            loadZone
            esiId
        }
    }
`
export const variables = {
  "search": "12 Avenue"
}

axios({
  url: apiUrl,
  method: "post",
  data: {
    query: query,
    variables: variables,
  },
  headers: headers,
}).then((response) => {
  console.log(JSON.stringify(response.data, null, 4));
});
{
"data": {
    "addressLookupUsingEsSearch": [
    {
        "houseNumber": "12",
        "address": "12 W AVENUE M",
        "postCode": "76903",
        "city": "SAN ANGELO",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049763543050"
    },
    {
        "houseNumber": "12",
        "address": "12 AVENUE K E",
        "postCode": "79521",
        "city": "HASKELL",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049750424340"
    },
    {
        "houseNumber": "12",
        "address": "12 AVENUE D ST",
        "postCode": "76432",
        "city": "BLANKET",
        "state": "TX",
        "serviceProvider": "ONCOR",
        "loadZone": "LZ_NORTH",
        "esiId": "10443720002301626"
    },
    {
        "houseNumber": "12",
        "address": "12 E AVENUE J",
        "postCode": "76903",
        "city": "SAN ANGELO",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049731088591"
    },
    {
        "houseNumber": "151",
        "address": "151 AVENUE B",
        "postCode": "75472",
        "city": "POINT",
        "state": "TX",
        "serviceProvider": "TNMP",
        "loadZone": "LZ_WEST",
        "esiId": "10400512521110001"
    },
    {
        "houseNumber": "411",
        "address": "411 AVENUE A",
        "postCode": "77568",
        "city": "LA MARQUE",
        "state": "TX",
        "serviceProvider": "TNMP",
        "loadZone": "LZ_WEST",
        "esiId": "10400519475370001"
    },
    {
        "houseNumber": "350",
        "address": "350 W AVENUE L",
        "postCode": "76903",
        "city": "SAN ANGELO",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049772686579"
    },
    {
        "houseNumber": "624",
        "address": "624 NE AVENUE B",
        "postCode": "79520",
        "city": "HAMLIN",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049708883210"
    },
    {
        "houseNumber": "509",
        "address": "509 E AVENUE A",
        "postCode": "79830",
        "city": "ALPINE",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049719243401"
    },
    {
        "houseNumber": "407",
        "address": "407 AVENUE B NW",
        "postCode": "79201",
        "city": "CHILDRESS",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049794695150"
    }
    ]
}
}

Search by postcode

query getAddressUsingElasticSearchIndex($search: String!) {
  addressLookupUsingEsSearch(search: $search) {
    houseNumber
    address
    postCode
    city
    state
    serviceProvider
    loadZone
    esiId
    postCode
  }
}
1
2
3
4
# Input variables
{
  "search": "75104"
}
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 getAddressUsingElasticSearchIndex($search: String!) {
        addressLookupUsingEsSearch(search: $search) {
            houseNumber
            address
            postCode
            city
            state
            serviceProvider
            loadZone
            esiId
            postCode
        }
    }
"""
VARIABLES = {
  "search": "75104"
}

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 getAddressUsingElasticSearchIndex($search: String!) {
        addressLookupUsingEsSearch(search: $search) {
            houseNumber
            address
            postCode
            city
            state
            serviceProvider
            loadZone
            esiId
            postCode
        }
    }
`
const variables = {
  "search": "75104"
}

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 getAddressUsingElasticSearchIndex($search: String!) {
        addressLookupUsingEsSearch(search: $search) {
            houseNumber
            address
            postCode
            city
            state
            serviceProvider
            loadZone
            esiId
            postCode
        }
    }
`
export const variables = {
  "search": "75104"
}

axios({
  url: apiUrl,
  method: "post",
  data: {
    query: query,
    variables: variables,
  },
  headers: headers,
}).then((response) => {
  console.log(JSON.stringify(response.data, null, 4));
});
{
    "data": {
        "addressLookupUsingEsSearch": [
        {
            "houseNumber": "1606",
            "address": "1606 PEBBLE BEACH LN TEMP",
            "postCode": "75104",
            "city": "CEDAR HILL",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000012452"
        },
        {
            "houseNumber": "1509",
            "address": "1509 VALLEY VIEW DR BLDG METR",
            "postCode": "75104",
            "city": "CEDAR HILL",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000010592"
        },
        {
            "houseNumber": "1426",
            "address": "1426 PEAK",
            "postCode": "75104",
            "city": "CEDAR HILL",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000018276"
        },
        {
            "houseNumber": "716",
            "address": "716 N HIGHWAY 67 STE 2",
            "postCode": "75104",
            "city": "CEDAR HILL",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000019051"
        },
        {
            "houseNumber": "1801",
            "address": "1801 JUNIPER LN TEMP",
            "postCode": "75104",
            "city": "CEDAR HILL",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000025822"
        },
        {
            "houseNumber": "532",
            "address": "532 PRINCE ST",
            "postCode": "75104",
            "city": "CEDAR HILL",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000022890"
        },
        {
            "houseNumber": "923",
            "address": "923 CHRISTOPHER DR TEMP",
            "postCode": "75104",
            "city": "CEDAR HILL",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000028506"
        },
        {
            "houseNumber": "1032",
            "address": "1032 BENTWATER PKWY GARG",
            "postCode": "75104",
            "city": "GRAND PRAIRIE",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000031632"
        },
        {
            "houseNumber": "915",
            "address": "915 MALLARD POINTE DR",
            "postCode": "75104",
            "city": "GRAND PRAIRIE",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000036664"
        },
        {
            "houseNumber": "1115",
            "address": "1115 DOUGLAS DR",
            "postCode": "75104",
            "city": "CEDAR HILL",
            "state": "TX",
            "serviceProvider": "ONCOR",
            "loadZone": "LZ_NORTH",
            "esiId": "10443720000037784"
        }
        ]
    }
}

Search by service provider (TDSP)

query getAddressUsingElasticSearchIndex($search: String!) {
  addressLookupUsingEsSearch(search: $search) {
    houseNumber
    address
    postCode
    city
    state
    serviceProvider
    loadZone
    esiId
    postCode
  }
}
1
2
3
4
# Input variables
{
  "search": "AEP_TNC"
}
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 getAddressUsingElasticSearchIndex($search: String!) {
        addressLookupUsingEsSearch(search: $search) {
            houseNumber
            address
            postCode
            city
            state
            serviceProvider
            loadZone
            esiId
            postCode
        }
    }
"""
VARIABLES =     {
  "search": "AEP_TNC"
}

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 getAddressUsingElasticSearchIndex($search: String!) {
    addressLookupUsingEsSearch(search: $search) {
      houseNumber
      address
      postCode
      city
      state
      serviceProvider
      loadZone
      esiId
      postCode
    }
  }
`
const variables = {
  "search": "AEP_TNC"
}

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 getAddressUsingElasticSearchIndex($search: String!) {
    addressLookupUsingEsSearch(search: $search) {
      houseNumber
      address
      postCode
      city
      state
      serviceProvider
      loadZone
      esiId
      postCode
    }
  }
`
export const variables = {
  "search": "AEP_TNC"
}

axios({
  url: apiUrl,
  method: "post",
  data: {
    query: query,
    variables: variables,
  },
  headers: headers,
}).then((response) => {
  console.log(JSON.stringify(response.data, null, 4));
});
{
"data": {
    "addressLookupUsingEsSearch": [
    {
        "houseNumber": "2214",
        "address": "2214 S IRVING ST",
        "postCode": "76903",
        "city": "SAN ANGELO",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049708604811"
    },
    {
        "houseNumber": "2341",
        "address": "2341 PLYMOUTH ROCK RD",
        "postCode": "79601",
        "city": "ABILENE",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049709573075"
    },
    {
        "houseNumber": "2351",
        "address": "2351 FM 2903 UNIT CELTWR2",
        "postCode": "79718",
        "city": "BALMORHEA",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049708811288"
    },
    {
        "houseNumber": "7309",
        "address": "7309 SOUTHERN BELLE CIR LOT TEMP",
        "postCode": "79602",
        "city": "ABILENE",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049708605873"
    },
    {
        "houseNumber": "1111",
        "address": "1111 E 12TH ST UNIT HSPRSBX",
        "postCode": "76932",
        "city": "BIG LAKE",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049709397642"
    },
    {
        "houseNumber": "105",
        "address": "105 N SWENSON ST",
        "postCode": "79553",
        "city": "STAMFORD",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049709196920"
    },
    {
        "houseNumber": "7339",
        "address": "7339 SOUTHERN BELLE CIR",
        "postCode": "79602",
        "city": "ABILENE",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049709398221"
    },
    {
        "houseNumber": "725",
        "address": "725 FORREST AVE",
        "postCode": "79603",
        "city": "ABILENE",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049709399520"
    },
    {
        "houseNumber": "346",
        "address": "346 SW 1ST ST",
        "postCode": "79520",
        "city": "HAMLIN",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049709761960"
    },
    {
        "houseNumber": "5390",
        "address": "5390 CHRISTOVAL RD",
        "postCode": "76904",
        "city": "SAN ANGELO",
        "state": "TX",
        "serviceProvider": "AEP_TNC",
        "loadZone": "LZ_SOUTH",
        "esiId": "10204049709198620"
    }
    ]
}
}
Back to top