What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

API Historicdata json id and channelid possible?




I have 1 sensor with 30 channels. I want to have a historicdata in json for 1 specific channel of this 30 channels.

Here the closest I get so far:


Sensor is 2490 and I want a historicdata from channel 6 from 13 - 13:56. But the "&channelid=6" is ignored in this case. I get the same historicdata with "&channelid=12" etc. How to do it?

Thnx in advantage.

api channel historicdata

Created on May 12, 2021 6:38:12 AM

3 Replies




Thank you for your message.

Regarding what you would like to achieve, I'm afraid that there is no option to get the historic data of a specific channel only.

However, you have the possibility to filter the result via a script to only keep the channel you desire. The PowerShell module PRTGAPI can also help here. to process the data. Here is its documentation: https://github.com/lordmilko/PrtgAPI/wiki

I also invite you to open a feature request if there is no existing ones related to it, by following our guideline here: https://kb.paessler.com/en/topic/79245-how-can-i-propose-new-features-or-sensors-for-prtg.

If you have questions, let us know.


Created on May 12, 2021 7:55:20 AM by  Florian Lesage [Paessler Support]



Thanx for your answer,

just a last try:


I found out this gives me back the historical data of the last channel. Is there nothing to use like "&subid" or "&channelid" ?

Thank you!

Created on May 12, 2021 9:02:14 AM



I'm afraid that the API endpoint /api/historicdata.json doesn't take into account other parameters than the id of a sensor. Therefore, this is not possible to filter the channels returned by the API.


Created on May 12, 2021 9:49:47 AM by  Florian Lesage [Paessler Support]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.