pg-and-e · Capability
PG&E Share My Data API
The PG&E Share My Data API provides customer-authorized access to energy usage data following the Energy Service Provider Interface (ESPI) standard and Green Button Connect My Data specification. Third-party companies can access interval data for both electricity and gas usage through RESTful web services with OAuth 2.0 authorization.
What You Can Do
GET
Listauthorizations
— List authorizations
/GreenButtonConnect/espi/1_1/resource/Authorization
GET
Listsubscriptions
— List subscriptions
/GreenButtonConnect/espi/1_1/resource/Subscription
GET
Listusagepoints
— List usage points
/GreenButtonConnect/espi/1_1/resource/Subscription/{subscriptionId}/UsagePoint
GET
Listmeterreadings
— List meter readings
/GreenButtonConnect/espi/1_1/resource/Subscription/{subscriptionId}/UsagePoint/{usagePointId}/MeterReading
GET
Listintervalblocks
— List interval blocks
/GreenButtonConnect/espi/1_1/resource/Subscription/{subscriptionId}/UsagePoint/{usagePointId}/MeterReading/{meterReadingId}/IntervalBlock
MCP Tools
listauthorizations
List authorizations
read-only
idempotent
listsubscriptions
List subscriptions
read-only
idempotent
listusagepoints
List usage points
read-only
idempotent
listmeterreadings
List meter readings
read-only
idempotent
listintervalblocks
List interval blocks
read-only
idempotent