法币折合接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>USD兑换法币价格</li>
</ul>
<h5>鉴权类型</h5>
<ul>
<li>NONE</li>
</ul>
<h5>限流类型</h5>
<ul>
<li>IP</li>
</ul>
<h5>限流频率</h5>
<ul>
<li>20次/2S</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/price/exchangeRate</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: &quot;0&quot;,
&quot;msg&quot;: &quot;Success&quot;,
&quot;data&quot;: [
{
&quot;currency&quot;: &quot;USD&quot;,
&quot;fullName&quot;: &quot;United States Dollar&quot;,
&quot;icon&quot;: &quot;https://s3.us-west-1.amazonaws.com/hi-prod1/upload/a4d8e561-cdb0-4630-b4f6-7de8563db707.png&quot;,
&quot;symbol&quot;: &quot;$&quot;,
&quot;sort&quot;: 1,
&quot;popular&quot;: true,
&quot;price&quot;: &quot;1&quot;
},
{
&quot;currency&quot;: &quot;EUR&quot;,
&quot;fullName&quot;: &quot;Euro&quot;,
&quot;icon&quot;: &quot;https://s3.us-west-1.amazonaws.com/hi-prod1/upload/bd0c3b91-0c59-49f6-91f1-28512693d9d6.png&quot;,
&quot;symbol&quot;: &quot;€&quot;,
&quot;sort&quot;: 2,
&quot;popular&quot;: true,
&quot;price&quot;: &quot;0.91392474&quot;
},
{
&quot;currency&quot;: &quot;GBP&quot;,
&quot;fullName&quot;: &quot;British Pound Sterling&quot;,
&quot;icon&quot;: &quot;https://s3.us-west-1.amazonaws.com/hi-prod1/upload/838eb320-1493-40f3-9fd7-ede1e142274b.png&quot;,
&quot;symbol&quot;: &quot;£&quot;,
&quot;sort&quot;: 3,
&quot;popular&quot;: true,
&quot;price&quot;: &quot;0.77818955153994&quot;
}
}</code></pre>
<h5>返回参数说明</h5>
<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;">code</td>
<td style="text-align: left;">string</td>
<td>返回码</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>返回信息</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">object</td>
<td>返回集合</td>
</tr>
<tr>
<td style="text-align: left;">currency</td>
<td style="text-align: left;">String</td>
<td>币种</td>
</tr>
<tr>
<td style="text-align: left;">fullName</td>
<td style="text-align: left;">String</td>
<td>币种全称</td>
</tr>
<tr>
<td style="text-align: left;">icon</td>
<td style="text-align: left;">String</td>
<td>图标</td>
</tr>
<tr>
<td style="text-align: left;">symbol</td>
<td style="text-align: left;">String</td>
<td>符合</td>
</tr>
<tr>
<td style="text-align: left;">sort</td>
<td style="text-align: left;">String</td>
<td>排序</td>
</tr>
<tr>
<td style="text-align: left;">popular</td>
<td style="text-align: left;">String</td>
<td>是否主流</td>
</tr>
<tr>
<td style="text-align: left;">price</td>
<td style="text-align: left;">String</td>
<td>折合价格</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>