Power Expert India Service API
Release identity, health, and state capability metadata.
Release identity, health, and state capability metadata.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/powerexpertindia-com:powerexpertindia-com-service-api"
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.
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: 3.2.0
info:
title: Powerexpertindia Com Service API
version: 1.2.0-solar-candidate
description: 'Operations tagged Service 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: Service
description: Release identity, health, and state capability metadata.
paths:
/health:
get:
tags:
- Service
summary: Health and release status
operationId: getHealth
description: Returns service-level health when state_code is omitted. Use state_code=BR, MH, GJ or TN for state-specific release health. Tamil Nadu reports a healthy service while FY2026-27 payable calculation remains held fail-closed.
x-required-scope: health:read
responses:
'200':
description: Healthy verified release.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/HealthEnvelope'
example:
status: ok
api_version: PEI Verified Tariff API V1.2.0
request_id: req_0123456789abcdef
data:
service_status: healthy
release_status: released
production_serving_enabled: true
release_stage: public_access_v1
release_id: BR-2026-27-VERIFIED-STRICT-BASE-V1
state_code: BR
financial_year: 2026-27
effective_from: '2026-04-01'
verification_tier: verified_strict
schedule_rows: 34
supported_subcategories: 32
regression_cases: 45
runtime_gate_checks:
passed: 29
total: 29
release_sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
meta:
calculation_scope: verified_base_tariff
exact_current_net_bill: false
'401':
description: Authentication failed.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
status: error
api_version: PEI Verified Tariff API V1.2.0
request_id: req_0123456789abcdef
error:
code: API_KEY_REQUIRED
message: A valid API key is required.
'403':
description: The key, state, scope, or browser origin is not allowed.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
status: error
api_version: PEI Verified Tariff API V1.2.0
request_id: req_0123456789abcdef
error:
code: API_SCOPE_DENIED
message: The API client does not have permission for this route.
'405':
description: Unsupported HTTP method.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
status: error
api_version: PEI Verified Tariff API V1.2.0
request_id: req_0123456789abcdef
error:
code: METHOD_NOT_ALLOWED
message: 'Allowed method: GET.'
'429':
description: The configured per-minute or burst allowance was reached.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
status: error
api_version: PEI Verified Tariff API V1.2.0
request_id: req_0123456789abcdef
error:
code: RATE_LIMIT_EXCEEDED
message: The API request rate limit has been exceeded.
details:
limit: 60
remaining: 0
reset_epoch: 1784332800
retry_after_seconds: 1
reason: burst_limit
'500':
description: Unexpected server error.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
status: error
api_version: PEI Verified Tariff API V1.2.0
request_id: req_0123456789abcdef
error:
code: INTERNAL_SERVER_ERROR
message: The API request could not be completed.
'503':
description: The verified release, key registry, or runtime evidence is unavailable.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
status: error
api_version: PEI Verified Tariff API V1.2.0
request_id: req_0123456789abcdef
error:
code: VERIFIED_RUNTIME_UNAVAILABLE
message: Required verified serving evidence is unavailable.
x-state-support:
BR: production_released
MH: verified_statewide_base_tariff
GJ: verified_statewide_guarded
TN: live_payable_hold
servers:
- url: https://powerexpertindia.com/v1
description: Production
/capabilities:
get:
tags:
- Service
summary: Get Bihar capability matrix (BR-only contract)
operationId: getStateCapabilities
description: Returns the state-aware fail-closed capability matrix. Use this route before monetary execution to determine whether a state or component is production, Verified Shadow, payable-held or unavailable. Use /states for discovery and the state-specific capability response as the execution contract.
x-required-scope: health:read
parameters:
- name: state_code
in: query
required: false
description: State code. This OpenAPI contract documents the Bihar response.
schema:
type: string
enum:
- BR
default: BR
maxLength: 2
example: BR
responses:
'200':
description: Bihar capability matrix.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/CapabilitiesEnvelope'
example:
status: ok
api_version: PEI Verified Tariff API V1.2.0
request_id: req_0123456789abcdef
data:
state_code: BR
controller_version: PEI Unified Multi-State Controller
api_version: PEI Verified Tariff API V1.2.0
release_status: released
financial_year: 2026-27
effective_from: '2026-04-01'
capabilities:
base_tariff_calculation:
status: enabled
route: POST /v1/calculate
schedule_rows: 34
supported_subcategories: 32
money_mode: integer_paise
subsidy_entitlement:
status: enabled_non_monetary
route: GET /v1/subsidy-entitlement
calculate_summary_enabled: true
billing_days_input: optional
supported_billing_days:
- 25
- 30
- 40
generic_rounding_status: not_verified_fail_closed
source_evidence_integrity: verified_server_pdf_sha256
source_document_sha256: e03d2e66ab847622256670c109edad3e0391882721c32b4d1479edd8e1d27fcc
source_document_size_bytes: 1884287
monetary_subsidy_included: false
base_tariff_amount_adjusted: false
fppas:
status: approved_exact_selector_enabled
route: GET /v1/fppas-periods
historical_period_records: 4
current_rate_released: true
rate_applied_in_calculate: false
reason: current_numeric_regime_not_verified
statutory_levies:
status: blocked
reason: verified_rates_not_in_release
exact_current_net_bill:
status: blocked
blocked_components:
- monetary_subsidy_amount
- generic_subsidy_proration_rounding
- current_fppas_numeric_regime
- corrigendum_composition
- statutory_levies
- exact_current_net_bill
meta:
capability_contract: state_aware_fail_closed_v1
calculation_scope: complete_payable_v2_contextual_fail_closed
'400':
description: The request or a query parameter is invalid.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'401':
description: Authentication failed.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: The key, state, scope, or browser origin is not allowed.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'404':
description: The requested state-specific contract is not released.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'405':
description: Unsupported HTTP method.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'429':
description: The configured per-minute or burst allowance was reached.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'500':
description: Unexpected server error.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'503':
description: The verified release, key registry, or runtime evidence is unavailable.
headers:
X-Request-ID:
$ref: '#/components/headers/XRequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
x-state-support:
BR: supported
MH: use_state_endpoints
GJ: use_state_endpoints
TN: use_state_endpoints
servers:
- url: https://powerexpertindia.com/v1
description: Production
components:
headers:
XRateLimitLimit:
description: Configured per-minute limit for the authenticated key.
schema:
type: integer
minimum: 1
XRateLimitReset:
description: Unix epoch when the oldest active request leaves the minute window.
schema:
type: integer
minimum: 0
RetryAfter:
description: Seconds to wait before retrying a rate-limited request.
schema:
type: integer
minimum: 1
XRequestId:
description: Traceable request identifier mirrored in the JSON envelope.
schema:
type: string
pattern: ^req_[A-Za-z0-9]+$
XRateLimitRemaining:
description: Remaining accepted requests in the active minute window.
schema:
type: integer
minimum: 0
schemas:
ErrorEnvelope:
type: object
required:
- status
- api_version
- request_id
- error
properties:
status:
type: string
const: error
api_version:
type: string
const: PEI Verified Tariff API V1.2.0
request_id:
type: string
pattern: ^req_[A-Za-z0-9]+$
error:
$ref: '#/components/schemas/ApiError'
ApiError:
type: object
required:
- code
- message
properties:
code:
type: string
pattern: ^[A-Z0-9_]+$
message:
type: string
details:
type: object
additionalProperties: true
HealthEnvelope:
allOf:
- $ref: '#/components/schemas/SuccessEnvelope'
- type: object
properties:
data:
$ref: '#/components/schemas/HealthData'
meta:
type: object
required:
- calculation_scope
- exact_current_net_bill
properties:
calculation_scope:
type: string
const: verified_base_tariff
exact_current_net_bill:
type: boolean
const: false
ControllerVersion:
type: string
const: PEI Unified Multi-State Controller
CapabilitiesEnvelope:
allOf:
- $ref: '#/components/schemas/SuccessEnvelope'
- type: object
properties:
data:
$ref: '#/components/schemas/BiharCapabilitiesData'
meta:
type: object
required:
- capability_contract
- calculation_scope
properties:
capability_contract:
type: string
const: state_aware_fail_closed_v1
calculation_scope:
type: string
const: verified_base_tariff_plus_optional_non_monetary_subsidy_entitlement
BiharCapabilitiesData:
type: object
required:
- state_code
- controller_version
- api_version
- release_status
- financial_year
- effective_from
- capabilities
- blocked_components
properties:
state_code:
type: string
const: BR
controller_version:
$ref: '#/components/schemas/ControllerVersion'
api_version:
type: string
const: PEI Verified Tariff API V1.2.0
release_status:
type: string
const: released
financial_year:
type: string
const: 2026-27
effective_from:
type: string
format: date
const: '2026-04-01'
capabilities:
type: object
required:
- base_tariff_calculation
- subsidy_entitlement
- fppas
- statutory_levies
- exact_current_net_bill
properties:
base_tariff_calculation:
type: object
required:
- status
- route
- schedule_rows
- supported_subcategories
- money_mode
properties:
status:
type: string
const: enabled
route:
type: string
const: POST /v1/calculate
schedule_rows:
type: integer
const: 34
supported_subcategories:
type: integer
const: 32
money_mode:
type: string
const: integer_paise
subsidy_entitlement:
type: object
required:
- status
- route
- calculate_summary_enabled
- billing_days_input
- supported_billing_days
- generic_rounding_status
- source_evidence_integrity
- source_document_sha256
- source_document_size_bytes
- monetary_subsidy_included
- base_tariff_amount_adjusted
properties:
status:
type: string
const: enabled_non_monetary
route:
type: string
const: GET /v1/subsidy-entitlement
calculate_summary_enabled:
type: boolean
const: true
billing_days_input:
type: string
const: optional
supported_billing_days:
type: array
prefixItems:
- type: integer
const: 25
- type: integer
const: 30
- type: integer
const: 40
items: false
minItems: 3
maxItems: 3
generic_rounding_status:
type: string
const: not_verified_fail_closed
source_evidence_integrity:
type: string
const: verified_server_pdf_sha256
source_document_sha256:
type: string
const: e03d2e66ab847622256670c109edad3e0391882721c32b4d1479edd8e1d27fcc
source_document_size_bytes:
type: integer
const: 1884287
monetary_subsidy_included:
type: boolean
const: false
base_tariff_amount_adjusted:
type: boolean
const: false
fppas:
type: object
required:
- status
- route
- historical_period_records
- current_rate_released
- rate_applied_in_calculate
- reason
properties:
status:
type: string
const: approved_exact_selector_enabled
route:
type: string
const: GET /v1/fppas-periods
historical_period_records:
type: integer
const: 4
current_rate_released:
type: boolean
const: false
rate_applied_in_calculate:
type: boolean
const: false
reason:
type: string
const: current_numeric_regime_not_verified
statutory_levies:
type: object
required:
- status
- reason
properties:
status:
type: string
const: blocked
reason:
type: string
const: verified_rates_not_in_release
exact_current_net_bill:
type: object
required:
- status
properties:
status:
type: string
const: blocked
blocked_components:
type: array
items:
type: string
minItems: 1
uniqueItems: true
HealthData:
type: object
required:
- service_status
- release_status
- production_serving_enabled
- release_stage
- release_id
- state_code
- financial_year
- effective_from
- verification_tier
- schedule_rows
- supported_subcategories
- regression_cases
- runtime_gate_checks
- release_sha256
properties:
service_status:
type: string
const: healthy
release_status:
type: string
const: released
production_serving_enabled:
type: boolean
const: true
release_stage:
type: string
const: public_access_v1
release_id:
type: string
const: BR-2026-27-VERIFIED-STRICT-BASE-V1
state_code:
type: string
const: BR
financial_year:
type: string
const: 2026-27
effective_from:
type: string
format: date
const: '2026-04-01'
verification_tier:
type: string
const: verified_strict
schedule_rows:
type: integer
const: 34
supported_subcategories:
type: integer
const: 32
regression_cases:
type: integer
const: 45
runtime_gate_checks:
$ref: '#/components/schemas/RuntimeGateChecks'
release_sha256:
$ref: '#/components/schemas/Sha256'
SuccessEnvelope:
type: object
required:
- status
- api_version
- request_id
- data
- meta
properties:
status:
type: string
const: ok
api_version:
type: string
const: PEI Verified Tariff API V1.2.0
request_id:
type: string
pattern: ^req_[A-Za-z0-9]+$
data: []
meta:
type: object
Sha256:
type: string
pattern: ^[a-f0-9]{64}$
RuntimeGateChecks:
type: object
required:
- passed
- total
properties:
passed:
type: integer
minimum: 0
total:
type: integer
minimum: 0
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