MeteoStone's Weather API

Getting Started

First, you must have a API Key for your application. If you do not have one, you can request one here. (Note! You should be logged on site for get API Key).

As a sneak preview of the ease-of-use of the API, request the following URL in your web browser to request your own user profile: http://meteostone.com/service/?method=meteostone.getVersion&apikey=YOUR_API_KEY

You should see results like the following:

<?xml version="1.0" encoding="utf-8"?>
<mst status="ok">
    <version>1.0</version>
</mst>

To maintain backward compatibility, we have retained the older XML-based API. The older documentation can be found here.

Result Format

All API calls return an XML document. Successful API calls return an XML document of the following form:

<mst status="ok">
    ... response XML document ...
</mst>

Failed API calls return an XML document as follows:

<mst status="fail">
    <message>User is not found.</message>
</mst>

The code element provides the machine-friendly error code that your application can use to determine the error type and handle it appropriately. The description element provides you with a human-readable description of the error.