Power Expert India Solar Savings API

The Solar Savings API from Power Expert India — 1 operation(s) for solar savings.

GitHub OpenAPI

Operations 1

POST /solar-savings Calculate a verified Bihar domestic before/after solar base-tariff comparison #

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/powerexpertindia-com:powerexpertindia-com-solar-savings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

powerexpertindia-com-solar-savings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Powerexpertindia Com Solar Savings API
  version: 1.2.0-solar-candidate
  description: 'Operations tagged Solar Savings across 2 of this provider''s published API definitions: openapi.json, powerexpertindia-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://powerexpertindia.com/v1
  description: Production
security:
- XApiKey: []
- BearerAuth: []
tags:
- name: Solar Savings
paths:
  /solar-savings:
    post:
      summary: Calculate a verified Bihar domestic before/after solar base-tariff comparison
      operationId: calculateSolarSavingsBaseline
      security:
      - XApiKey: []
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SolarSavingsRequest'
      responses:
        '200':
          description: Verified solar savings baseline
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolarSavingsResponse'
        '401':
          description: Authentication failed
        '403':
          description: Scope or state access denied
        '404':
          description: State/category not covered
        '409':
          description: Release mismatch
        '422':
          description: Invalid request
        '429':
          description: Rate or quota limit exceeded
      x-required-scope: calculate:write
      x-max-request-body-bytes: 65536
      description: When billing_month is supplied, the verified Bihar FPPAS engine is applied independently to the before-solar and after-solar base calculations. If no approved executable FPPAS version is available, the response remains successful and explicitly falls back to the verified base-tariff comparison. The response evaluates the existing Bihar non-monetary subsidy-entitlement contract independently for before-solar and after-solar consumption. It does not calculate or deduct a monetary subsidy amount from the tariff result.
      x-state-support:
        BR: supported
        MH: not_this_contract
        GJ: not_this_contract
        TN: not_this_contract
      tags:
      - Solar Savings
    servers:
    - url: https://powerexpertindia.com/v1
      description: Production
