Skip to content
Revadike edited this page Feb 24, 2022 · 4 revisions

GET /actions/QueryLocations/:country/:region

Rate limits

No known rate limit

Request

Authenticated: TODO

Method: GET

Host: steamcommunity.com

Path: /actions/QueryLocations/:country/:region

Variables:

Name Type Description
:country string The two-letter country code (may be omitted)
:region string The two-letter region or state code (may be omitted)

Response

200 OK

Name Type Description
[]countrycode string TODO
[]statecode string TODO
[]cityid number TODO
[]cityname string TODO

Example

GET https://steamcommunity.com/actions/QueryLocations/US/AK
[
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 59,
        "cityname": "Anchorage"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 60,
        "cityname": "Barrow"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 61,
        "cityname": "Bethel"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 62,
        "cityname": "College"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 63,
        "cityname": "Fairbanks"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 64,
        "cityname": "Homer"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 65,
        "cityname": "Juneau"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 66,
        "cityname": "Kenai"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 67,
        "cityname": "Ketchikan"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 68,
        "cityname": "Kodiak"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 69,
        "cityname": "Nome"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 70,
        "cityname": "Palmer"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 71,
        "cityname": "Sitka"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 72,
        "cityname": "Soldotna"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 73,
        "cityname": "Sterling"
    },
    {
        "countrycode": "US",
        "statecode": "AK",
        "cityid": 74,
        "cityname": "Wasilla"
    }
]
Clone this wiki locally