分享一个免费汉字笔划数API接口,刚刚在别的网站上爬下来的,发现没有限制。非常适合做词典成语、起名网站、汉字笔划统计api接口。支持单个和多个联查的(要查询字符全中文字符)繁简都是支持的。
API接口:
http://www.nearnet.com.cn/api/stroke?q=我的站长站
返回数据
{"status":0,"message":"success","data":[{"q":"u7cbe","num":14},{"q":"u51c6","num":10},{"q":"u50cf","num":13},{"q":"u7d20","num":10}]}
格式化后
{ "status": 0, "message": "success", "data": [{ "q": "精", "num": 14 }, { "q": "准", "num": 10 }, { "q": "像", "num": 13 }, { "q": "素", "num": 10 }] }