components:
  schemas:
    SolarProposalDisclaimer:
      type: object
      additionalProperties: false
      required:
      - estimate_not_utility_bill
      - verified_base_tariff_comparison_only
      - not_a_guaranteed_solar_saving
      - post_solar_import_supplied_by_client
      - excluded_components
      properties:
        estimate_not_utility_bill:
          type: boolean
          enum:
          - true
        verified_base_tariff_comparison_only:
          type: boolean
          enum:
          - true
        not_a_guaranteed_solar_saving:
          type: boolean
          enum:
          - true
        post_solar_import_supplied_by_client:
          type: boolean
          enum:
          - true
        excluded_components:
          type: array
          minItems: 7
          maxItems: 7
          uniqueItems: true
          items:
            type: string
            enum:
            - solar_generation_estimation
            - net_metering
            - export_credit
            - fppas
            - monetary_subsidy
            - statutory_levies
            - payback_or_roi
    SolarSavingsEvidence:
      type: object
      additionalProperties: false
      required:
      - release_id
      - financial_year
      - effective_from
      - effective_on
      - verification_tier
      - calculation_version
      - release_sha256
      - source_refs
      properties:
        release_id:
          type: string
          example: BR-2026-27-VERIFIED-STRICT-BASE-V1
        financial_year:
          type: string
          example: 2026-27
        effective_from:
          type: string
          format: date
          example: '2026-04-01'
        effective_on:
          type: string
          format: date
          example: '2026-04-01'
        verification_tier:
          type: string
          enum:
          - verified_strict
        calculation_version:
          type: string
          example: PEI Verified Solar Savings Baseline V1.0.0
        release_sha256:
          type: string
          pattern: ^[a-f0-9]{64}$
        source_refs:
          type: array
          minItems: 1
          items:
            type: string
    SolarProposalTariffBasis:
      type: object
      additionalProperties: false
      required:
      - release_id
      - financial_year
      - effective_on
      - verification_tier
      - release_sha256
      - source_refs
      properties:
        release_id:
          type: string
          example: BR-2026-27-VERIFIED-STRICT-BASE-V1
        financial_year:
          type: string
          example: 2026-27
        effective_on:
          type: string
          format: date
          example: '2026-04-01'
        verification_tier:
          type: string
          enum:
          - verified_strict
        release_sha256:
          type: string
          pattern: ^[a-f0-9]{64}$
        source_refs:
          type: array
          minItems: 1
          items:
            type: string
    SolarSavingsLimitations:
      type: object
      additionalProperties: false
      required:
      - exact_current_bill
      - solar_generation_estimated
      - post_solar_import_supplied_by_client
      - net_metering_applied
      - export_credit_applied
      - fppas_applied
      - monetary_subsidy_applied
      - statutory_levies_applied
      - payback_or_roi_calculated
      - annualized_value_is_monthly_baseline_times_12
      properties:
        exact_current_bill:
          type: boolean
        solar_generation_estimated:
          type: boolean
        post_solar_import_supplied_by_client:
          type: boolean
        net_metering_applied:
          type: boolean
        export_credit_applied:
          type: boolean
        fppas_applied:
          type: boolean
        monetary_subsidy_applied:
          type: boolean
        statutory_levies_applied:
          type: boolean
        payback_or_roi_calculated:
          type: boolean
        annualized_value_is_monthly_baseline_times_12:
          type: boolean
    SolarSavingsData:
      type: object
      additionalProperties: false
      required:
      - calculation_type
      - coverage_status
      - state_code
      - subcategory_code
      - category_label
      - input
      - before_solar
      - after_solar
      - savings
      - evidence
      - limitations
      - disclosure
      - proposal_evidence
      properties:
        calculation_type:
          type: string
          enum:
          - verified_solar_savings_baseline
        coverage_status:
          type: string
          enum:
          - production_verified
          example: production_verified
        state_code:
          type: string
          enum:
          - BR
        subcategory_code:
          type: string
          example: BR_DS_II
        category_label:
          type: string
          example: DS-II
        input:
          type: object
          additionalProperties: false
          required:
          - existing_monthly_units
          - post_solar_import_units
          - solar_offset_units
          - connected_load
          - load_unit
          properties:
            existing_monthly_units:
              type: integer
              minimum: 0
            post_solar_import_units:
              type: integer
              minimum: 0
            solar_offset_units:
              type: integer
              minimum: 0
            connected_load:
              type: string
              example: '2'
            load_unit:
              type: string
              example: kW
        before_solar:
          $ref: '#/components/schemas/SolarCalculationSide'
        after_solar:
          $ref: '#/components/schemas/SolarCalculationSide'
        savings:
          $ref: '#/components/schemas/SolarSavingsSummary'
        evidence:
          $ref: '#/components/schemas/SolarSavingsEvidence'
        limitations:
          $ref: '#/components/schemas/SolarSavingsLimitations'
        disclosure:
          $ref: '#/components/schemas/SolarSavingsDisclosure'
        proposal_evidence:
          $ref: '#/components/schemas/SolarProposalEvidence'
    SolarSavingsSummary:
      type: object
      additionalProperties: false
      required:
      - monthly_base_tariff_saving_paise
      - monthly_base_tariff_saving_paise_rupees
      - annualized_base_tariff_saving_paise
      - annualized_base_tariff_saving_paise_rupees
      - base_cost_reduction_basis_points
      - base_cost_reduction_percent
      properties:
        monthly_base_tariff_saving_paise:
          type: integer
          minimum: 0
          example: 222600
        monthly_base_tariff_saving_paise_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '2226.00'
        annualized_base_tariff_saving_paise:
          type: integer
          minimum: 0
          example: 2671200
        annualized_base_tariff_saving_paise_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '26712.00'
        base_cost_reduction_basis_points:
          type: integer
          minimum: 0
          maximum: 10000
          example: 6362
        base_cost_reduction_percent:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '63.62'
    SolarProposalEvidence:
      type: object
      additionalProperties: false
      required:
      - object_version
      - proposal_use
      - machine_verifiable
      - state_code
      - subcategory_code
      - category_label
      - usage_baseline
      - verified_base_tariff_comparison
      - tariff_basis
      - proposal_disclaimer
      properties:
        object_version:
          type: string
          enum:
          - PEI Solar Proposal Evidence Object V1.0.0
        proposal_use:
          type: string
          enum:
          - solar_savings_baseline
        machine_verifiable:
          type: boolean
          enum:
          - true
        state_code:
          type: string
          enum:
          - BR
        subcategory_code:
          type: string
          example: BR_DS_II
        category_label:
          type: string
          example: DS-II
        usage_baseline:
          $ref: '#/components/schemas/SolarProposalUsageBaseline'
        verified_base_tariff_comparison:
          $ref: '#/components/schemas/SolarProposalTariffComparison'
        tariff_basis:
          $ref: '#/components/schemas/SolarProposalTariffBasis'
        proposal_disclaimer:
          $ref: '#/components/schemas/SolarProposalDisclaimer'
    SolarCalculationSide:
      type: object
      additionalProperties: false
      required:
      - energy_units
      - result
      properties:
        energy_units:
          type: integer
          minimum: 0
          example: 450
        result:
          $ref: '#/components/schemas/SolarMoneyResult'
    SolarSavingsResponse:
      type: object
      additionalProperties: false
      required:
      - status
      - api_version
      - request_id
      - data
      - meta
      properties:
        status:
          type: string
          enum:
          - ok
        api_version:
          type: string
          example: PEI Verified Tariff API V1.2.0
        request_id:
          type: string
          example: req_bdcd24619052713e
        data:
          $ref: '#/components/schemas/SolarSavingsData'
        meta:
          type: object
          additionalProperties: false
          required:
          - release_id
          - controller_version
          - wrapper_contract
          properties:
            release_id:
              type: string
              example: BR-2026-27-VERIFIED-STRICT-BASE-V1
            controller_version:
              type: string
              example: PEI Unified Multi-State Controller
            wrapper_contract:
              type: string
              example: PEI Verified Solar Savings Baseline V1.0.0
    SolarSavingsDisclosure:
      type: object
      additionalProperties: false
      required:
      - estimate_not_utility_bill
      - verified_base_tariff_comparison_only
      - not_a_guaranteed_solar_saving
      properties:
        estimate_not_utility_bill:
          type: boolean
        verified_base_tariff_comparison_only:
          type: boolean
        not_a_guaranteed_solar_saving:
          type: boolean
    SolarSavingsRequest:
      type: object
      additionalProperties: false
      required:
      - state_code
      - existing_monthly_units
      - post_solar_import_units
      - release_id
      - verification_tier
      properties:
        state_code:
          type: string
          enum:
          - BR
        subcategory_code:
          type: string
          example: BR_DS_II
          description: Optional when consumer_type and domestic_class are supplied. When both forms are supplied, they must resolve to the same category.
        connected_load:
          oneOf:
          - type: string
          - type: number
          example: '2'
        load_unit:
          type: string
          enum:
          - kw
          - hp
          - kva
        existing_monthly_units:
          type: integer
          minimum: 0
          example: 450
        post_solar_import_units:
          type: integer
          minimum: 0
          example: 150
        effective_on:
          type: string
          format: date
        release_id:
          type: string
          example: BR-2026-27-VERIFIED-STRICT-BASE-V1
        verification_tier:
          type: string
          enum:
          - verified_strict
        consumer_type:
          type: string
          enum:
          - domestic
          description: Required when domestic_class is used for internal category resolution.
        domestic_class:
          type: string
          enum:
          - urban
          - general
          - rural
          - lifeline
          description: Caller-declared Bihar domestic classification. The API does not determine government or lifeline eligibility.
        billing_month:
          type: string
          pattern: ^\d{4}-(0[1-9]|1[0-2])$
          example: 2026-05
          description: Optional billing month used by the verified Bihar FPPAS selector.
        discom_code:
          type: string
          enum:
          - NBPDCL
          - SBPDCL
          description: Optional Bihar distribution company selector for FPPAS.
      oneOf:
      - required:
        - subcategory_code
      - required:
        - consumer_type
        - domestic_class
      description: The request may use either an explicit subcategory_code or consumer_type=domestic with domestic_class for internal verified mapping.
    SolarProposalTariffComparison:
      type: object
      additionalProperties: false
      required:
      - before_solar_base_total_paise
      - before_solar_base_total_rupees
      - after_solar_base_total_paise
      - after_solar_base_total_rupees
      - monthly_base_tariff_saving_paise
      - monthly_base_tariff_saving_rupees
      - annualized_base_tariff_saving_paise
      - annualized_base_tariff_saving_rupees
      - base_cost_reduction_basis_points
      - base_cost_reduction_percent
      properties:
        before_solar_base_total_paise:
          type: integer
          minimum: 0
          example: 349900
        before_solar_base_total_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '3499.00'
        after_solar_base_total_paise:
          type: integer
          minimum: 0
          example: 127300
        after_solar_base_total_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '1273.00'
        monthly_base_tariff_saving_paise:
          type: integer
          minimum: 0
          example: 222600
        monthly_base_tariff_saving_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '2226.00'
        annualized_base_tariff_saving_paise:
          type: integer
          minimum: 0
          example: 2671200
        annualized_base_tariff_saving_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '26712.00'
        base_cost_reduction_basis_points:
          type: integer
          minimum: 0
          maximum: 10000
          example: 6362
        base_cost_reduction_percent:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '63.62'
    SolarMoneyResult:
      type: object
      additionalProperties: false
      required:
      - energy_charge_paise
      - energy_charge_paise_rupees
      - fixed_charge_paise
      - fixed_charge_paise_rupees
      - demand_charge_paise
      - demand_charge_paise_rupees
      - excess_demand_charge_paise
      - excess_demand_charge_paise_rupees
      - tod_adjustment_paise
      - tod_adjustment_paise_rupees
      - special_adjustment_paise
      - special_adjustment_paise_rupees
      - base_total_paise
      - base_total_paise_rupees
      - currency
      - integer_paise_only
      properties:
        energy_charge_paise:
          type: integer
          minimum: 0
          example: 333900
        energy_charge_paise_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '3339.00'
        fixed_charge_paise:
          type: integer
          minimum: 0
          example: 16000
        fixed_charge_paise_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '160.00'
        demand_charge_paise:
          type: integer
          minimum: 0
          example: 0
        demand_charge_paise_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '0.00'
        excess_demand_charge_paise:
          type: integer
          minimum: 0
          example: 0
        excess_demand_charge_paise_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '0.00'
        tod_adjustment_paise:
          type: integer
          example: 0
        tod_adjustment_paise_rupees:
          type: string
          pattern: ^-?\d+\.\d{2}$
          example: '0.00'
        special_adjustment_paise:
          type: integer
          example: 0
        special_adjustment_paise_rupees:
          type: string
          pattern: ^-?\d+\.\d{2}$
          example: '0.00'
        base_total_paise:
          type: integer
          minimum: 0
          example: 349900
        base_total_paise_rupees:
          type: string
          pattern: ^\d+\.\d{2}$
          example: '3499.00'
        currency:
          type: string
          enum:
          - INR
        integer_paise_only:
          type: boolean
          enum:
          - true
    SolarProposalUsageBaseline:
      type: object
      additionalProperties: false
      required:
      - existing_monthly_units
      - post_solar_import_units
      - solar_offset_units
      properties:
        existing_monthly_units:
          type: integer
          minimum: 0
          example: 450
        post_solar_import_units:
          type: integer
          minimum: 0
          example: 150
        solar_offset_units:
          type: integer
          minimum: 0
          example: 300
  securitySchemes:
    XApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Dedicated PEI client key. Never place it in a URL or query string.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: PEI API key
      description: 'Alternative header form: Authorization: Bearer <dedicated-api-key>.'
