JS Open source Free weather interface API and all country code (National Weather Service)

Source: Internet
Author: User

Weather forecast interface provided by National Weather Service

Interface Address:

Http://www.weather.com.cn/data/sk/101010100.html
Http://www.weather.com.cn/data/cityinfo/101010100.html
Http://m.weather.com.cn/data/101010100.html

For the third interface, the return information is more comprehensive and is provided in JSON format as follows

{"Weatherinfo": {
Basic information;
"City": "Beijing", "city_en": "Beijing",
"Date_y": "February 16, 2012", "Date": "", "Week": "Thursday", "Fchh": "One", "Cityid": "101010100",
Celsius temperature
"Temp1": "2℃~-7℃",
"Temp2": "1℃~-7℃",
"Temp3": "4℃~-7℃",
"Temp4": "7℃~-5℃",
"TEMP5": "5℃~-3℃",
"TEMP6": "5℃~-2℃",
Fahrenheit temperature;
"TempF1": "35.6?~19.4?",
"TempF2": "33.8?~19.4?",
"TempF3": "39.2?~19.4?",
"TempF4": "44.6?~23?",
"TempF5": "41?~26.6?",
"TempF6": "41?~28.4?",
Weather description;
"Weather1": "Clear",
"Weather2": "Clear",
"Weather3": "Clear",
"Weather4": "Sunny Turn Cloudy",
"Weather5": "Cloudy",
"Weather6": "Doyun",
Weather description Picture Number
"IMG1": "0",
"Img2": "99",
"IMG3": "0",
"Img4": "99",
"Img5": "0",
"Img6": "99",
"Img7": "0",
"Img8": "1",
"Img9": "1",
"Img10": "99",
"Img11": "1",
"Img12": "2",
"Img_single": "0",
Picture name;
"Img_title1": "Clear",
"Img_title2": "Clear",
"Img_title3": "Clear",
"Img_title4": "Clear",
"Img_title5": "Clear",
"Img_title6": "Clear",
"Img_title7": "Clear",
"Img_title8": "Cloudy",
"Img_title9": "Cloudy",
"Img_title10": "Cloudy",
"Img_title11": "Cloudy",
"Img_title12": "Yin",
"Img_title_single": "Clear",
Wind speed description
"Wind1": "North wind 3-4 Turn Breeze",
"Wind2": "The Breeze",
"Wind3": "The Breeze",
"Wind4": "The Breeze",
"Wind5": "The Breeze",
"Wind6": "The Breeze",
Wind speed level description
"FX1": "North Wind",
"FX2": "The Breeze",
"FL1": "3-4 level turn less than 3",
"FL2": "Less than 3",
"Fl3": "Less than 3",
"Fl4": "Less than 3",
"FL5": "Less than 3",
"Fl6": "Less than 3",
Today's dressing index;
"Index": "Cold",
"Index_d": "The weather is cold, suggest a coat, leather jacket and sweater, such as winter clothing." Elderly and frail people should be a thick coat or winter overcoat. ",
48-hour Dressing index
"index48": "Cold",
"Index48_d": "The weather is cold, suggest a coat, leather jacket and sweater, such as winter clothing." Elderly and frail people should be a thick coat or winter overcoat. ",
Ultraviolet and 48-hour ultraviolet
"Index_uv": "Weak",
"Index48_uv": "Weak",
Car Wash
"INDEX_XC": "Suitable",
Tourism
"Index_tr": "General",
Comfort Index
"Index_co": "Less comfortable",
"St1": "1",
"St2": "-8",
"St3": "2",
"St4": "-4",
"St5": "5",
"St6": "-5",
Morning exercises
"INDEX_CL": "More unfavorable",
Drying
"Index_ls": "Basically suitable",
Allergy
"Index_ag": "extremely difficult to send"}

The city code for the country is as follows:

Beijing: 101010100 Chaoyang: 101010300 Shunyi: 101010400 Huairou: 101010500 Tongzhou: 101010600 changping: 101010700 Yanqing: 101010800 fengtai: 101010900 Shijingshan : 101011000 daxing: 101011100 Fangshan: 101011200 Miyun: 101011300 Mentougou: 101011400 pinggu: 1,010,115,008 da Ling: 101011600 Rookie: 101011700 Tang Estuary : 101011800 Miyun: 101011900 zhaitang: 101012000 Xia Yun Ling: 101012100 Beijing urban Area: 101012200 Haidian: 101010200 Tianjin: 101030100 Baochi: 101030300 Toray : 101030400 xiqing: 101030500 beichen: 101030600 Jixian: 101031400 Hangu: 101030800 Jinghai: 101030900 Jinnan: 101031000 tanggu: 101031100 Dagang: 101031200 wuqing : 101030200 Ninghe: 101030700 Shanghai: 101020100 Baoshan: 101020300 jiading: 101020500 nanhui: 101020600 Pudong: 101021300 Qingpu: 101020800 Songjiang: 101020900 Fengxian : 101021000 Chongming: 101021100 Xujiahui: 101021200 Minhang: 101020200 Jinshan: 101020700 Shijiazhuang: 101090101 Zhangjiakou: 101090301 chengde: 101090402 Tangshan : 101090501 Qinhuangdao: 101091101 Cangzhou: 101090701 Hengshui: 101090801 xingtai: 101090901 Handan: 101091001 baoding: 101090201 langfang: 101090601 Zhengzhou: 101180101 Xinxiang : 101180301 Xuchang: 101180401 Pingdingshan: 101180501 xinyang: 101180601 Nanyang: 101180701 Kaifeng: 101180801 Luoyang: 101180901 Shangqiu: 101181001 Jiaozuo: 101181101 Hebi : 101181201 Puyang: 101,181,301 weeks Mouth: 101181401 Luohe: 101181501 Zhumadian: 1,011,816,013 Gate Gorge: 101181701 Jiyuan: 101181801 Anyang: 101180201 Hefei: 101220101 Wuhu : 101220301 Huainan: 101220401 Maanshan: 101220501 anqing: 101220601 Suzhou: 101220701 Fuyang: 101220801 Bozhou: 101220901 Huangshan: 101221001 Chuzhou: 101221101 huaibei: 101221201 tongling: 101221301 xuancheng: 1,012,214,016 ann: 101221501 Chaohu : 101221601 Chizhou: 101221701 Bengbu: 101220201 Hangzhou: 101210101 Zhoushan: 101211101 Huzhou: 101210201 jiaxing: 101210301 Jinhua: 101210901 shaoxing: 101210501 Taizhou : 101210601 Wenzhou: 101210701 Lishui: 101210801 Quzhou: 101211001 Ningbo: 101210401 Chongqing: 101040100 Hechuan: 101040300 Nanchuan: 101040400 Jiangjin: 1,010,405,000,000 sheng : 101040600 Yubei: 101040700 beibei: 101040800 Banan: 101040900 longevity: 101041000 Qianjiang: 1,010,411,000,000 State Tiancheng: 1,010,412,000,000 states Long bao: 101041300 fuling : 101041400 Kai: 101041500 Chengkou: 101041600 Yunyang: 101041700 Wuxi: 101041800 Fengjie: 101041900 Wushan: 101042000 Tongnan: 101042100 Dianjiang: 101042200 liangping : 101042300 Zhongxian: 101042400 pillars: 101042500 dazu: 101042600 rongchang: 101042700 Tongliang: 101042800 Bishan: 101042900 Fengdou: 101043000 Wulong: 101043100 Pengshui : 101043200 Qijiang: 101043300 Youyang: 101043400 Xiushan: 101043600 Shapingba: 101043700 Yongchuan: 101040200 Fuzhou: 101230101 Quanzhou: 101230501 Zhangzhou: 101230601 Longyan : 101230701 Jinjiang: 101230509 nanping: 101230901 Xiamen: 101230201 Ningde: 101230301 Putian: 1,012,304,013 Ming: 101230801 Lanzhou: 101160101 Pingliang: 101160301 Qingyang : 101160401 Wuwei: 101160501 Jinchang: 101160601 Jia Yu Guan: 101161401 jiuquan: 101,160,801 days Water: 101160901 wudu: 101161001 Linxia: 101161101 cooperation: 101161201 Silver : 101161301 Dingxi: 101160201 Zhangye: 101160701 Guangzhou: 101280101 Huizhou: 101280301 Meizhou: 101280401 Shantou: 101280501 Shenzhen: 101280601 Zhuhai: 101280701 Foshan: 101280800 zhaoqing: 101280901 Zhanjiang: 101281001 jiangmen : 101281101 Heyuan: 101281201 Qingyuan: 101281301 Yunfu: 101281401 Chaozhou: 101281501 Dongguan: 101281601 Zhongshan: 101281701 Yangjiang: 101281801 jieyang: 101281901 maoming : 101282001 Shanwei: 101282101 Shaoguan: 101280201 nanning: 101300101 Liuzhou: 101300301来: 101300401 Guilin: 101300501 Wuzhou: 101300601 Fangchenggang: 101301401 Guigang : 101300801 Yulin: 10,130,090,100 color: 101301001 Qinzhou: 101301101 Hechi: 101301201 Beihai: 101301301 Chongzuo: 101300201 Hezhou: 101300701 Guiyang: 101260101 Anshun : 101260301 Duyun: 101260401 Xingyi: 101260906 tongren: 101260601 Bijie: 1,012,607,016 Panshui: 101260801 Zunyi: 101260201 kaili: 101260501 Kunming: 101290101 Honghe : 101290301 Wenshan: 101290601 yuxi: 101290701 Chuxiong: 101290801 Puer: 101290901 zhaotong: 101291001 Lincang: 101291101 nu: 101291201 Shangri-la: 101291301 Lijiang : 101291401 Germany macro: 101291501 Jinghong: 101291601 Dali: 101290201 Qujing: 101290401 Baoshan: 101290501 hohhot: 101080101 Wuhai: 101,080,301 ning: 101080401 Tongliao : 101080501 Alxa Zuoqi: 101081201 Erdos: 101080701 linhe: 101080801 Xilin Hot: 101080901 hulunbeier: 101081000 ulanhot: 101081101 Baotou: 101080201 Chifeng : 101080601 Nanchang: 101240101 Shangrao: 101240301 Fuzhou: 101240401 Yichun: 101240501 yingtan: 101241101 Ganzhou: 101240701 jingdezhen: 101240801 pingxiang: 101240901 Xinyu : 1,012,410,019 Jiang: 101240201 ji ' an: 101240601 Wuhan: 101200101 Huanggang: 101200501 Jingzhou: 101200801 Yichang: 101200901 Enshi: 1,012,010,010 Weir: 101201101 Shennongjia: 101201201 Suizhou: 101201301 Jingmen : 101,201,401 days Door: 101201501 Xiantao: 101201601 Qianjiang: 101201701 xiangfan: 101200201 Ezhou: 101200301 Xiaogan: 101200401 Yellowstone: 101200601 xianning: 101,200,701 : 101270101 Zigong: 101270301 Mianyang: 101270401 nanchong: 101270501 Dazhou: 101270601 Suining: 101270701 Guang an: 101270801 bazhong: 101270901 Luzhou: 101271001 yibin : 101271101 Neijiang: 101271201 Ziyang: 101271301 Leshan: 101271401 Meishan: 101271501 Liangshan: 101271601 Yaan: 101271701 ganzi: 101271801 Aba: 101271901 Deyang : 101272001 Guangyuan: 101272101 Panzhihua: 101270201 Yinchuan: 101170101 zhongwei: 101170501 Guyuan: 101170401 Shizuishan: 101170201 wuzhong: 101170301 xining: 101150101 Yellow-South : 101150301 Sea North: 101150801 Fruit Luo: 101150501 Yushu: 101150601 Hercynian: 101150701 haidong: 101150201 Hainan: 101150401 Jinan: 101120101 Weifang: 101120601 Linyi : 101120901 heze: 101121001 Binzhou: 101121101 dongying: 101121201 Weihai: 101121301 zaozhuang: 101121401 Rizhao: 101121501 Laiwu: 101121601 Liaocheng: 101121701 Qingdao : 101120201 Zibo: 101120301 Texas: 101120401 Yantai: 101120501 jining: 101120701 Taian: 101120801 Xian: 101110101 Yanan: 101110300 Yulin: 101110401 Tongchuan : 101111001 Shangluo: 101110601 ankang: 101110701 hanzhong: 101110801 Baoji: 101110901 Xianyang: 101110200 Weinan: 101110501 Taiyuan: 101100101 linfen: 101100701 Yuncheng : 101100801 Shuozhou: 101100901 Xinzhou: 101101001 Changzhi: 101100501 datong: 101100201 Yangquan: 101100301 jinzhong: 101100401 jincheng: 101100601 Luliang: 101101100 Urumqi: 101130101 shihezi: 101130301 Changji : 101130401 Turpan: 101130501 Korla: 101130601 alar: 101130701 Aksu: 101130801 Kashi: 101130901 Yining: 101131001 Tacheng: 101131101 Hami : 101131201 Hotan: 101131301 Altay: 101131401 Atushi: 101131501 Bole: 101131601 karamay: 101130201 Lhasa: 101140101 Shannan: 101140301 Ali : 101140701 qamdo: 101140501:101140601 Shigatse: 101140201 Linzhi: 101140401 Taipei County: 101340101 Kaohsiung: 101340201 Taichung: 101340401 Haikou: 1,013,101,013 Asia : 101310201 Orient: 101310202 Lingao: 101310203 Chengmai: 101310204 Zhanzhou: 101310205 changjiang: 101310206 white sand: 101310207 qiongzhong: 101310208 Dingan: 101310209 Tunchang : 101310210 Qionghai: 101310211 wenchang: 101310212 Baoting: 1,013,102,140,000 ning: 101310215 Lingshui: 101310216 xisha: 101310217 Nansha Island: 101310220 Ledong: 1,013,102,215 pointing Mountain : 101310222 Qiongshan: 101310102 Changsha: 101250101 Zhuzhou: 101250301 hengyang: 101250401 Chenzhou: 101250501 changde: 101250601 yiyang: 101250700 loudi: 101250801 Shaoyang : 101250901 Yueyang: 101251001 Zhangjiajie: 101251101 huaihua: 101251201 Qian Yang: 101251301 Yongzhou: 101251401 Jishou: 101251501 Xiangtan: 101250201 Nanjing: 101190101 Zhenjiang : 101190301 Suzhou: 101190401 nantong: 101190501 Yangzhou: 101190601 Suqian: 101191301 Xuzhou: 101190801 Huaian: 101190901 Lianyungang: 101191001 Changzhou: 101191101 Taizhou : 101191201 Wuxi: 101190201 Yancheng: 101190701 Harbin:101050101 Mudanjiang: 101050301 jiamusi: 101050401 Suihua: 101050501 Heihe: 101050601 Shuangyashan: 101051301 Yichun: 101050801 daqing: 1,010,509,017 Taiwan River : 101051002 Jixi: 101051101 Hegang: 101051201 qiqihar: 101050201 daxinganling: 101050701 Changchun: 101060101 Yanji: 1,010,603,014 Ping: 101060401 Baishan : 101060901 Baicheng: 101060601 Liaoyuan: 101060701 Songyuan: 101060801 Jilin: 101060201 Tonghua: 101060501 Shenyang: 101070101 Anshan: 101070301 Fushun: 101070401 Benxi : 101070501 Dandong: 101070601 Huludao: 101071401 Yingkou: 101070801 fuxin: 101070901 Liaoyang: 101071001 Tieling: 101071101 Chaoyang: 101071201 Panjin: 101071301 Dalian : 101070201 Jinzhou: 101070701

WebService Factory Interface Http://www.36wu.com

Express Query Interface Http://webservice.36wu.com/ExpressService.asmx

IP Query Interface http://webservice.36wu.com/ipService.asmx

Weather Forecast Interface Http://webservice.36wu.com/weatherService.asmx

ID Card Query Interface http://webservice.36wu.com/IdCardService.asmx

Mobile phone attribution to the interface Http://webservice.36wu.com/MobilePhoneService.asmx

Translation Interface Http://webservice.36wu.com/TranslationService.asmx

Train Time Interface Http://webservice.36wu.com/TrainService.asmx

Stock Query Interface Http://webservice.36wu.com/StockService.asmx

Postcode interface Http://webservice.36wu.com/ZipcodeService.asmx

Two-dimensional Code Web service http://webservice.36wu.com/DimensionalCodeService.asmx

Bus Query Web Service http://webservice.36wu.com/mapService.asmx

ISBN Query Web service http://webservice.36wu.com/ISBNService.asmx

ICP Record Query Web service http://webservice.36wu.com/ICPServic.asmx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.