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.
How to Get Your Pacific Gas & Electric Co. (PG&E) Data: All Access Methods
| Method | 1st Party | 3rd Party | Customer Types | Data Types | Latency | Format |
|---|---|---|---|---|---|---|
| Online Portal (MyAccount) | ✓ | — | All | Billing, Usage, History | Instant (view only) | Web Portal, PDF |
| Green Button Download My Data | ✓ | — | Residential, SMB, C&I | Interval Data, Billing | 2 business days | CSV, XML/ESPI |
| Share My Data (APIs) | ✓ | ✓ | All | Interval, Billing, Customer | 2-4 hours | XML/ESPI |
| Stream My Data | ✓ | — | Residential, SMB | Real-time usage | <1 minute | Real-time |
| Form 79-1095 | ✓ | ✓ | All | Usage, Billing, Payment | 5-10 business days | Paper, Email |
| EDI (X12) | ✓ | ✓ | C&I, Aggregators | Invoices, Meter Data, Payments | Automated (billing cycle) | ANSI X12 |
| Energy Data Request Portal | ✓ | ✓ | Public Access | Aggregated Usage by ZIP | Quarterly | CSV |
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)
- 01Sign in to your PG&E business account at myaccount.pge.com
- 02Go to Account > Billing
- 03Select "View Past Bills" or "Billing & Payment History"
- 04Download bills in PDF format or print directly from the portal
- 05Access payment history to track all transactions
How to Download Pacific Gas & Electric Co. (PG&E) Bills (Residential)
- 01Visit myaccount.pge.com and sign in with your PG&E account credentials
- 02Navigate to your account dashboard
- 03Under "Billing" section, click "All billing tasks"
- 04Scroll to "Billing & Payment History"
- 05Locate the bill by date in the list
- 06Click "View Bill PDF" to download the bill as a PDF file
- 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)
- 01Customer authorizes third-party through Share My Data portal at sharemydata.pge.com
- 02Third-party is registered as approved vendor with PG&E
- 03Customer grants one-time authorization to access billing data
- 04Billing data transferred automatically via APIs
- 05Data includes monthly billing amounts with ~2 business days latency
Paper-Based Form 79-1095
- 01Customer fills out Form 79-1095: Authorization to Receive Customer Information
- 02Customer signs form and sends to third party with authorization scope
- 03Third party includes signed form with billing requests to PG&E
- 04PG&E provides data via encrypted email or U.S. Postal Service
Want to understand the charges on your bill?
See the Pacific Gas & Electric Co. (PG&E) Rate Schedules & Tariff Guide →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.
How to Download Pacific Gas & Electric Co. (PG&E) Interval Data via Green Button
- 01Go to myaccount.pge.com and sign in with your account credentials
- 02Navigate to "Usage and rates" section in the account dashboard
- 03Select "View Usage Details" from the "Bill period usage section"
- 04Choose your desired time period (daily, hourly, or billing month)
- 05Click "Green Button Download my data"
- 06Select format: CSV (human-readable) or XML (machine-readable ESPI)
- 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 →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.
Available Pacific Gas & Electric Co. (PG&E) API Endpoints
| Function | Endpoint | Method | Format |
|---|---|---|---|
| Download Interval Data | /espi/1_1/resource/IntervalBlock/... | GET | XML (ESPI 1.1) |
| Get Authorization Status | /espi/1_1/resource/Authorization/{AuthID} | GET | XML |
| Get Usage Points | /espi/1_1/resource/UsagePoint/ | GET | XML |
| Get Customer Data | /espi/1_1/resource/RetailCustomer/ | GET | XML |
| Get Interval Readings | /espi/1_1/resource/IntervalReading/ | GET | XML |
How to Register as a Pacific Gas & Electric Co. (PG&E) API Vendor
- 01Register at sharemydata.pge.com with company info and API callback endpoints
- 02PG&E reviews and approves vendor registration (5-10 business days)
- 03Receive OAuth 2.0 client ID and client secret
- 04Implement OAuth 2.0 authorization code flow in your application
- 05Customer authorizes via redirect to PG&E authorization page
- 06Exchange authorization code for access and refresh tokens
- 07Call API endpoints with access token to retrieve customer data
EDI (Electronic Data Interchange)
Supported Pacific Gas & Electric Co. (PG&E) EDI Transaction Sets
| Code | Name | Purpose |
|---|---|---|
| 814 | Service Order | Meter-related service requests |
| 810 | Invoice | Billing data transmission |
| 820 | Payment Order | Payment/remittance advice |
| 867 | Product Transfer | Meter data (interval usage) |
| 997 | Functional Ack | Receipt confirmation |
How to Enroll in Pacific Gas & Electric Co. (PG&E) EDI
- 01Determine EDI need: assess volume of bills, need for automation, number of locations
- 02Contact your PG&E Account Manager and request EDI enrollment
- 03Execute Form 79-861: EDI Trading Partner Agreement
- 04Select connection method: VAN (Value Added Network) or Direct (SFTP/AS2)
- 05Specify transaction sets needed (810 for invoices, 867 for meter data)
- 06Complete testing in PG&E pre-production environment (2-4 weeks)
- 07Cutover to production after conformance testing approval
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
| Schedule | Applicability |
|---|---|
| B-1 | Small General Service (<75 kW demand) |
| B-10 | Medium General Demand-Metered (75-499 kW) |
| B-19 | Medium General Demand-Metered (500-999 kW) |
| B-20 | Large General Service (>=1000 kW) |
| E-19 | Medium General Demand-Metered TOU (500-999 kW) |
| E-20 | Large General Service TOU (>=1000 kW) |
| AG-1 | Agricultural Power (small) |
| A-1 | Small General Service (<200 kW) |
| A-10 | Medium 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 →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 AuditNectar 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