externalDocs:
  description: Human-readable API documentation
  url: https://powerexpertindia.com/v1/docs.php
x-refined-from:
- openapi.json
- powerexpertindia-com-openapi.json
x-pei-release:
  release_id: BR-2026-27-VERIFIED-STRICT-BASE-V1
  complete_payable_release_id: BR-2026-27-COMPLETE-PAYABLE-V2
  production_payable: true
  production_closure: FINAL
  state_code: BR
  financial_year: 2026-27
  effective_from: '2026-04-01'
  verification_tier: verified_strict
  schedule_rows: 34
  supported_subcategories: 32
  frozen_regression_cases: 45
  runtime_gate_checks: 29
  calculation_scope: complete_payable_v2_contextual_fail_closed
  exact_current_net_bill: false
  api_version: PEI Verified Tariff API V1.2.0
  controller_version: PEI Unified Multi-State Controller
  subsidy_entitlement:
    status: enabled_non_monetary
    supported_billing_days:
    - 25
    - 30
    - 40
    source_document_sha256: e03d2e66ab847622256670c109edad3e0391882721c32b4d1479edd8e1d27fcc
    monetary_subsidy_included: false
  fppas:
    status: approved_exact_selector_enabled
    historical_records: 4
    current_rate_released: true
    rate_applied_to_bill: true
    historical_fallback_allowed: false
