ERCOT · OAuth Scopes
ERCOT OAuth Scopes
OAuth 2.0
searched
ERCOT publishes 3 OAuth 2.0 scopes via the password flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the ERCOT API on a user’s behalf.
Tokens are issued from https://ercotb2c.b2clogin.com/ercotb2c.onmicrosoft.com/B2C_1_PUBAPI-ROPC-FLOW/oauth2/v2.0/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.
EnergyUnited StatesElectricityEnergy MarketsGridSystem OperatorTexasRenewablesDemand ResponseOpen Data
Scopes: 3
Flows: password
Method: searched
OAuth endpoints
Authorization URL
https://ercotb2c.b2clogin.com/ercotb2c.onmicrosoft.com/b2c_1_pubapi-ropc-flow/oauth2/v2.0/authorize
https://ercotb2c.b2clogin.com/ercotb2c.onmicrosoft.com/b2c_1_pubapi-ropc-flow/oauth2/v2.0/authorize
Token URL
https://ercotb2c.b2clogin.com/ercotb2c.onmicrosoft.com/B2C_1_PUBAPI-ROPC-FLOW/oauth2/v2.0/token
https://ercotb2c.b2clogin.com/ercotb2c.onmicrosoft.com/B2C_1_PUBAPI-ROPC-FLOW/oauth2/v2.0/token
Flows
password
password
Scopes (3)
| Scope | Description | Flows |
|---|---|---|
| openid | Standard OIDC scope; the only value in scopes_supported on the ERCOT B2C discovery document. Yields the id_token the Public Data API consumes. | password |
| fec253ea-0d06-4272-a5e6-b478baeecd70 | The Public Data API B2C application (client) id, used as a resource scope in the documented token request so the issued token is audienced to the Public Data API. | password |
| offline_access | Requests a refresh_token alongside the id_token. Note the developer docs state ID tokens cannot be refreshed and a new POST is required each hour. | password |
📄 Provider scope reference: https://developer.ercot.com/applications/pubapi/user-guide/registration-and-authentication/