locations

Get locations

  • GET /country.json will return all countries
  • GET /country/926.json will return the specified country
{
    "total": 265,
    "items": [
        {
            "id": 110,
            "text": "Afghanistan"
        },
        {
            "id": 120,
            "text": "Albania"
        }
    ]
}
  • GET /country/926/state.json will return all states for country 926
  • GET /country/926/state/13.json will return return the specified state 13 in country 926
{
    "total": 67,
    "items": [
        {
            "id": 1,
            "text": "Alabama"
        },
        {
            "id": 2,
            "text": "Alaska"
        },
        {
            "id": 71,
            "text": "American Samoa"
        },
        {
            "id": 4,
            "text": "Arizona"
        },
        {
            "id": 5,
            "text": "Arkansas"
        },
        {
            "id": 76,
            "text": "Bahamas"
        },
        {
            "id": 6,
            "text": "California"
        },
        {
            "id": 8,
            "text": "Colorado"
        }
    ]
}
  • GET /country/926/state/13/county.json will return all states for country 926
  • GET /country/926/state/13/county/159.json will return return the specified county in state 13 in country 926
{
    "total": 159,
    "page": 1,
    "records": 159,
    "rows": [
        {
            "FIPS": 13001,
            "LongitudeCenter": -82.319207,
            "county": "Appling County",
            "latitudeCenter": 31.745647
        },
        {
            "FIPS": 13003,
            "LongitudeCenter": -82.867921,
            "county": "Atkinson County",
            "latitudeCenter": 31.301054
        },
        {
            "FIPS": 13005,
            "LongitudeCenter": -82.458418,
            "county": "Bacon County",
            "latitudeCenter": 31.553477
        },
    ]
}