x-pei-security:
  query_string_api_keys: rejected
  query_parameter_names_rejected:
  - key
  - api_key
  - apikey
  default_rate_limit_per_minute: 60
  burst_requests: 20
  burst_window_seconds: 10
  cors: per-key allowlist
  request_logging: privacy-safe; no plaintext API key
x-pei-regression-evidence:
  suite: API-Level Full Regression & Security Test V1.0.0
  executed_on: '2026-07-18'
  tests_total: 84
  tests_passed: 84
  tests_failed: 0
  tests_skipped: 0
x-pei-contract-sync:
  synchronized_routes:
  - GET /v1/capabilities
  - GET /v1/subsidy-entitlement
  - GET /v1/fppas-periods
  - POST /v1/calculate (optional billing_days and non-monetary subsidy summary)
  monetary_subsidy_enabled: false
  current_fppas_enabled: true
  tariff_money_formula_changed: false
  live_health_runtime_gate_checks:
    passed: 29
    total: 29
  br_ds_ii_fixed_charge_basis: per_kw_or_part_per_month
  controller_scope: multi_state_public_contract
  documented_states:
  - BR
  - MH
  - GJ
  - TN
  state_release_notes:
    BR: production_released
    MH: verified_statewide_base_tariff
    GJ: verified_statewide_guarded
    TN: live_payable_hold
  controller_version_note: Serving controller version is state/release specific; consult state health metadata and frozen contract blocks where applicable.
