Pacific Gas & Electric Co. (PG&E) Data Access Guide

PG&E is California's largest investor-owned utility serving 5.7 million electric and 2.4 million gas customers across northern and central California. Comprehensive programmatic data access via Share My Data (ESPI 1.1), Green Button, EDI, and Energy Data Request Portal.

California · Investor-Owned Utility·5,725,404 customers·Fully supported by Nectar·Last updated May 13, 2026

How to Get Your Pacific Gas & Electric Co. (PG&E) Data: All Access Methods

Method1st Party3rd PartyCustomer TypesData TypesLatencyFormat
Online Portal (MyAccount)AllBilling, Usage, HistoryInstant (view only)Web Portal, PDF
Green Button Download My DataResidential, SMB, C&IInterval Data, Billing2 business daysCSV, XML/ESPI
Share My Data (APIs)AllInterval, Billing, Customer2-4 hoursXML/ESPI
Stream My DataResidential, SMBReal-time usage<1 minuteReal-time
Form 79-1095AllUsage, Billing, Payment5-10 business daysPaper, Email
EDI (X12)C&I, AggregatorsInvoices, Meter Data, PaymentsAutomated (billing cycle)ANSI X12
Energy Data Request PortalPublic AccessAggregated Usage by ZIPQuarterlyCSV
01

Billing Data Access

PG&E provides customers with online access to their billing information through the MyAccount portal. Customers can view, download, and compare bills over 24 months of history.

What Data Is on Your Pacific Gas & Electric Co. (PG&E) Bill

  • Current and past billing statements (PDF format)
  • Payment history
  • Bill comparison tools
  • Usage summaries by billing period

How to Download Pacific Gas & Electric Co. (PG&E) Bills (Business & Commercial)

  1. 01Sign in to your PG&E business account at myaccount.pge.com
  2. 02Go to Account > Billing
  3. 03Select "View Past Bills" or "Billing & Payment History"
  4. 04Download bills in PDF format or print directly from the portal
  5. 05Access payment history to track all transactions

How to Download Pacific Gas & Electric Co. (PG&E) Bills (Residential)

  1. 01Visit myaccount.pge.com and sign in with your PG&E account credentials
  2. 02Navigate to your account dashboard
  3. 03Under "Billing" section, click "All billing tasks"
  4. 04Scroll to "Billing & Payment History"
  5. 05Locate the bill by date in the list
  6. 06Click "View Bill PDF" to download the bill as a PDF file
  7. 07Bills are available for up to 24 months of history

Third-Party Access to Pacific Gas & Electric Co. (PG&E) Billing Data

Share My Data (Preferred)

  1. 01Customer authorizes third-party through Share My Data portal at sharemydata.pge.com
  2. 02Third-party is registered as approved vendor with PG&E
  3. 03Customer grants one-time authorization to access billing data
  4. 04Billing data transferred automatically via APIs
  5. 05Data includes monthly billing amounts with ~2 business days latency

Paper-Based Form 79-1095

  1. 01Customer fills out Form 79-1095: Authorization to Receive Customer Information
  2. 02Customer signs form and sends to third party with authorization scope
  3. 03Third party includes signed form with billing requests to PG&E
  4. 04PG&E provides data via encrypted email or U.S. Postal Service
PDFWeb Portal ViewAPI (via Share My Data)

Want to understand the charges on your bill?

See the Pacific Gas & Electric Co. (PG&E) Rate Schedules & Tariff Guide →

02

Interval Data & Smart Meters

PG&E has deployed Advanced Metering Infrastructure (AMI) widely across its service territory. SmartMeter devices enable real-time communication, detailed usage visibility at interval granularity, and automated outage detection.

Meter Technology
SmartMeter (AMI)
Electric Granularity
15-minute intervals
Gas Granularity
Daily consumption

How to Download Pacific Gas & Electric Co. (PG&E) Interval Data via Green Button

  1. 01Go to myaccount.pge.com and sign in with your account credentials
  2. 02Navigate to "Usage and rates" section in the account dashboard
  3. 03Select "View Usage Details" from the "Bill period usage section"
  4. 04Choose your desired time period (daily, hourly, or billing month)
  5. 05Click "Green Button Download my data"
  6. 06Select format: CSV (human-readable) or XML (machine-readable ESPI)
  7. 07Download the file to your computer

Interval data is essential for rate comparison and TOU analysis.

See which Pacific Gas & Electric Co. (PG&E) rate schedule is best for your usage pattern →

03

Green Button Access

Download My Data

One-time download of Green Button file in ESPI XML or CSV format via MyAccount portal. Contains meter interval data and billing cost data.

Formats
ESPI XML 1.1, CSV
Available To
Residential and SMB customers

Connect My Data

Automated, standards-based API access through Share My Data program. Real-time or near real-time data transfer with OAuth 2.0 authentication.

API Standard
ESPI 1.1
Available To
All customer types

04

Third-Party API Access

PG&E's next-generation third-party data access platform providing unified, API-based access for authorized third parties to customer energy data.

Program
Share My Data
Auth Method
OAuth 2.0 (authorization code flow)
Rate Limits
100 requests/minute per access token
Interval Latency
2-4 hours

Available Pacific Gas & Electric Co. (PG&E) API Endpoints

FunctionEndpointMethodFormat
Download Interval Data/espi/1_1/resource/IntervalBlock/...GETXML (ESPI 1.1)
Get Authorization Status/espi/1_1/resource/Authorization/{AuthID}GETXML
Get Usage Points/espi/1_1/resource/UsagePoint/GETXML
Get Customer Data/espi/1_1/resource/RetailCustomer/GETXML
Get Interval Readings/espi/1_1/resource/IntervalReading/GETXML

