Pacific Gas and Electric OAuth Scopes
Pacific Gas and Electric publishes 21 OAuth 2.0 scopes via the authorizationCode and clientCredentials flows. Scopes are the fine-grained permissions an application requests at authorization time to act against the Pacific Gas and Electric API on a user’s behalf.
Tokens are issued from https://api.pge.com/datacustodian/oauth/v2/token.
This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.
OAuth endpoints
https://sharemydata.pge.com/myAuthorization https://sandbox.greenbuttonalliance.org:8443/oauth/authorize
https://api.pge.com/datacustodian/oauth/v2/token https://sandbox.greenbuttonalliance.org:8443/oauth/token
authorizationCodeclientCredentials
Scopes (21)
| Scope | Description | Flows |
|---|---|---|
| FB=1 | Common services. | |
| FB=3 | Core services. | |
| FB=4 | Interval usage data. | |
| FB=5 | Interval usage data for electric service agreements. | |
| FB=8 | Delivered/Consumption and Received/Generation. | |
| FB=10 | Gas data. | |
| FB=13 | HTTPS support. | |
| FB=14 | OAuth 2.0. | |
| FB=15 | Usage summary information (billed total usage). | |
| FB=16 | Usage summary with dollar bill cost. | |
| FB=18 | Ability to authorize multiple service agreements. | |
| FB=19 | IntervalBlocks without full data sets (without UsagePoints, MeterReading). | |
| FB=31 | Third-party access to Subscription/Authorization. | |
| FB=32 | Third-party access to UsagePoints, MeterReading and collections (excludes ElectricPowerQualitySummary). | |
| FB=35 | Support REST request for Bulk. | |
| FB=37 | published-max, published-min. | |
| FB=38 | Request without prior notification. | |
| FB=39 | Post Notification (of data being ready) followed by GET. | |
| FB=40 | Authorization performed offline (manual paper CISR or Ops Portal). | |
| FB=46 | Retrieve resources for a RetailCustomer. | |
| FB=47 | Retrieve resources in Bulk for RetailCustomers via REST. |
📄 Provider scope reference: https://www.pge.com/assets/pge/docs/save-energy-and-money/energy-savings-programs/Supported-Function-Block-Scope-String-Mapping-Click-Thru-2.0.pdf
Source
OAuth Scopes
Work with this as data
Every scope set 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 oauth scopes
4 MCP tools reach this
find_scopesBrowse and filter every scope set in the catalog.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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/scopes/pge-scopes"
curl "https://apis.io/api/v1/scopes?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.