rates[] array returns pricing data at three standard usage tiers — 500, 1,000, and 2,000 kWh per month. At each tier you receive two per-kWh rate fields (advertisedPriceUsdPerKwh and allInRateUsdPerKwh) plus an estimated monthly bill (avgMonthlyBillUsd). What those rates include depends on the market the plan is sold in.
Texas markets
In Texas, both rate fields include TDU (Transmission and Distribution Utility) delivery charges, so either value represents a complete electricity cost for the customer.allInRateUsdPerKwh folds in TDU delivery, bill credits, and any fixed fees, so the customer’s total bill is fully represented by this field in Texas.
All other markets (PA, OH, IL, NJ, and more)
In deregulated markets outside Texas, the utility bills delivery charges separately. Neither rate field includes TDU delivery costs.Which field to use
UseallInRateUsdPerKwh (and the seasonalized top-level price field) whenever you need to show a customer their effective supply cost. The all-in rate folds in bill credits and amortized fixed monthly fees so shoppers can make an apples-to-apples comparison across plans.
- Effective supply cost →
allInRateUsdPerKwhor the top-levelprice - Estimated monthly bill at a specific usage tier →
avgMonthlyBillUsd - The static EFL price at a benchmark, as the supplier publishes it →
advertisedPriceUsdPerKwh
advertisedPriceUsdPerKwh and allInRateUsdPerKwh are equal only on plans that have no fixed monthly fees and no bill credits. On any plan with those adjustments the two values will differ.Fee breakdown
ThefeeBreakdown field on ResidentialPlan gives you component-level detail on every fee included in the plan’s pricing. Each entry describes the fee type (FeeType), when it applies (FeeApplicability), and the amount. Use this when you want to surface an itemized breakdown — for example, showing a customer that a plan has a $9.95 monthly base charge before they enroll.
Every residential plan opens its breakdown with an ENERGY_CHARGE entry. That is the supplier’s raw energy charge in dollars per kWh, before any utility delivery charge is added, and it always carries applicability: PER_KWH:
ENERGY_CHARGE when you want to show the supply rate on its own, separately from delivery. Use advertisedPriceUsdPerKwh for the supplier’s published EFL price, and allInRateUsdPerKwh for what the customer actually pays across the year.
See the Types reference for the full PlanFee type definition and the complete FeeType and FeeApplicability enumerations.
Rate types
TherateType field on ResidentialPlan tells you the pricing structure of the plan. The four possible values are:
priceType parameter
priceType is a String, not an enum, so the value must be quoted: priceType: "FLAT". An
unquoted priceType: FLAT is rejected as a validation error.
Any other string is accepted without error and falls through to the default seasonalized behavior, so
a typo will not be reported back to you.