通过拼音查询文字新华字典,在线查询文字,模糊查询文字新华字典,新华字典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({