How to Register as a Pacific Gas & Electric Co. (PG&E) API Vendor

  1. 01Register at sharemydata.pge.com with company info and API callback endpoints
  2. 02PG&E reviews and approves vendor registration (5-10 business days)
  3. 03Receive OAuth 2.0 client ID and client secret
  4. 04Implement OAuth 2.0 authorization code flow in your application
  5. 05Customer authorizes via redirect to PG&E authorization page
  6. 06Exchange authorization code for access and refresh tokens
  7. 07Call API endpoints with access token to retrieve customer data

05

EDI (Electronic Data Interchange)

Supported Pacific Gas & Electric Co. (PG&E) EDI Transaction Sets

CodeNamePurpose
814Service OrderMeter-related service requests
810InvoiceBilling data transmission
820Payment OrderPayment/remittance advice
867Product TransferMeter data (interval usage)
997Functional AckReceipt confirmation

How to Enroll in Pacific Gas & Electric Co. (PG&E) EDI

  1. 01Determine EDI need: assess volume of bills, need for automation, number of locations
  2. 02Contact your PG&E Account Manager and request EDI enrollment
  3. 03Execute Form 79-861: EDI Trading Partner Agreement
  4. 04Select connection method: VAN (Value Added Network) or Direct (SFTP/AS2)
  5. 05Specify transaction sets needed (810 for invoices, 867 for meter data)
  6. 06Complete testing in PG&E pre-production environment (2-4 weeks)
  7. 07Cutover to production after conformance testing approval

06

Rate Schedules & Tariff Analysis

PG&E offers a wide range of electric and gas rate schedules for residential, commercial, industrial, and agricultural customers. Understanding your rate schedule is critical for cost optimization.

Pacific Gas & Electric Co. (PG&E) Rate Schedule List

ScheduleApplicability
B-1Small General Service (<75 kW demand)
B-10Medium General Demand-Metered (75-499 kW)
B-19Medium General Demand-Metered (500-999 kW)
B-20Large General Service (>=1000 kW)
E-19Medium General Demand-Metered TOU (500-999 kW)
E-20Large General Service TOU (>=1000 kW)
AG-1Agricultural Power (small)
A-1Small General Service (<200 kW)
A-10Medium General Service TOU (200-499 kW)

Pacific Gas & Electric Co. (PG&E) Rate Features & TOU Details

  • Time-of-Use (TOU) pricing on most commercial schedules
  • Demand charges for customers above 75 kW
  • Tiered residential rates with baseline allowances
  • Optional real-time pricing for large C&I customers
  • Net Energy Metering (NEM) for solar customers

For a deeper analysis including cost optimization strategies and historical rate trends:

Read the full Pacific Gas & Electric Co. (PG&E) Rate Optimization Guide →

07

Pacific Gas & Electric Co. (PG&E) Data Access FAQ

How do I get 15-minute interval data from PG&E for my commercial building?

Sign in to myaccount.pge.com, navigate to Usage and rates, then click Green Button Download my data. Select the XML (ESPI) format for machine-readable 15-minute intervals, or CSV for spreadsheet analysis. For automated access across multiple meters, register as a Share My Data vendor to pull interval data via the ESPI 1.1 API with OAuth 2.0 authentication.

Can a third-party energy consultant access our PG&E billing data without our login credentials?

Yes. Through Share My Data (sharemydata.pge.com), your organization grants one-time OAuth authorization to a registered vendor. The vendor receives an API token — never your password. You maintain full control and can revoke access from your MyAccount settings at any time. Alternatively, submit Form 79-1095 for paper-based authorization.

How do I set up EDI with PG&E for automated invoice processing across multiple sites?

Contact your PG&E Account Manager to request EDI enrollment. Execute Form 79-861 (EDI Trading Partner Agreement), choose your connection method (VAN or direct SFTP/AS2), specify transaction sets needed (810 for invoices, 867 for meter data), complete 2-4 weeks of conformance testing, then cutover to production. EDI is recommended for organizations managing 10+ service agreements.

What is the fastest way to get historical usage data for a portfolio of PG&E commercial accounts?

The Share My Data API provides up to 4 years of historical interval data per authorized account. Register as a vendor at sharemydata.pge.com, then have each account holder authorize access via the OAuth flow. Data is available in XML (ESPI 1.1) format. For one-time bulk extraction, use the Download My Data portal with CSV export across multiple service agreements.

Does PG&E support real-time energy monitoring for demand management?

Yes. Stream My Data provides sub-minute electric usage data via SmartMeter devices for buildings with compatible hardware. For most C&I demand management, the 15-minute interval data available through Green Button or Share My Data (2-4 hour latency) is sufficient for load analysis, demand charge optimization, and TOU shifting strategies.

The Best Way to Access Data from Pacific Gas & Electric Co. (PG&E)

Nectar connects to Pacific Gas & Electric Co. (PG&E) and 7,000+ utility providers — billing, interval, and rate data delivered automatically. No portals, no forms, no manual downloads.

Nectar for Energy & Sustainability Teams

Managing utility data for commercial or industrial buildings? Nectar offers a free energy data audit — we'll review your current setup and show you where automation can save your team hours every month.

Get a Free Audit

Nectar for Developers & Consultants

Building energy tools or advising clients on utility data? Nectar works with technology partners and consultants who need reliable data infrastructure.

Partner with Us