Free JSON API endpoint

E-commerce API

  • Taobao product search suggestions:

    Test link
    http://suggest.taobao.com/sug?code=utf-8&q=product keywords&callback=cb

    PS: callback是回调函数设定

Logistics interface

  • Express delivery interface:

    Test link
    http://www.kuaidi100.com/query?type=express_company_code&postid=tracking_number

    PS: 快递公司编码:申通="shentong" EMS="ems" 顺丰="shunfeng" 圆通="yuantong" 中通="zhongtong" 韵达="yunda" 天天="tiantian" 汇通="huitongkuaidi" 全峰="quanfengkuaidi" 德邦="debangwuliu" 宅急送="zhaijisong"

Google API

  • FeedXml to JSON API:

    http://ajax.googleapis.com/ajax/services/feed/load?q=Feed%20URL&v=1.0

    Optional parameter callback: &callback=foo就会在json外面嵌套foo({})方便做jsonp使用。
    Alternative parameter n: 返回多少条记录。

Baidu API

  • Baidu Encyclopedia API:

    Test link
    http://baike.baidu.com/api/openapi/BaikeLemmaCardApi?scope=103&format=json&appid=379020&bk_key=keyword&bk_length=600

    Query error example as follows: 查看原始页面 {"error_code":"20000","error_msg":"search word not found"}

Weather API

  • Baidu API:

    Zhejiang Jiaxing weather API call

    PS: location:城市名或经纬度 ak:开发者密钥 output:默认xml


  • Sina API:

    Test link
    http://php.weather.sina.com.cn/iframe/index/w_cl.php?code=js&day=0&city=&dfc=1&charset=utf-8

    PS: 参数中city如果给了参数就是相关的城市,否则会自动判断,day=0的话是今天。返回的参数,大家看着办吧,具体的我也不清楚,新浪没给API。

You recently used:

收藏: favorite Menu QQ