外汇报价接口支持常用汇率查询

外汇报价接口支持常用汇率查询,包括币种交易单位中间现汇买入价现钞买入价卖出价

接口名称:外汇报价接口

接口平台:web api

接口地址:http://op.juhe.cn/onebox/exchange/query

支持格式:json

请求方式:http get

请求示例:http://op.juhe.cn/onebox/exchange/query?key=您申请的APPKEY

外汇报价接口调用代码JSON返回示例:

{
    "reason": "查询成功",
    "result": {
        "update": "2014-11-07 10:59:06",
        "list": [
            [
                "港币", /*币种*/
                "100",  /*交易单位*/
                "79.45", /*中间价*/
                "78.7000", /*现汇买入价*/
                "78.0700", /*现钞买入价 */
                "79.0000" /*卖出价*/
            ],
            [
                "美元",
                "100",
                "616.02",
                "610.1400",
                "605.2500",
                "612.5800"
            ],
            [
                "日元",
                "100",
                "5.337",
                "5.2860",
                "5.1229",
                "5.3232"
            ],
            [
                "英镑",
                "100",
                "974.62",
                "964.9700",
                "935.1900",
                "971.7500"
            ],
            [
                "欧元",
                "100",
                "761.83",
                "754.1900",
                "730.9200",
                "759.4900"
            ]
        ]
    },
    "error_code": 0
}


你可能感兴趣的:(外汇报价,外汇接口)