奇货可查接口文档

奇货可查机构VIP接口文档


现货贸易商报价

<p><strong>简要描述:</strong> </p> <ul> <li>现货贸易商报价接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li>参数1:<code>https://api.qhkch.com/trader_prices/{variety}/{date}</code></li> <li>参数2:<code>https://api.qhkch.com/trader_prices_all/{date}</code></li> </ul> <p><strong>请求参数说明</strong> 参数1</p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">说明</th> <th>举例</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">variety</td> <td style="text-align: left;">品种编码</td> <td>RB</td> </tr> <tr> <td style="text-align: left;">date</td> <td style="text-align: left;">查询日期</td> <td>2018-08-08</td> </tr> </tbody> </table> <p>参数2</p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">说明</th> <th>举例</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">date</td> <td style="text-align: left;">查询日期</td> <td>2018-08-08</td> </tr> </tbody> </table> <p><strong>请求方式:</strong></p> <ul> <li>GET </li> </ul> <p><strong>Header:</strong></p> <pre><code>X-Token:{token} </code></pre> <p><strong>返回示例</strong></p> <pre><code>[ { &amp;quot;name&amp;quot;: &amp;quot;邻苯二甲醚&amp;quot;, &amp;quot;price&amp;quot;: 16300, &amp;quot;band&amp;quot;: &amp;quot;山东淄博&amp;quot;, &amp;quot;model&amp;quot;: &amp;quot;优等品&amp;quot;, &amp;quot;unit&amp;quot;: &amp;quot;元/吨&amp;quot;, &amp;quot;trader&amp;quot;: &amp;quot;厦门裕德顺化工产品有限公司&amp;quot; }, { &amp;quot;name&amp;quot;: &amp;quot;邻苯二甲醚&amp;quot;, &amp;quot;price&amp;quot;: 30000, &amp;quot;band&amp;quot;: &amp;quot;山东淄博&amp;quot;, &amp;quot;model&amp;quot;: &amp;quot;优等品&amp;quot;, &amp;quot;unit&amp;quot;: &amp;quot;元/吨&amp;quot;, &amp;quot;trader&amp;quot;: &amp;quot;青岛和丰化工有限公司&amp;quot; } ] </code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">string</td> <td>品种名称</td> </tr> <tr> <td style="text-align: left;">price</td> <td style="text-align: left;">float</td> <td>贸易商报价</td> </tr> <tr> <td style="text-align: left;">band</td> <td style="text-align: left;">string</td> <td>品牌</td> </tr> <tr> <td style="text-align: left;">model</td> <td style="text-align: left;">string</td> <td>型号、规格</td> </tr> <tr> <td style="text-align: left;">unit</td> <td style="text-align: left;">string</td> <td>单位</td> </tr> <tr> <td style="text-align: left;">trader</td> <td style="text-align: left;">string</td> <td>贸易商</td> </tr> </tbody> </table>

页面列表

ITEM_HTML