Obtaining your account information
The developpers of the project don’t have access to all of the account types and options available at Hydro-Quebec and rely on information provided by the users to implement them.
If your account type is not supported yet it may be helpful for us if you can provide the information available in your Hydro-Quebec customer portal.
Important
Please make sure to remove all your personal information from the outputs before sending it to us.-
Go to the Hydro-Quebec portal login page but don’t login yet
-
Enable Inspect in the developper tools (Ctrl+Shift+I)
-
In the inspect section click on Network then Fetch/XHR
-
Now login to your Hydro-Quebec portal with your account
-
You should see links appear in the left part of the Inpector window
-
Click on one of them (infoBase for example) and you will see the information in JSON format on the right side of the window (make sure you select the Preview tab)
-
Right click on the InfoBase section on the left pane and copy the full link
-
Copy the JSON data in the right pane
-
-
Replace Personnal Information with equivalent data. Try to preserve the data (ie. if there are 9 numbers for your account number type 9 random numbers).
Repeat this process for other section of the website relevant to your account and try to find the data.
Here are some known place to find relevant data:
-
Consommation page
- contrat
- conso?noContrat=
-
Facture
Under the facture section you will find different sections depending on your account. This is where you should search for your account specific information we might need. You will have to poke around a bit to find the relevant information. Check for the
estAbonne
url for your specific option and make sure to send it over to us.- estAbonne (for example
https://cl-services.idp.hydroquebec.com/cl/prive/api/v3_0/alertes/CPC/estAbonne
for winter credits) - account specific url (for example we have
creditPointeCritique
for winter credit)
- estAbonne (for example
When everything is gathered please post the sanitized data (personal info removed) in an issue on gitlab https://gitlab.com/hydroqc/hydroqc/-/issues.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.