申请次数:34
创建应用
参照API文档
接口授权
| 名称 | 值 | ||
|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | ||
| Token | 在个人中心查看Token |
| 名称 | 必填 | 类型 | 说明 | ||
|---|---|---|---|---|---|
| api_key | 是 | string | 在个人中心->我的API查看 | ||
| telecode | 是 | string | 中文电码,最多支持32个电码的检索,多个查询用英文,隔开,如123,3112 |
| 名称 | 类型 | 说明 | ||
|---|---|---|---|---|
| code | string | 网关返回码 | ||
| msg | string | 网关返回码描述 | ||
| sub_code | string | 业务返回码 | ||
| sub_msg | string | 业务返回码描述 | ||
| result | string | 返回内容,若没有对应字符,则对应字符为空 | ||
| result.content | array | 查询结果 | ||
| result.content.telecode | string | 电码 | ||
| result.content.word | string | 电码对应中文 |
{
"code": 10000,
"msg": "success",
"sub_code": 50000,
"sub_msg": "success",
"result": {
"content": [
{
"telecode": "1170",
"word": "好"
},
{
"telecode": "1170",
"word": "好"
},
{
"telecode": "1331",
"word": "學"
},
{
"telecode": "5045",
"word": "習"
},
{
"telecode": "9976",
"word": ","
},
{
"telecode": "1131",
"word": "天"
},
{
"telecode": "1131",
"word": "天"
},
{
"telecode": "686",
"word": "向"
},
{
"telecode": "6",
"word": "上"
}
]
}
}| 错误码 | 说明 | ||
|---|---|---|---|
| 513701 | 未查到相关信息 | ||
| 513702 | 字符串长度最大不能超过32个 | ||
| 513703 | 中文电码数量最大不能超过32个 |
| 错误码 | 说明 | ||
|---|---|---|---|
| 10001 | 错误的KEY | ||
| 10002 | 缺少api_key参数 | ||
| 10003 | 您的KEY被禁止 | ||
| 10005 | 您的IP被禁止 | ||
| 10006 | 未知的请求 | ||
| 10007 | 当前IP请求超过限制 | ||
| 10008 | 请求的服务超过次数限制 | ||
| 10009 | 系统繁忙,请稍后重试 | ||
| 10010 | 接口在维护 | ||
| 10011 | 接口已下架 | ||
| 10012 | 请求的服务未找到 | ||
| 10013 | KEY缓存已过期 | ||
| 10014 | 业务参数不合法 | ||
| 10015 | TOKEN不存在 | ||
| 10016 | TOKEN不合法 | ||
| 10017 | 账号被停用 | ||
| 20001 | 系统内部异常 | ||
| 20002 | 业务处理失败 |
