## 脑筋急转弯 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://img.kancloud.cn/d6/f1/d6f1416e810ddc1904f6c030aca6dc60_200x200.png) > 脑机急转弯,高IQ必备 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/brain_teaser/index ``` ### 请求参数 | 名称 | 类型 | 必填|说明 | | --- | --- | --- | ---| | appCode| string|是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | num| string | 否|返回数量,默认为1 | ### 返回`data`参数 | 名称 | 类型 | 示例值 | 说明 | | --- | --- | --- | --- | | quest | string | 一个人掉到海里,为什么他的头发没有湿? | 问题 | | result | string | 因为他是光头 | 答案 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->brainTeaserIndex() ->withNum(3) ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "id":"1196", "quest":"一个人掉到海里,为什么他的头发没有湿?", "result":"因为他是光头" }, { "id":"1196", "quest":"什么东西人们都不想要?", "result":"病。" }, { "id":"1196", "quest":"森林中有十只鸟,小明开枪打死了一只,其它九只却都没有飞走,为什么?", "result":"鸵鸟" } ] } ~~~