One day data
<p><strong>Brief Description:</strong></p>
<ul>
<li>Retrieves all detailed data for a specific device on a particular day based on the device SN, device type, and date. The interface returns data only for devices that the secret token has permission to access. Information for devices without permission will not be returned.</li>
<li><code>The device type corresponds to the deviceType parameter in the fetch device list interface.</code></li>
</ul>
<p><strong>Request URL:</strong></p>
<ul>
<li><code>https://openapi.growatt.com/v4/new-api/queryHistoricalData</code></li>
</ul>
<p><strong>Request Method:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>Content-Type:</strong></p>
<ul>
<li>application/x-www-form-urlencoded</li>
</ul>
<p><strong>HTTP Header Parameters and Description:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">Parameter Name</th>
<th style="text-align: left;">Required</th>
<th style="text-align: left;">Type</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td style="text-align: left;">Secret token</td>
</tr>
</tbody>
</table>
<p><strong>HTTP Body Parameters and Description:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">Parameter Name</th>
<th style="text-align: left;">Required</th>
<th style="text-align: left;">Type</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">deviceSn</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td style="text-align: left;">Device unique serial number (SN)</td>
</tr>
<tr>
<td style="text-align: left;">deviceType</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td style="text-align: left;">[Device type](<a href="https://www.showdoc.com.cn/p/b42ee029e131c68c4dbfdd89285c0ec1">https://www.showdoc.com.cn/p/b42ee029e131c68c4dbfdd89285c0ec1</a> "Device Type")</td>
</tr>
<tr>
<td style="text-align: left;">date</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td style="text-align: left;">Start date (format: yyyy-mm-dd) Example: 2024-05-14</td>
</tr>
</tbody>
</table>
<p><strong>Example Call</strong></p>
<pre><code>{
&quot;deviceSn&quot;: &quot;FDCJQ00003&quot;,
&quot;deviceType&quot;: &quot;min&quot;,
&quot;date&quot;: &quot;2024-05-14&quot;
}</code></pre>
<p><strong>Example Response</strong></p>
<p>inv: <a href="https://www.showdoc.com.cn/2540838290984246/11292917584269311">https://www.showdoc.com.cn/2540838290984246/11292917584269311</a>
storage: <a href="https://www.showdoc.com.cn/2540838290984246/11292918959841019">https://www.showdoc.com.cn/2540838290984246/11292918959841019</a>
sph: <a href="https://www.showdoc.com.cn/2540838290984246/11292922712705121">https://www.showdoc.com.cn/2540838290984246/11292922712705121</a>
max: <a href="https://www.showdoc.com.cn/2540838290984246/11292920771207078">https://www.showdoc.com.cn/2540838290984246/11292920771207078</a>
spa: <a href="https://www.showdoc.com.cn/2540838290984246/11292925068299407">https://www.showdoc.com.cn/2540838290984246/11292925068299407</a>
min: <a href="https://www.showdoc.com.cn/2540838290984246/11292926895869382">https://www.showdoc.com.cn/2540838290984246/11292926895869382</a>
wit: <a href="https://www.showdoc.com.cn/2540838290984246/11292928841081078">https://www.showdoc.com.cn/2540838290984246/11292928841081078</a>
sph-s: <a href="https://www.showdoc.com.cn/2540838290984246/11292930141133325">https://www.showdoc.com.cn/2540838290984246/11292930141133325</a>
noah:<a href="https://www.showdoc.com.cn/2540838290984246/11315142054122408">https://www.showdoc.com.cn/2540838290984246/11315142054122408</a></p>
<p><strong>Notes</strong></p>
<ul>
<li>Retrieval frequency is limited to once every 5 minutes.</li>
</ul>