getstoresbycountry

REST Endpoint: http://api.itunesapis.com/rest/getstoresbycountry/

Overview

 This method returns a listing of all the iTunes stores with their corresponding country code and store id. This information is used in some of the other methods such as rankings, ratings and reviews.

/getstoresbycountry/?

Parameter Required? Description
a Y Your API key.

Sample Call

http://api.itunesapis.com/rest/getstoresbycountry/?a=YOURAPIKEY

Result

                        
 
<result>
    <appstore>
        <storeid>143505</storeid>
        <countrycode>ar</countrycode>
        <countryname>Argentina</countryname>
    </appstore>
    <appstore>
        <storeid>143460</storeid>
        <countrycode>au</countrycode>
        <countryname>Australia</countryname>
    </appstore>
    <appstore>
        <storeid>143445</storeid>
        <countrycode>at</countrycode>
        <countryname>Austria</countryname>
    </appstore>
</result>

....
....


    
                     

Errors

All errors are reported in the following format with a description of the error.

<result>
    <error>
        ERROR MESSAGE HERE
    </error>>
</result>