区块链新闻

最后更新于:2022-04-02 08:20:24

## 区块链新闻 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/42/0d/420d7df8fc04ff9b004e4a241b95ed3b_200x200.png) > 数字加密货币、比特币等行业新闻资讯 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/news/blockchain ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string| 是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | num | int | 是 | 返回数量1-50,默认10 | | page | int | 否 | 翻页 | | word | string | 否 | 检索关键词 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | ctime | string | 时间 | | title | string | 标题 | | description | string | 描述 | | picUrl | string | 封面 | | url | string | 链接 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->newsBlockchain() ->withNum(10) ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "ctime":"2019-03-19 08:47", "title":"全国首张地铁区块链电子发票开出", "description":"A5区块链", "picUrl":"https://a5img.pncdn.cn/2019/0318/1552899110810.jpg?x-oss-process=image/resize,m_fixed,w_220,h_120", "url":"https://www.admin5.com/article/20190319/900477.shtml" }, { "ctime":"2019-03-19 00:00", "title":"币安IEO融资风起谁向投资者负责", "description":"财经区块链", "picUrl":"https://img3.caijing.com.cn/2019/0318/thumb_306_200_1552897990754.jpg", "url":"http://onchain.caijing.com.cn/20190319/4571051.shtml" }, { "ctime":"2019-03-18 16:51", "title":"闪电网络或许还需18个月,BCH新版本却已正式上线", "description":"A5区块链", "picUrl":"https://a5img.pncdn.cn/2019/0318/1552899110810.jpg?x-oss-process=image/resize,m_fixed,w_220,h_120", "url":"https://www.admin5.com/article/20190318/900432.shtml" } ] } ~~~
';