GridX Customer API

The Customer API from GridX — 2 operation(s) for customer.

Operations 2

GET /customer/info Retrieve customer account information #
GET /customer/usage Retrieve customer interval usage #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gridx-customer-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gridx-customer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GridX Enterprise Rate Platform Authentication Customer API
  description: Partner/enterprise API for the GridX Enterprise Rate Platform. The documented surface (the "Calculate" / pricing-engine APIs) covers dynamic pricing retrieval, customer account info and interval usage, and OpenADR demand-response program subscriptions. Documentation is published per utility deployment; the canonical reference is the PG&E deployment hosted at pge-pe-api.gridx.com, with an equivalent SCE pricing endpoint. Endpoint paths and shapes below reflect the public GridX Calculate API documentation; request and response schemas are summarized and may vary by utility deployment and by the GridX Empower (rate/bill/cost analysis) product contract, which is not fully published. No undocumented endpoints are fabricated here.
  termsOfService: https://www.gridx.com/
  contact:
    name: GridX
    url: https://www.gridx.com/
  version: '1.0'
servers:
- url: https://pge-pe-api.gridx.com/v1
  description: PG&E production deployment
- url: https://pge-pe-api.gridx.com/stage/v1
  description: PG&E stage (test) deployment
security:
- bearerAuth: []
tags:
- name: Customer
paths:
  /customer/info:
    get:
      operationId: getCustomerInfo
      tags:
      - Customer
      summary: Retrieve customer account information
      description: Returns account attributes for a service agreement, including contractId, customerUuid, meterAccountId, rateCode, voltageClass, rateCodeHasVoltageClass, circuitId, hasCca, and cca.
      parameters:
      - name: Authorization
        in: header
        required: true
        description: JWT bearer token from the /token endpoint.
        schema:
          type: string
      - name: X-Contract-Id
        in: header
        required: true
        description: Base64-encoded service agreement ID (10 digits, leading zeros).
        schema:
          type: string
      - name: X-Customer-Uuid
        in: header
        required: true
        description: Base64-encoded customer UUID.
        schema:
          type: string
      responses:
        '200':
          description: Customer account information.
  /customer/usage:
    get:
      operationId: getCustomerUsage
      tags:
      - Customer
      summary: Retrieve customer interval usage
      description: Returns interval usage payloads (CONSUMPTION, GENERATION, BASELINE_CONSUMPTION, BASELINE_GENERATION) with payloadDescriptors and intervalPeriod metadata for a date range.
      parameters:
      - name: Authorization
        in: header
        required: true
        description: JWT bearer token from the /token endpoint.
        schema:
          type: string
      - name: X-Contract-Id
        in: header
        required: true
        description: Base64-encoded service agreement ID.
        schema:
          type: string
      - name: X-Customer-Uuid
        in: header
        required: true
        description: Base64-encoded customer UUID.
        schema:
          type: string
      - name: start
        in: query
        required: true
        description: Start datetime, e.g. 2024-07-01T00:00:00Z.
        schema:
          type: string
          format: date-time
      - name: end
        in: query
        required: true
        description: End datetime, e.g. 2024-07-02T00:00:00Z.
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: Interval usage data.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT bearer token obtained from the /token endpoint (expires ~1 hour).