CleanPowerSF Data Access Guide
CleanPowerSF is San Francisco's Community Choice Aggregation (CCA) program, supplying clean electricity to over 385,000 residential and commercial accounts while PG&E continues to provide delivery, metering, and billing. Operated by the San Francisco Public Utilities Commission (SFPUC), customers are auto-enrolled in Green service with the option to upgrade to SuperGreen or opt out to PG&E generation.
How to Get Your CleanPowerSF Data: All Access Methods
| Method | 1st Party | 3rd Party | Customer Types | Data Types | Latency | Format |
|---|---|---|---|---|---|---|
| SFPUC My Account - Power portal | ✓ | ✓ | Residential, Commercial, Industrial | Billing (PDF), usage graphs | Manual download | PDF / dashboard |
| PG&E Green Button Download My Data | ✓ | — | All | Interval + billing | On-demand | CSV / ESPI XML |
| SFPUC Green Button Connect | ✓ | ✓ | Residential, Commercial, Industrial | Interval + billing | Automated (daily/weekly/monthly SFTP) | CSV / ESPI XML |
| PG&E Share My Data | ✓ | ✓ | All | Interval + billing | Automated API | ESPI XML |
| PG&E EDI program | ✓ | ✓ | Enterprise / suppliers | Billing, payments, control | Automated EDI | ANSI X12 |
Billing Data Access
CleanPowerSF customers receive a single consolidated monthly bill from PG&E that itemizes CleanPowerSF generation charges alongside PG&E delivery and transmission. Bills are accessible through SFPUC's My Account - Power portal and through PG&E's My Account, both in PDF format.
What Data Is on Your CleanPowerSF Bill
- Bill and service period dates
- Account number and service address
- Monthly usage (kWh)
- CleanPowerSF generation charges
- PG&E delivery and transmission charges
- PCIA and Franchise Fee Surcharge
- NEM credits (if applicable)
- Taxes and surcharges
- Balance due / credits
How to Download CleanPowerSF Bills (Business & Commercial)
- 01Register a business account (or have an Authorized Representative register) at the SFPUC My Account - Power portal
- 02Sign in and navigate to the Billing section
- 03Select the billing periods needed and download statements as PDF
- 04For consolidated PG&E delivery + CleanPowerSF generation detail, cross-reference PG&E My Account or use Share My Data
How to Download CleanPowerSF Bills (Residential)
- 01Visit https://myaccount-power.sfwater.org/Portal/ and register as a Utility Account Holder with your PG&E account number and service ZIP
- 02Verify your email (which becomes your username) and sign in
- 03Open the Billing section and select View Bills / Billing History
- 04Download bills as PDF individually or for multiple months
Third-Party Access to CleanPowerSF Billing Data
SFPUC Authorized Representative
- 01Obtain written customer authorization plus their PG&E account number and service ZIP
- 02Register as an Authorized Representative at the SFPUC My Account - Power portal
- 03Log in to view and download the linked customer's bills as PDF
PG&E Share My Data (consolidated bill)
- 01Customer authorizes the third party via PG&E Share My Data
- 02Third party retrieves billing and interval data via the ESPI API
- 03Note: CleanPowerSF generation and PG&E delivery appear together on the PG&E bill
Want to understand the charges on your bill?
See the CleanPowerSF Rate Schedules & Tariff Guide →Interval Data & Smart Meters
PG&E-deployed smart meters collect interval data for CleanPowerSF accounts. Usage is viewable graphically in the SFPUC portal and is available as standardized interval data through PG&E's Green Button channels (Download My Data and Share My Data).
How to Download CleanPowerSF Interval Data via Green Button
- 01Log in to PG&E My Account (the meter custodian for CleanPowerSF accounts)
- 02Open the energy usage / Green Button section
- 03Choose Download My Data and select a date range
- 04Export as CSV or ESPI XML (.zip); timestamps in ISO 8601
Interval data is essential for rate comparison and TOU analysis.
See which CleanPowerSF rate schedule is best for your usage pattern →Third-Party API Access
Two automated paths exist for third-party access to CleanPowerSF customer data: SFPUC's own Green Button Connect program, which delivers ESPI-formatted interval and billing data via SSL-encrypted SFTP, and PG&E's Share My Data, which exposes an OAuth 2.0 / ESPI REST API. PG&E is the preferred path for API-based integrations because it is the meter custodian.
Available CleanPowerSF API Endpoints
| Function | Endpoint | Method | Format |
|---|---|---|---|
| OAuth authorize | https://api.pge.com/datacustodian/oauth/v2/authorize | GET | redirect |
| Token exchange | https://api.pge.com/datacustodian/oauth/v2/token | POST | JSON |
| Usage point / interval data | https://api.pge.com/GreenButtonConnect/espi/1_1/resource/UsagePoint | GET | Atom XML (ESPI) |
How to Register as a CleanPowerSF API Vendor
- 01Decide between SFPUC Green Button Connect (SFTP) and PG&E Share My Data (API)
- 02For SFPUC: complete the Third Party Company Registration with SFTP host/port, credentials, and TLS 1.2+ SSL certificate
- 03For PG&E: register as a Share My Data vendor and implement the OAuth 2.0 authorization code flow
- 04Complete connectivity / sandbox testing
- 05Have customers authorize data sharing in their respective portals
EDI (Electronic Data Interchange)
Supported CleanPowerSF EDI Transaction Sets
| Code | Name | Purpose |
|---|---|---|
| 810 | Invoice / Billing | Detailed billing information broken down by rate schedule |
| 820 | Payment Order | Electronic bill payments and remittance |
| 867 | Supply / Usage Information | Energy supply data and environmental attributes |
| 814 | Appliance / Device Control | Demand response control signals |
How to Enroll in CleanPowerSF EDI
- 01Confirm EDI eligibility (ESPs, demand response aggregators, large C&I) with PG&E
- 02Submit business documentation and an EDI use case to EDISupport@pge.com
- 03Execute the EDI Trading Partner Agreement and Setup Form
- 04Choose a VAN or direct connection and complete EDI testing
- 05Move to production after passing all test scenarios
Sources
Rate Schedules & Tariff Analysis
CleanPowerSF generation rates are benchmarked to be at or below PG&E's generation component, and a 20-25% generation rate reduction took effect March 1, 2026. Because delivery is identical across providers, the generation line item is the only lever; the verified B-1 comparison shows CleanPowerSF Green at $132.29/mo versus PG&E's $150.29/mo for the same 1,225 kWh.
CleanPowerSF Rate Schedule List
| Schedule | Applicability |
|---|---|
| B-1 Generation | Small commercial < 75 kW; verified Green generation ~$132.29/mo at 1,225 kWh |
| B-6 / B-10 Generation | Medium commercial / C&I on TOU generation pricing |
| B-19 / B-20 Generation | Large commercial and industrial; received 25% generation reduction Mar 2026 |
CleanPowerSF Rate Features & TOU Details
- Generation-only charges (delivery stays with PG&E)
- Rate classes mirror the PG&E schedule (B-1, B-6, B-10, B-19, B-20)
- 20-25% generation reduction effective March 1, 2026
- SuperGreen premium ~$7/mo for typical small business
- PCIA and Franchise Fee Surcharge apply to CCA accounts
For a deeper analysis including cost optimization strategies and historical rate trends:
Read the full CleanPowerSF Rate Optimization Guide →Other Data Access Programs
DataSF Open Data Portal
Aggregated (non-customer-specific) CleanPowerSF program statistics via the City's open data portal and Socrata SODA API.
- 01Search data.sfgov.org for CleanPowerSF
- 02Download as CSV/JSON or query via the SODA API
SuperGreen for Businesses
Upgrade to 100% California-certified renewable (Green-e certified) for green-building and ESG credits.
- 01Review SuperGreen for Businesses page
- 02Upgrade online or call (415) 554-0773
Limitations & Considerations
- ⚠CleanPowerSF does not own meters; interval and Green Button data must be sourced through PG&E (Share My Data / Download My Data).
- ⚠Specific per-kWh generation rates are published in the Commercial Rate Tables PDF rather than as inline figures; the verified dollar comparison is the B-1 small-business benchmark.
- ⚠Billing is consolidated by PG&E, so CleanPowerSF generation and PG&E delivery appear together and must be separated by line item.
- ⚠SFPUC's standalone Green Button Download availability within its own portal was not fully confirmed; PG&E remains the reliable interval source.
CleanPowerSF Data Access FAQ
How do I pull interval data for a CleanPowerSF commercial account?▾
Because PG&E owns the meters, use PG&E Green Button Download My Data (for one-time CSV/ESPI XML export) or PG&E Share My Data (for automated API delivery). SFPUC's My Account - Power portal also shows hourly/daily usage graphically and SFPUC operates its own Green Button Connect program for registered vendors.
Does CleanPowerSF bill us directly?▾
No. CleanPowerSF generation charges appear as a line item on your consolidated PG&E bill; PG&E handles delivery, metering, and billing. CleanPowerSF is not an extra charge.
Is CleanPowerSF generation cheaper than PG&E for businesses?▾
For the published B-1 small-business benchmark (1,225 kWh/mo), CleanPowerSF Green generation averaged $132.29/mo versus PG&E's $150.29/mo. A 20-25% generation rate reduction took effect March 1, 2026, increasing the gap. Always compare against your own usage and rate class.
Can a third party (consultant/ESCO) access our data?▾
Yes, with your authorization. Register them as an SFPUC Authorized Representative for billing PDFs, or have them onboard via SFPUC Green Button Connect (SFTP) or PG&E Share My Data (OAuth API) for automated interval and billing data.
What does it cost to leave CleanPowerSF?▾
Opting out to PG&E generation may trigger a CleanPowerSF termination fee, and the PCIA and Franchise Fee Surcharge affect total-cost comparisons. Review both before switching.
The Best Way to Access Data from CleanPowerSF
Nectar connects to CleanPowerSF 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