Various API queries

Source: Internet
Author: User
Tags mx record

Query the actual number (IP address, mobile phone number ):
Default format: http://api.liqwei.com/location/
(Use the visitor's IP address)
Specify IP address format: http://api.liqwei.com/location? IP = 202.108.33.32 (sina ip)
Specify the phone number format: http://api.liqwei.com/location? Mobile = 13800138000 (Beijing number)
Optional parameter: JS: [JS output]; default value: 0; optional value:
Note: The format supported by UTF-8 encoding: other parameters of the http://api.liqwei.com/location/utf8/ remain unchanged;

City weather query:
Default format: http://api.liqwei.com/weather/ (using the visitor's IP address)
Specify IP address format: http://api.liqwei.com/weather? IP = 202.108.33.32 (sina ip)
Specify the phone number format: http://api.liqwei.com/weather? Mobile = 13800138000
Specify city name format: http://api.liqwei.com/weather? City = Beijing
Optional parameter: T: [predicted days]. The default value is 3. Optional values: 1, 2, and 3.
JS: [JS output]. The default value is 0. Optional values: 1 and 0.
Note: The formats supported by UTF-8 encoding are: other parameters of http://api.liqwei.com/weather/utf8/ remain unchanged;
Other services
Subscription free weather forecast SMS: http://api.liqwei.com/weather/subscription.asp (subscription address)
Http://api.liqwei.com/weather/unsubscription.asp (unsubscribe address)

Simplified and traditional Chinese character conversion and Pinyin extraction:
Query Chinese Character correspondence pinyin string: http://api.liqwei.com/chinese? Language = GB | py & content = Chinese Characters
Query Chinese pinyin initials: http://api.liqwei.com/chinese? Language = GB | Py-szm & content = Chinese Characters
Simplified Chinese to traditional Chinese:
Http://api.liqwei.com/chinese? Language = GB | big & content = simplified
Traditional Chinese Simplified Chinese: http://api.liqwei.com/chinese? Language = big | GB & content = Traditional
Halfwidth to full angle: http://api.liqwei.com/chinese? Language = BJ | Qj & content = a (only letters and numbers are allowed)
Round turn halfwidth: http://api.liqwei.com/chinese? Language = Qj | BJ & content =

Common encryption and decryption algorithms:
32-bit MD5 encryption: http://api.liqwei.com/security? MD5 = 123456 (unidirectional, irreversible)
CFS encryption: http://api.liqwei.com/security? CFS = 123456 (unidirectional, irreversible)
Base64 encoding: http://api.liqwei.com/security? Base64encode = 123456
Base64 decoding: http://api.liqwei.com/security? Base64decode = mtizndu2
Base64 encoding: http://api.liqwei.com/security? Encode = 123456 & Key = ABC (base64 encoding is used to output visible characters)
Base64 decoding difference or: http://api.liqwei.com/security? Decode = u1fsvlzx & Key = ABC
Qq/Yahoo Messager online status query:
Qq Query format: http://api.liqwei.com/messager? Qq = 20865662 (multiple numbers are separated by commas)
Yahoo Messager Query format: http://api.liqwei.com/messager? Yahoo = liqwei (excluding email domains, for example, @ Yahoo.com)
Note: query results: 1: Online, 0: offline;
Other services
Qq Customer Service Panel generator: http://api.liqwei.com/qq/

Currency exchange rate query:
The Query format: http://api.liqwei.com/currency? Exchange = CNY | USD & COUNT = 100 (100 RMB =? USD)
Currency Unit code: http://api.liqwei.com/currency/unit.asp (foreign currency exchange rate provided by Citigroup)

Domain Name DNS record query:
A record Query format: http://api.liqwei.com/dns? A = liqwei.com (corresponding IP address)
MX record Query format: http://api.liqwei.com/dns? MX = liqwei.com (that is, the corresponding email host)
NS record Query format: http://api.liqwei.com/dns? NS = liqwei.com (resolution server)

Query the host corresponding to the IP address or Domain Name:
IP Format: http://api.liqwei.com/host? IP = 202.108.33.32 (sina ip)
Domain Name format: http://api.liqwei.com/host? Domain = Sina.com

Domain name or IP address Whois Record query:
Query domain name format: http://api.liqwei.com/whois? Domain = liqwei.com (primary domain only)
Query IP address format: http://api.liqwei.com/whois? IP = 202.108.33.32 (sina ip)

Domain name or IP address Response Time query (PING ):
Query domain name format: http://api.liqwei.com/ping? Domain = liqwei.com
Query IP address format: http://api.liqwei.com/ping? IP = 202.108.33.32 (sina ip)

Domain Name Alexa ranking and Google PR value query:
Alexa ranking: http://api.liqwei.com/alexa? Domain = liqwei.com
Google PR value: http://api.liqwei.com/pr? Domain = liqwei.com

Email sending interface:
Simple: http://api.liqwei.com/email? Address = someone@domain.com & subject = title
With mail body: http://api.liqwei.com/email? Address = someone@domain.com & subject = title & content = content
Optional parameter: From: sender/sender address, fromname: sender name


Content translation interface:
The format: http://api.liqwei.com/translate? Language = ZH-CN | En & content = car
Parameter: Language: [language to be translated] | [target language encoding]. For supported language encoding, see
Google reference;
Note: the character set is gb2312. The get and post methods are supported. The content length is not limited. The Google translation API has a length limit;
The formats supported by the UTF-8 character set are: other parameters of the http://api.liqwei.com/translate/utf8/ remain unchanged;
Browser Status Report sending interface:
The format: http://api.liqwei.com/browser? Address = someone@domain.com

Parameter: Address: the email address of the Report Recipient;

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
Http://webservice.36wu.com/IdCardService.asmx ID card query interface
Mobile phone home interface http://webservice.36wu.com/MobilePhoneService.asmx
Translation http://webservice.36wu.com/TranslationService.asmx
Train time interface: http://webservice.36wu.com/TrainService.asmx
Stock query interface: http://webservice.36wu.com/StockService.asmx
Zip code interface: http://webservice.36wu.com/ZipcodeService.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.