NAESB REQ.21 Energy Services Provider Interface (ESPI)

The NAESB REQ.21 ESPI Model Business Practices define the data exchange protocol for transferring retail energy usage information from a utility (Data Custodian) to a Third Party with the Retail Customer's authorization. ESPI is the industry-consensus standard that is the basis of every Green Button implementation in North America and is the standard endorsed by the Green Button Alliance. NAESB publishes the standard; it does not operate an ESPI endpoint — each Data Custodian utility hosts its own, so there is no NAESB base URL. The Atom/XML payload schemas (NAESBespiSchema.xsd and retailcustomer.xsd, v3.3 and v4.0) are released under the Apache License 2.0 as a one-time exception to the NAESB Copyright Policy and are harvested here verbatim. The narrative Model Business Practices themselves are copyright-protected and must be purchased or obtained through NAESB membership. The v4.0 schema encodes an OAuth 2.0 authorization model directly — ApplicationInformation carries authorizationServerAuthorizationEndpoint, authorizationServerTokenEndpoint, authorizationServerRegistrationEndpoint, GrantType, TokenEndPointMethod, scope and OAuthError.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/naesb-espi-green-button"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
aid: naesb:naesb-espi-green-button
name: NAESB REQ.21 Energy Services Provider Interface (ESPI)
description: The NAESB REQ.21 ESPI Model Business Practices define the data exchange protocol for transferring
  retail energy usage information from a utility (Data Custodian) to a Third Party with the Retail Customer's
  authorization. ESPI is the industry-consensus standard that is the basis of every Green Button implementation
  in North America and is the standard endorsed by the Green Button Alliance. NAESB publishes the standard;
  it does not operate an ESPI endpoint — each Data Custodian utility hosts its own, so there is no NAESB
  base URL. The Atom/XML payload schemas (NAESBespiSchema.xsd and retailcustomer.xsd, v3.3 and v4.0) are
  released under the Apache License 2.0 as a one-time exception to the NAESB Copyright Policy and are
  harvested here verbatim. The narrative Model Business Practices themselves are copyright-protected and
  must be purchased or obtained through NAESB membership. The v4.0 schema encodes an OAuth 2.0 authorization
  model directly — ApplicationInformation carries authorizationServerAuthorizationEndpoint, authorizationServerTokenEndpoint,
  authorizationServerRegistrationEndpoint, GrantType, TokenEndPointMethod, scope and OAuthError.
humanURL: https://www.naesb.org/ESPI_Standards.asp
tags:
- Green Button
- ESPI
- Energy Usage
- Smart Metering
- Authentication
- Retail Electric
tags_raw:
- Green Button
- ESPI
- Energy Usage
- Smart Metering
- OAuth
- Retail Electric
properties:
- type: XMLSchema
  url: schemas/naesb-espi_v4.xsd
- type: XMLSchema
  url: schemas/naesb-customer_v4.xsd
- type: XMLSchema
  url: schemas/naesb-espi.xsd
- type: XMLSchema
  url: schemas/naesb-customer.xsd
- type: Documentation
  url: https://www.naesb.org/ESPI_Standards.asp
- type: Pricing
  url: https://www.naesb.org//misc/naesb_matl_order_espi_standards.pdf
- type: TermsOfService
  url: https://www.naesb.org/copyright.asp
- type: AgentSkill
  name: Authorize and retrieve Green Button energy usage under NAESB ESPI
  url: skills/naesb-espi-green-button-authorization.md