soword科技言
永久公益免费API接口
提供永久免费的API接口,查看更多API接口,如果您有其他免费API资源,请联系我们,造福人类。
提供商务开发:小程序,系统,APP
定制开发,免费评估,免费咨询,价格便宜,售后保障,前往开发服务中心联系开发客服中心
拼音查询文字API,新华字典免费API,通过拼音查询文字API,模糊查询文字API

通过拼音查询文字新华字典,在线查询文字,模糊查询文字新华字典,新华字典API,免费查询文字API,在线查询文字API,永久免费API,文字API。

在线拼音查询:https://www.soword.cn/onlinetools/1178.html

新华字典:https://www.soword.cn/onlinetools/1166.html

免费新华字典API:https://www.soword.cn/api/44.html


请求费用:免费不限


接口地址:http(s)://api.soword.cn/pingyin

返回格式:json

请求方式:http(s) get/post

请求示例:http(s)://api.soword.cn/pingyin?key=MTU5NHDc5M45z5g2MjM4&py=wo

返回参数:

{"status":"0","message":[{"zi":"卧","pinyin":"wò"},{"zi":"仴","pinyin":"wò"},{"zi":"倭","pinyin":"wō"},{"zi":"偓","pinyin":"wò"},{"zi":"莴","pinyin":"wō"},{"zi":"萵","pinyin":"wō"},{"zi":"幄","pinyin":"wò"},{"zi":"唩","pinyin":"wō"},{"zi":"喔","pinyin":"wō"},{"zi":"婑","pinyin":"wǒ"},{"zi":"婐","pinyin":"wǒ"},{"zi":"媉","pinyin":"wò"},{"zi":"猧","pinyin":"wō"},{"zi":"捰","pinyin":"wǒ"},{"zi":"捾","pinyin":"wò"},{"zi":"握","pinyin":"wò"},{"zi":"沃","pinyin":"wò"},{"zi":"渦","pinyin":"wō"},{"zi":"涹","pinyin":"wō"},{"zi":"渥","pinyin":"wò"},{"zi":"濣","pinyin":"wò"},{"zi":"斡","pinyin":"wò"},{"zi":"我","pinyin":"wǒ"},{"zi":"焥","pinyin":"wò"},{"zi":"枂","pinyin":"wò"},{"zi":"楃","pinyin":"wò"},{"zi":"瓁","pinyin":"wò"},{"zi":"肟","pinyin":"wò"},{"zi":"腛","pinyin":"wò"},{"zi":"臒","pinyin":"wò"},{"zi":"瞃","pinyin":"wò"},{"zi":"硪","pinyin":"wò"},{"zi":"窝","pinyin":"wō"},{"zi":"窩","pinyin":"wō"},{"zi":"臥","pinyin":"wò"},{"zi":"蜗","pinyin":"wō"},{"zi":"蝸","pinyin":"wō"},{"zi":"踒","pinyin":"wō"},{"zi":"龌","pinyin":"wò"},{"zi":"齷","pinyin":"wò"}]}

备注:空默认“wo”字。


传输参数:

key:后台免费申请

py:单字中文拼音


其他返回参数:

status:0  正确  1  key值错误或其他错误

message: zi:字  pinyin:拼音


我们这里只演示jQuery请求:

(其他PHP、Java、Python等均可)

$.ajax({

                type: 'GET',
                url: 'https://api.soword.cn/pingyin?key=MTU5NHDc5M45z5g2MjM4&py=wo',
                dataType: 'json',
                success: function(data){
               console.log(data.message);
                },
                error: function (e) {
                alert("error");
                }

 

               });




2023-03-22 10:04:54

新人小程序+APP定制199元起


发放福利,助力中小企业发展,真正在互联网中受益

点击询问定制

广告服务展示