x-pei-bihar-payable-contract:
  controller_version: PEI Unified Multi-State Controller
  contract_version: br.payable_composition.v1
  master_regression_runner: V1.2.9
  electricity_duty_current_rate_verified: true
  exact_current_net_bill_available: true
  exact_current_net_bill_requires_complete_context: true
x-pei-maharashtra-phase-1:
  status: released
  financial_year: 2026-27
  scope: verified_base_tariff
  released_licensees:
  - MH_MSEDCL
  - MH_TPCD
  - MH_AEML
  - MH_BEST
  fac_fpppa_payable: false
  tod_payable: false
  subsidy_payable: false
  tax_duty_payable: false
  exact_current_net_bill: false
x-pei-gujarat-guarded-residential:
  financial_year: 2026-27
  status: live_guarded_residential
  supported_licensees:
  - DGVCL
  - MGVCL
  - PGVCL
  - UGVCL
  supported_subcategories:
  - DOMESTIC_URBAN
  - DOMESTIC_RURAL
  meter_mode: postpaid
  routes:
  - GET /v1/states
  - GET /v1/categories?state_code=GJ
  - GET /v1/tariffs?state_code=GJ&licensee_code=DGVCL&subcategory_code=DOMESTIC_URBAN
  - POST /v1/calculate
  calculate_example:
    state_code: GJ
    licensee_code: DGVCL
    subcategory_code: DOMESTIC_URBAN
    energy_units: 150
    connected_load: 3
    load_unit: kw
    billing_date: '2026-08-14'
    meter_mode: postpaid
  payable_complete: false
  excluded_components:
  - fppas
  - time_of_use_adjustment
  - subsidy
  - electricity_duty_and_taxes
  - prepaid_tariff
  - bpl_tariff
  - torrent_power
x-pei-state-release-matrix:
  BR:
    name: Bihar
    status: production_released
  MH:
    name: Maharashtra
    status: LIVE
    api_live: true
    financial_year: 2026-27
    complete_payable_scope: MSEDCL
    licensees:
    - MSEDCL
    - TPC-D
    - AEML
    - BEST
    licensee_capabilities:
      MH_MSEDCL:
        capability: COMPLETE_PAYABLE_V2
        production_payable: true
        production_closure: FINAL
        scope: approved_production_profiles
      MH_TPCD:
        capability: VERIFIED_BASE_TARIFF
        production_payable: false
      MH_AEML:
        capability: VERIFIED_BASE_TARIFF
        production_payable: false
      MH_BEST:
        capability: VERIFIED_BASE_TARIFF
        production_payable: false
  GJ:
    name: Gujarat
    status: statewide_verified_shadow_safe
    routing: 11_explicit_licensees
    production_payable: false
  TN:
    name: Tamil Nadu
    status: ready_with_payable_hold
    fail_closed: true
    production_payable: false
x-pei-jh-v1:
  state_code: JH
  financial_year: 2026-27
  product_mode: VERIFIED_TARIFF_ESTIMATION_V1
  release_status: active_verified_estimation_v1
  active_verified_licensees:
  - JBVNL
  - TSL
  - TSUISL
  - DVC_JH
  recognized_held_licensees:
  - SAIL_BSL
  excluded_consumer_retail_licensees:
  - TPCL
  unresolved_components:
    fppas:
      status: HELD_UNVERIFIED
      amount_paise: null
    electricity_duty:
      status: HELD_UNVERIFIED
      amount_paise: null
  final_payable_available: false
  complete_payable: false
  production_payable: false
  automatic_licensee_fallback: false
  historical_carry_forward: false
  fail_closed: true
x-pei-mh-msedcl-complete-payable-v2:
  state_code: MH
  state_name: Maharashtra
  licensee_code: MH_MSEDCL
  financial_year: 2026-27
  api_status: LIVE
  capability: COMPLETE_PAYABLE_V2
  production_payable: true
  production_closure: FINAL
  scope: approved_production_profiles
x-pei-mcp-release:
  version: 1.4.0
  status: LIVE
  server_name: Power Expert India Regulatory Tariff MCP