## 标准电码查询 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://img.kancloud.cn/94/62/9462a17824739c58fb39c9e5920f5c12_166x155.png) > 提供的标准中文电码查询程序结果 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/telecom/codes ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | chars | 是 | string | 中文字符串,最大长度32个字,需要utf8 urlencode | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | telecodes | string | 字符对应电码 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->telecomCodes() ->withChars('顶想信息') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": { "telecodes": "7307 1927 0207 1873" }, } ~~~