Hello, if you are seeking to download a JSON file containing US state and city data, complete with longitude and latitude for your app, you've come to the right place. 

In this article, we offer a link to a JSON file that includes information about states and cities. Additionally, I have included another JSON file with longitude, latitude, and state codes. You can download this sample JSON data for your application, and it is compatible with all languages such as C#, PHP, JavaScript, Python, React, Angular, etc.


[
  {
    "state_name": "Alabama",
    "cities": [
      "Birmingham",
      "Montgomery",
      "Mobile",
      "Huntsville",
      "Tuscaloosa",
      "Hoover",
      "Dothan",
      "Auburn",
      "Decatur",
      "Madison",
      "Florence",
      "Gadsden"
    ]
  },
  {
    "state_name": "Alaska",
    "cities": [
      "Anchorage"
    ]
  },
  {
    "state_name": "Arizona",
    "cities": [
      "Phoenix",
      "Tucson",
      "Mesa",
      "Chandler",
      "Glendale",
      "Scottsdale",
      "Gilbert",
      "Tempe",
      "Peoria",
      "Surprise",
      "Yuma",
      "Avondale",
      "Goodyear",
      "Flagstaff",
      "Buckeye",
      "Lake Havasu City",
      "Casa Grande",
      "Sierra Vista",
      "Maricopa",
      "Oro Valley",
      "Prescott",
      "Bullhead City",
      "Prescott Valley",
      "Marana",
      "Apache Junction"
    ]
  },
  {
    "state_name": "Arkansas",
    "cities": [
      "Little Rock",
      "Fort Smith",
      "Fayetteville",
      "Springdale",
      "Jonesboro",
      "North Little Rock",
      "Conway",
      "Rogers",
      "Pine Bluff",
      "Bentonville"
    ]
  },
  {
    "state_name": "California",
    "cities": [
      "Los Angeles",
      "San Diego",
      "San Jose",
      "San Francisco",
      "Fresno",
      "Sacramento",
      "Long Beach",
      "Oakland",
      "Bakersfield",
      "Anaheim",
      "Santa Ana",
      "Riverside",
      "Stockton",
      "Chula Vista",
      "Irvine",
      "Fremont",
      "San Bernardino",
      "Modesto",
      "Fontana",
      "Oxnard",
      "Moreno Valley",
      "Huntington Beach",
      "Glendale",
      "Santa Clarita",
      "Garden Grove",
      "Oceanside",
      "Rancho Cucamonga",
      "Santa Rosa",
      "Ontario",
      "Lancaster",
      "Elk Grove",
      "Corona",
      "Palmdale",
      "Salinas",
      "Pomona",
      "Hayward",
      "Escondido",
      "Torrance",
      "Sunnyvale",
      "Orange",
      "Fullerton",
      "Pasadena",
      "Thousand Oaks",
      "Visalia",
      "Simi Valley",
      "Concord",
      "Roseville",
      "Victorville",
      "Santa Clara",
      "Vallejo",
      "Berkeley",
      "El Monte",
      "Downey",
      "Costa Mesa",
      "Inglewood",
      "Carlsbad",
      "San Buenaventura (Ventura)",
      "Fairfield",
      "West Covina",
      "Murrieta",
      "Richmond",
      "Norwalk",
      "Antioch",
      "Temecula",
      "Burbank",
      "Daly City",
      "Rialto",
      "Santa Maria",
      "El Cajon",
      "San Mateo",
      "Clovis",
      "Compton",
      "Jurupa Valley",
      "Vista",
      "South Gate",
      "Mission Viejo",
      "Vacaville",
      "Carson",
      "Hesperia",
      "Santa Monica",
      "Westminster",
      "Redding",
      "Santa Barbara",
      "Chico",
      "Newport Beach",
      "San Leandro",
      "San Marcos",
      "Whittier",
      "Hawthorne",
      "Citrus Heights",
      "Tracy",
      "Alhambra",
      "Livermore",
      "Buena Park",
      "Menifee",
      "Hemet",
      "Lakewood",
      "Merced",
      "Chino",
      "Indio",
      "Redwood City",
      "Lake Forest",
      "Napa",
      "Tustin",
      "Bellflower",
      "Mountain View",
      "Chino Hills",
      "Baldwin Park",
      "Alameda",
      "Upland",
      "San Ramon",
      "Folsom",
      "Pleasanton",
      "Union City",
      "Perris",
      "Manteca",
      "Lynwood",
      "Apple Valley",
      "Redlands",
      "Turlock",
      "Milpitas",
      "Redondo Beach",
      "Rancho Cordova",
      "Yorba Linda",
      "Palo Alto",
      "Davis",
      "Camarillo",
      "Walnut Creek",
      "Pittsburg",
      "South San Francisco",
      "Yuba City",
      "San Clemente",
      "Laguna Niguel",
      "Pico Rivera",
      "Montebello",
      "Lodi",
      "Madera",
      "Santa Cruz",
      "La Habra",
      "Encinitas",
      "Monterey Park",
      "Tulare",
      "Cupertino",
      "Gardena",
      "National City",
      "Rocklin",
      "Petaluma",
      "Huntington Park",
      "San Rafael",
      "La Mesa",
      "Arcadia",
      "Fountain Valley",
      "Diamond Bar",
      "Woodland",
      "Santee",
      "Lake Elsinore",
      "Porterville",
      "Paramount",
      "Eastvale",
      "Rosemead",
      "Hanford",
      "Highland",
      "Brentwood",
      "Novato",
      "Colton",
      "Cathedral City",
      "Delano",
      "Yucaipa",
      "Watsonville",
      "Placentia",
      "Glendora",
      "Gilroy",
      "Palm Desert",
      "Cerritos",
      "West Sacramento",
      "Aliso Viejo",
      "Poway",
      "La Mirada",
      "Rancho Santa Margarita",
      "Cypress",
      "Dublin",
      "Covina",
      "Azusa",
      "Palm Springs",
      "San Luis Obispo",
      "Ceres",
      "San Jacinto",
      "Lincoln",
      "Newark",
      "Lompoc",
      "El Centro",
      "Danville",
      "Bell Gardens",
      "Coachella",
      "Rancho Palos Verdes",
      "San Bruno",
      "Rohnert Park",
      "Brea",
      "La Puente",
      "Campbell",
      "San Gabriel",
      "Beaumont",
      "Morgan Hill",
      "Culver City",
      "Calexico",
      "Stanton",
      "La Quinta",
      "Pacifica",
      "Montclair",
      "Oakley",
      "Monrovia",
      "Los Banos",
      "Martinez"
    ]
  },
  {
    "state_name": "Colorado",
    "cities": [
      "Denver",
      "Colorado Springs",
      "Aurora",
      "Fort Collins",
      "Lakewood",
      "Thornton",
      "Arvada",
      "Westminster",
      "Pueblo",
      "Centennial",
      "Boulder",
      "Greeley",
      "Longmont",
      "Loveland",
      "Grand Junction",
      "Broomfield",
      "Castle Rock",
      "Commerce City",
      "Parker",
      "Littleton",
      "Northglenn"
    ]
  },
  {
    "state_name": "Connecticut",
    "cities": [
      "Bridgeport",
      "New Haven",
      "Stamford",
      "Hartford",
      "Waterbury",
      "Norwalk",
      "Danbury",
      "New Britain",
      "Meriden",
      "Bristol",
      "West Haven",
      "Milford",
      "Middletown",
      "Norwich",
      "Shelton"
    ]
  },
  {
    "state_name": "Delaware",
    "cities": [
      "Wilmington",
      "Dover"
    ]
  },
  {
    "state_name": "District of Columbia",
    "cities": [
      "Washington"
    ]
  },
  {
    "state_name": "Florida",
    "cities": [
      "Jacksonville",
      "Miami",
      "Tampa",
      "Orlando",
      "St. Petersburg",
      "Hialeah",
      "Tallahassee",
      "Fort Lauderdale",
      "Port St. Lucie",
      "Cape Coral",
      "Pembroke Pines",
      "Hollywood",
      "Miramar",
      "Gainesville",
      "Coral Springs",
      "Miami Gardens",
      "Clearwater",
      "Palm Bay",
      "Pompano Beach",
      "West Palm Beach",
      "Lakeland",
      "Davie",
      "Miami Beach",
      "Sunrise",
      "Plantation",
      "Boca Raton",
      "Deltona",
      "Largo",
      "Deerfield Beach",
      "Palm Coast",
      "Melbourne",
      "Boynton Beach",
      "Lauderhill",
      "Weston",
      "Fort Myers",
      "Kissimmee",
      "Homestead",
      "Tamarac",
      "Delray Beach",
      "Daytona Beach",
      "North Miami",
      "Wellington",
      "North Port",
      "Jupiter",
      "Ocala",
      "Port Orange",
      "Margate",
      "Coconut Creek",
      "Sanford",
      "Sarasota",
      "Pensacola",
      "Bradenton",
      "Palm Beach Gardens",
      "Pinellas Park",
      "Coral Gables",
      "Doral",
      "Bonita Springs",
      "Apopka",
      "Titusville",
      "North Miami Beach",
      "Oakland Park",
      "Fort Pierce",
      "North Lauderdale",
      "Cutler Bay",
      "Altamonte Springs",
      "St. Cloud",
      "Greenacres",
      "Ormond Beach",
      "Ocoee",
      "Hallandale Beach",
      "Winter Garden",
      "Aventura"
    ]
  },
  {
    "state_name": "Georgia",
    "cities": [
      "Atlanta",
      "Columbus",
      "Augusta-Richmond County",
      "Savannah",
      "Athens-Clarke County",
      "Sandy Springs",
      "Roswell",
      "Macon",
      "Johns Creek",
      "Albany",
      "Warner Robins",
      "Alpharetta",
      "Marietta",
      "Valdosta",
      "Smyrna",
      "Dunwoody"
    ]
  },
  {
    "state_name": "Hawaii",
    "cities": [
      "Honolulu"
    ]
  },
  {
    "state_name": "Idaho",
    "cities": [
      "Boise City",
      "Nampa",
      "Meridian",
      "Idaho Falls",
      "Pocatello",
      "Caldwell",
      "Coeur d'Alene",
      "Twin Falls"
    ]
  },
  {
    "state_name": "Illinois",
    "cities": [
      "Chicago",
      "Aurora",
      "Rockford",
      "Joliet",
      "Naperville",
      "Springfield",
      "Peoria",
      "Elgin",
      "Waukegan",
      "Cicero",
      "Champaign",
      "Bloomington",
      "Arlington Heights",
      "Evanston",
      "Decatur",
      "Schaumburg",
      "Bolingbrook",
      "Palatine",
      "Skokie",
      "Des Plaines",
      "Orland Park",
      "Tinley Park",
      "Oak Lawn",
      "Berwyn",
      "Mount Prospect",
      "Normal",
      "Wheaton",
      "Hoffman Estates",
      "Oak Park",
      "Downers Grove",
      "Elmhurst",
      "Glenview",
      "DeKalb",
      "Lombard",
      "Belleville",
      "Moline",
      "Buffalo Grove",
      "Bartlett",
      "Urbana",
      "Quincy",
      "Crystal Lake",
      "Plainfield",
      "Streamwood",
      "Carol Stream",
      "Romeoville",
      "Rock Island",
      "Hanover Park",
      "Carpentersville",
      "Wheeling",
      "Park Ridge",
      "Addison",
      "Calumet City"
    ]
  },
  {
    "state_name": "Indiana",
    "cities": [
      "Indianapolis",
      "Fort Wayne",
      "Evansville",
      "South Bend",
      "Carmel",
      "Bloomington",
      "Fishers",
      "Hammond",
      "Gary",
      "Muncie",
      "Lafayette",
      "Terre Haute",
      "Kokomo",
      "Anderson",
      "Noblesville",
      "Greenwood",
      "Elkhart",
      "Mishawaka",
      "Lawrence",
      "Jeffersonville",
      "Columbus",
      "Portage"
    ]
  },
  {
    "state_name": "Iowa",
    "cities": [
      "Des Moines",
      "Cedar Rapids",
      "Davenport",
      "Sioux City",
      "Iowa City",
      "Waterloo",
      "Council Bluffs",
      "Ames",
      "West Des Moines",
      "Dubuque",
      "Ankeny",
      "Urbandale",
      "Cedar Falls"
    ]
  },
  {
    "state_name": "Kansas",
    "cities": [
      "Wichita",
      "Overland Park",
      "Kansas City",
      "Olathe",
      "Topeka",
      "Lawrence",
      "Shawnee",
      "Manhattan",
      "Lenexa",
      "Salina",
      "Hutchinson"
    ]
  },
  {
    "state_name": "Kentucky",
    "cities": [
      "Louisville/Jefferson County",
      "Lexington-Fayette",
      "Bowling Green",
      "Owensboro",
      "Covington"
    ]
  },
  {
    "state_name": "Louisiana",
    "cities": [
      "New Orleans",
      "Baton Rouge",
      "Shreveport",
      "Lafayette",
      "Lake Charles",
      "Kenner",
      "Bossier City",
      "Monroe",
      "Alexandria"
    ]
  },
  {
    "state_name": "Maine",
    "cities": [
      "Portland"
    ]
  },
  {
    "state_name": "Maryland",
    "cities": [
      "Baltimore",
      "Frederick",
      "Rockville",
      "Gaithersburg",
      "Bowie",
      "Hagerstown",
      "Annapolis"
    ]
  },
  {
    "state_name": "Massachusetts",
    "cities": [
      "Boston",
      "Worcester",
      "Springfield",
      "Lowell",
      "Cambridge",
      "New Bedford",
      "Brockton",
      "Quincy",
      "Lynn",
      "Fall River",
      "Newton",
      "Lawrence",
      "Somerville",
      "Waltham",
      "Haverhill",
      "Malden",
      "Medford",
      "Taunton",
      "Chicopee",
      "Weymouth Town",
      "Revere",
      "Peabody",
      "Methuen",
      "Barnstable Town",
      "Pittsfield",
      "Attleboro",
      "Everett",
      "Salem",
      "Westfield",
      "Leominster",
      "Fitchburg",
      "Beverly",
      "Holyoke",
      "Marlborough",
      "Woburn",
      "Chelsea"
    ]
  },
  {
    "state_name": "Michigan",
    "cities": [
      "Detroit",
      "Grand Rapids",
      "Warren",
      "Sterling Heights",
      "Ann Arbor",
      "Lansing",
      "Flint",
      "Dearborn",
      "Livonia",
      "Westland",
      "Troy",
      "Farmington Hills",
      "Kalamazoo",
      "Wyoming",
      "Southfield",
      "Rochester Hills",
      "Taylor",
      "Pontiac",
      "St. Clair Shores",
      "Royal Oak",
      "Novi",
      "Dearborn Heights",
      "Battle Creek",
      "Saginaw",
      "Kentwood",
      "East Lansing",
      "Roseville",
      "Portage",
      "Midland",
      "Lincoln Park",
      "Muskegon"
    ]
  },
  {
    "state_name": "Minnesota",
    "cities": [
      "Minneapolis",
      "St. Paul",
      "Rochester",
      "Duluth",
      "Bloomington",
      "Brooklyn Park",
      "Plymouth",
      "St. Cloud",
      "Eagan",
      "Woodbury",
      "Maple Grove",
      "Eden Prairie",
      "Coon Rapids",
      "Burnsville",
      "Blaine",
      "Lakeville",
      "Minnetonka",
      "Apple Valley",
      "Edina",
      "St. Louis Park",
      "Mankato",
      "Maplewood",
      "Moorhead",
      "Shakopee"
    ]
  },
  {
    "state_name": "Mississippi",
    "cities": [
      "Jackson",
      "Gulfport",
      "Southaven",
      "Hattiesburg",
      "Biloxi",
      "Meridian"
    ]
  },
  {
    "state_name": "Missouri",
    "cities": [
      "Kansas City",
      "St. Louis",
      "Springfield",
      "Independence",
      "Columbia",
      "Lee's Summit",
      "O'Fallon",
      "St. Joseph",
      "St. Charles",
      "St. Peters",
      "Blue Springs",
      "Florissant",
      "Joplin",
      "Chesterfield",
      "Jefferson City",
      "Cape Girardeau"
    ]
  },
  {
    "state_name": "Montana",
    "cities": [
      "Billings",
      "Missoula",
      "Great Falls",
      "Bozeman"
    ]
  },
  {
    "state_name": "Nebraska",
    "cities": [
      "Omaha",
      "Lincoln",
      "Bellevue",
      "Grand Island"
    ]
  },
  {
    "state_name": "Nevada",
    "cities": [
      "Las Vegas",
      "Henderson",
      "Reno",
      "North Las Vegas",
      "Sparks",
      "Carson City"
    ]
  },
  {
    "state_name": "New Hampshire",
    "cities": [
      "Manchester",
      "Nashua",
      "Concord"
    ]
  },
  {
    "state_name": "New Jersey",
    "cities": [
      "Newark",
      "Jersey City",
      "Paterson",
      "Elizabeth",
      "Clifton",
      "Trenton",
      "Camden",
      "Passaic",
      "Union City",
      "Bayonne",
      "East Orange",
      "Vineland",
      "New Brunswick",
      "Hoboken",
      "Perth Amboy",
      "West New York",
      "Plainfield",
      "Hackensack",
      "Sayreville",
      "Kearny",
      "Linden",
      "Atlantic City"
    ]
  },
  {
    "state_name": "New Mexico",
    "cities": [
      "Albuquerque",
      "Las Cruces",
      "Rio Rancho",
      "Santa Fe",
      "Roswell",
      "Farmington",
      "Clovis"
    ]
  },
  {
    "state_name": "New York",
    "cities": [
      "New York",
      "Buffalo",
      "Rochester",
      "Yonkers",
      "Syracuse",
      "Albany",
      "New Rochelle",
      "Mount Vernon",
      "Schenectady",
      "Utica",
      "White Plains",
      "Hempstead",
      "Troy",
      "Niagara Falls",
      "Binghamton",
      "Freeport",
      "Valley Stream"
    ]
  },
  {
    "state_name": "North Carolina",
    "cities": [
      "Charlotte",
      "Raleigh",
      "Greensboro",
      "Durham",
      "Winston-Salem",
      "Fayetteville",
      "Cary",
      "Wilmington",
      "High Point",
      "Greenville",
      "Asheville",
      "Concord",
      "Gastonia",
      "Jacksonville",
      "Chapel Hill",
      "Rocky Mount",
      "Burlington",
      "Wilson",
      "Huntersville",
      "Kannapolis",
      "Apex",
      "Hickory",
      "Goldsboro"
    ]
  },
  {
    "state_name": "North Dakota",
    "cities": [
      "Fargo",
      "Bismarck",
      "Grand Forks",
      "Minot"
    ]
  },
  {
    "state_name": "Ohio",
    "cities": [
      "Columbus",
      "Cleveland",
      "Cincinnati",
      "Toledo",
      "Akron",
      "Dayton",
      "Parma",
      "Canton",
      "Youngstown",
      "Lorain",
      "Hamilton",
      "Springfield",
      "Kettering",
      "Elyria",
      "Lakewood",
      "Cuyahoga Falls",
      "Middletown",
      "Euclid",
      "Newark",
      "Mansfield",
      "Mentor",
      "Beavercreek",
      "Cleveland Heights",
      "Strongsville",
      "Dublin",
      "Fairfield",
      "Findlay",
      "Warren",
      "Lancaster",
      "Lima",
      "Huber Heights",
      "Westerville",
      "Marion",
      "Grove City"
    ]
  },
  {
    "state_name": "Oklahoma",
    "cities": [
      "Oklahoma City",
      "Tulsa",
      "Norman",
      "Broken Arrow",
      "Lawton",
      "Edmond",
      "Moore",
      "Midwest City",
      "Enid",
      "Stillwater",
      "Muskogee"
    ]
  },
  {
    "state_name": "Oregon",
    "cities": [
      "Portland",
      "Eugene",
      "Salem",
      "Gresham",
      "Hillsboro",
      "Beaverton",
      "Bend",
      "Medford",
      "Springfield",
      "Corvallis",
      "Albany",
      "Tigard",
      "Lake Oswego",
      "Keizer"
    ]
  },
  {
    "state_name": "Pennsylvania",
    "cities": [
      "Philadelphia",
      "Pittsburgh",
      "Allentown",
      "Erie",
      "Reading",
      "Scranton",
      "Bethlehem",
      "Lancaster",
      "Harrisburg",
      "Altoona",
      "York",
      "State College",
      "Wilkes-Barre"
    ]
  },
  {
    "state_name": "Rhode Island",
    "cities": [
      "Providence",
      "Warwick",
      "Cranston",
      "Pawtucket",
      "East Providence",
      "Woonsocket"
    ]
  },
  {
    "state_name": "South Carolina",
    "cities": [
      "Columbia",
      "Charleston",
      "North Charleston",
      "Mount Pleasant",
      "Rock Hill",
      "Greenville",
      "Summerville",
      "Sumter",
      "Goose Creek",
      "Hilton Head Island",
      "Florence",
      "Spartanburg"
    ]
  },
  {
    "state_name": "South Dakota",
    "cities": [
      "Sioux Falls",
      "Rapid City"
    ]
  },
  {
    "state_name": "Tennessee",
    "cities": [
      "Memphis",
      "Nashville-Davidson",
      "Knoxville",
      "Chattanooga",
      "Clarksville",
      "Murfreesboro",
      "Jackson",
      "Franklin",
      "Johnson City",
      "Bartlett",
      "Hendersonville",
      "Kingsport",
      "Collierville",
      "Cleveland",
      "Smyrna",
      "Germantown",
      "Brentwood"
    ]
  },
  {
    "state_name": "Texas",
    "cities": [
      "Houston",
      "San Antonio",
      "Dallas",
      "Austin",
      "Fort Worth",
      "El Paso",
      "Arlington",
      "Corpus Christi",
      "Plano",
      "Laredo",
      "Lubbock",
      "Garland",
      "Irving",
      "Amarillo",
      "Grand Prairie",
      "Brownsville",
      "Pasadena",
      "McKinney",
      "Mesquite",
      "McAllen",
      "Killeen",
      "Frisco",
      "Waco",
      "Carrollton",
      "Denton",
      "Midland",
      "Abilene",
      "Beaumont",
      "Round Rock",
      "Odessa",
      "Wichita Falls",
      "Richardson",
      "Lewisville",
      "Tyler",
      "College Station",
      "Pearland",
      "San Angelo",
      "Allen",
      "League City",
      "Sugar Land",
      "Longview",
      "Edinburg",
      "Mission",
      "Bryan",
      "Baytown",
      "Pharr",
      "Temple",
      "Missouri City",
      "Flower Mound",
      "Harlingen",
      "North Richland Hills",
      "Victoria",
      "Conroe",
      "New Braunfels",
      "Mansfield",
      "Cedar Park",
      "Rowlett",
      "Port Arthur",
      "Euless",
      "Georgetown",
      "Pflugerville",
      "DeSoto",
      "San Marcos",
      "Grapevine",
      "Bedford",
      "Galveston",
      "Cedar Hill",
      "Texas City",
      "Wylie",
      "Haltom City",
      "Keller",
      "Coppell",
      "Rockwall",
      "Huntsville",
      "Duncanville",
      "Sherman",
      "The Colony",
      "Burleson",
      "Hurst",
      "Lancaster",
      "Texarkana",
      "Friendswood",
      "Weslaco"
    ]
  },
  {
    "state_name": "Utah",
    "cities": [
      "Salt Lake City",
      "West Valley City",
      "Provo",
      "West Jordan",
      "Orem",
      "Sandy",
      "Ogden",
      "St. George",
      "Layton",
      "Taylorsville",
      "South Jordan",
      "Lehi",
      "Logan",
      "Murray",
      "Draper",
      "Bountiful",
      "Riverton",
      "Roy"
    ]
  },
  {
    "state_name": "Vermont",
    "cities": [
      "Burlington"
    ]
  },
  {
    "state_name": "Virginia",
    "cities": [
      "Virginia Beach",
      "Norfolk",
      "Chesapeake",
      "Richmond",
      "Newport News",
      "Alexandria",
      "Hampton",
      "Roanoke",
      "Portsmouth",
      "Suffolk",
      "Lynchburg",
      "Harrisonburg",
      "Leesburg",
      "Charlottesville",
      "Danville",
      "Blacksburg",
      "Manassas"
    ]
  },
  {
    "state_name": "Washington",
    "cities": [
      "Seattle",
      "Spokane",
      "Tacoma",
      "Vancouver",
      "Bellevue",
      "Kent",
      "Everett",
      "Renton",
      "Yakima",
      "Federal Way",
      "Spokane Valley",
      "Bellingham",
      "Kennewick",
      "Auburn",
      "Pasco",
      "Marysville",
      "Lakewood",
      "Redmond",
      "Shoreline",
      "Richland",
      "Kirkland",
      "Burien",
      "Sammamish",
      "Olympia",
      "Lacey",
      "Edmonds",
      "Bremerton",
      "Puyallup"
    ]
  },
  {
    "state_name": "West Virginia",
    "cities": [
      "Charleston",
      "Huntington"
    ]
  },
  {
    "state_name": "Wisconsin",
    "cities": [
      "Milwaukee",
      "Madison",
      "Green Bay",
      "Kenosha",
      "Racine",
      "Appleton",
      "Waukesha",
      "Eau Claire",
      "Oshkosh",
      "Janesville",
      "West Allis",
      "La Crosse",
      "Sheboygan",
      "Wauwatosa",
      "Fond du Lac",
      "New Berlin",
      "Wausau",
      "Brookfield",
      "Greenfield",
      "Beloit"
    ]
  },
  {
    "state_name": "Wyoming",
    "cities": [
      "Cheyenne",
      "Casper"
    ]
  }
]

Download USA state and city json data with longitude and latitude

{

  "name": "United States",
  "iso3": "USA",
  "iso2": "US",
  "phone_code": "1",
  "currency": "USD",
  "currency_name": "United States dollar",
  "currency_symbol": "$",
  "latitude": "38.00000000",
  "longitude": "-97.00000000",
  "states": [
    {
      "name": "Alaska",
      "latitude": "64.20084130",
      "longitude": "-149.49367330",
      "state_code": "AK",
      "cities": [
        {
          "name": "Akutan",
          "state_code": null,
          "latitude": "54.13350000",
          "longitude": "-165.77686000"
        },
        {
          "name": "Aleutians East Borough",
          "state_code": null,
          "latitude": "54.85000000",
          "longitude": "-163.41667000"
        },
        {
          "name": "Aleutians West Census Area",
          "state_code": null,
          "latitude": "52.16298000",
          "longitude": "-174.28505000"
        },
        {
          "name": "Anchor Point",
          "state_code": null,
          "latitude": "59.77667000",
          "longitude": "-151.83139000"
        },
        {
          "name": "Anchorage",
          "state_code": null,
          "latitude": "61.21806000",
          "longitude": "-149.90028000"
        },
        {
          "name": "Anchorage Municipality",
          "state_code": null,
          "latitude": "61.16667000",
          "longitude": "-149.25056000"
        },
        {
          "name": "Badger",
          "state_code": null,
          "latitude": "64.80000000",
          "longitude": "-147.53333000"
        },
        {
          "name": "Barrow",
          "state_code": null,
          "latitude": "71.29058000",
          "longitude": "-156.78872000"
        },
        {
          "name": "Bear Creek",
          "state_code": null,
          "latitude": "60.16417000",
          "longitude": "-149.39500000"
        },
        {
          "name": "Bethel",
          "state_code": null,
          "latitude": "60.79222000",
          "longitude": "-161.75583000"
        },
        {
          "name": "Bethel Census Area",
          "state_code": null,
          "latitude": "60.75056000",
          "longitude": "-160.50056000"
        },
        {
          "name": "Big Lake",
          "state_code": null,
          "latitude": "61.52139000",
          "longitude": "-149.95444000"
        },
        {
          "name": "Bristol Bay Borough",
          "state_code": null,
          "latitude": "58.75056000",
          "longitude": "-156.83333000"
        },
        {
          "name": "Butte",
          "state_code": null,
          "latitude": "61.54222000",
          "longitude": "-149.03333000"
        },
        {
          "name": "Chevak",
          "state_code": null,
          "latitude": "61.52778000",
          "longitude": "-165.58639000"
        },
        {
          "name": "City and Borough of Wrangell",
          "state_code": null,
          "latitude": "56.41331000",
          "longitude": "-132.32009000"
        },
        {
          "name": "Cohoe",
          "state_code": null,
          "latitude": "60.36861000",
          "longitude": "-151.30639000"
        },
        {
          "name": "College",
          "state_code": null,
          "latitude": "64.85694000",
          "longitude": "-147.80278000"
        },
        {
          "name": "Cordova",
          "state_code": null,
          "latitude": "60.54320000",
          "longitude": "-145.75867000"
        },
        {
          "name": "Craig",
          "state_code": null,
          "latitude": "55.47639000",
          "longitude": "-133.14833000"
        },
        {
          "name": "Deltana",
          "state_code": null,
          "latitude": "63.87217000",
          "longitude": "-145.21773000"
        },
        {
          "name": "Denali Borough",
          "state_code": null,
          "latitude": "63.78889000",
          "longitude": "-150.19167000"
        },
        {
          "name": "Diamond Ridge",
          "state_code": null,
          "latitude": "59.67611000",
          "longitude": "-151.55750000"
        },
        {
          "name": "Dillingham",
          "state_code": null,
          "latitude": "59.03972000",
          "longitude": "-158.45750000"
        },
        {
          "name": "Dillingham Census Area",
          "state_code": null,
          "latitude": "59.76193000",
          "longitude": "-158.31848000"
        },
        {
          "name": "Dutch Harbor",
          "state_code": null,
          "latitude": "53.88980000",
          "longitude": "-166.54220000"
        },
        {
          "name": "Eagle River",
          "state_code": null,
          "latitude": "61.32139000",
          "longitude": "-149.56778000"
        },
        {
          "name": "Eielson Air Force Base",
          "state_code": null,
          "latitude": "64.66327000",
          "longitude": "-147.05442000"
        },
        {
          "name": "Elmendorf Air Force Base",
          "state_code": null,
          "latitude": "61.25703000",
          "longitude": "-149.63139000"
        },
        {
          "name": "Ester",
          "state_code": null,
          "latitude": "64.84722000",
          "longitude": "-148.01444000"
        },
        {
          "name": "Fairbanks",
          "state_code": null,
          "latitude": "64.83778000",
          "longitude": "-147.71639000"
        },
        {
          "name": "Fairbanks North Star Borough",
          "state_code": null,
          "latitude": "64.83333000",
          "longitude": "-146.41667000"
        },
        {
          "name": "Farm Loop",
          "state_code": null,
          "latitude": "61.63891000",
          "longitude": "-149.14215000"
        },
        {
          "name": "Farmers Loop",
          "state_code": null,
          "latitude": "64.90822000",
          "longitude": "-147.69866000"
        },
        {
          "name": "Fishhook",
          "state_code": null,
          "latitude": "61.74402000",
          "longitude": "-149.23613000"
        },
        {
          "name": "Fritz Creek",
          "state_code": null,
          "latitude": "59.73611000",
          "longitude": "-151.29528000"
        },
        {
          "name": "Gateway",
          "state_code": null,
          "latitude": "61.57278000",
          "longitude": "-149.24083000"
        },
        {
          "name": "Girdwood",
          "state_code": null,
          "latitude": "60.94250000",
          "longitude": "-149.16639000"
        },
        {
          "name": "Haines",
          "state_code": null,
          "latitude": "59.23595000",
          "longitude": "-135.44533000"
        },
        {
          "name": "Haines Borough",
          "state_code": null,
          "latitude": "59.25056000",
          "longitude": "-135.50056000"
        },
        {
          "name": "Healy",
          "state_code": null,
          "latitude": "63.85694000",
          "longitude": "-148.96611000"
        },
        {
          "name": "Homer",
          "state_code": null,
          "latitude": "59.64250000",
          "longitude": "-151.54940000"
        },
        {
          "name": "Hoonah-Angoon Census Area",
          "state_code": null,
          "latitude": "57.94807000",
          "longitude": "-134.94153000"
        },
        {
          "name": "Hooper Bay",
          "state_code": null,
          "latitude": "61.53111000",
          "longitude": "-166.09667000"
        },
        {
          "name": "Houston",
          "state_code": null,
          "latitude": "61.63028000",
          "longitude": "-149.81806000"
        },
        {
          "name": "Juneau",
          "state_code": null,
          "latitude": "58.30194000",
          "longitude": "-134.41972000"
        },
        {
          "name": "Kalifornsky",
          "state_code": null,
          "latitude": "60.41833000",
          "longitude": "-151.29000000"
        },
        {
          "name": "Kenai",
          "state_code": null,
          "latitude": "60.55444000",
          "longitude": "-151.25833000"
        },
        {
          "name": "Kenai Peninsula Borough",
          "state_code": null,
          "latitude": "60.41667000",
          "longitude": "-151.25056000"
        },
        {
          "name": "Ketchikan",
          "state_code": null,
          "latitude": "55.34180000",
          "longitude": "-131.64757000"
        },
        {
          "name": "Ketchikan Gateway Borough",
          "state_code": null,
          "latitude": "55.50056000",
          "longitude": "-131.41667000"
        },
        {
          "name": "King Cove",
          "state_code": null,
          "latitude": "55.06087000",
          "longitude": "-162.31853000"
        },
        {
          "name": "Knik-Fairview",
          "state_code": null,
          "latitude": "61.51262000",
          "longitude": "-149.60012000"
        },
        {
          "name": "Kodiak",
          "state_code": null,
          "latitude": "57.78852000",
          "longitude": "-152.40533000"
        },
        {
          "name": "Kodiak Island Borough",
          "state_code": null,
          "latitude": "57.33333000",
          "longitude": "-153.33333000"
        },
        {
          "name": "Kodiak Station",
          "state_code": null,
          "latitude": "57.76587000",
          "longitude": "-152.60004000"
        },
        {
          "name": "Kotzebue",
          "state_code": null,
          "latitude": "66.89846000",
          "longitude": "-162.59809000"
        },
        {
          "name": "Lake and Peninsula Borough",
          "state_code": null,
          "latitude": "57.00056000",
          "longitude": "-158.00056000"
        },
        {
          "name": "Lakes",
          "state_code": null,
          "latitude": "61.60713000",
          "longitude": "-149.30861000"
        },
        {
          "name": "Lazy Mountain",
          "state_code": null,
          "latitude": "61.62611000",
          "longitude": "-148.94556000"
        },
        {
          "name": "Matanuska-Susitna Borough",
          "state_code": null,
          "latitude": "62.50056000",
          "longitude": "-150.00556000"
        },
        {
          "name": "Meadow Lakes",
          "state_code": null,
          "latitude": "61.62472000",
          "longitude": "-149.60111000"
        },
        {
          "name": "Metlakatla",
          "state_code": null,
          "latitude": "55.12848000",
          "longitude": "-131.57519000"
        },
        {
          "name": "Nikiski",
          "state_code": null,
          "latitude": "60.69028000",
          "longitude": "-151.28889000"
        },
        {
          "name": "Nome",
          "state_code": null,
          "latitude": "64.50111000",
          "longitude": "-165.40639000"
        },
        {
          "name": "Nome Census Area",
          "state_code": null,
          "latitude": "64.83333000",
          "longitude": "-163.75056000"
        },
        {
          "name": "North Pole",
          "state_code": null,
          "latitude": "64.75111000",
          "longitude": "-147.34944000"
        },
        {
          "name": "North Slope Borough",
          "state_code": null,
          "latitude": "69.25056000",
          "longitude": "-152.00056000"
        },
        {
          "name": "Northwest Arctic Borough",
          "state_code": null,
          "latitude": "66.83333000",
          "longitude": "-161.00056000"
        },
        {
          "name": "Palmer",
          "state_code": null,
          "latitude": "61.59941000",
          "longitude": "-149.11456000"
        },
        {
          "name": "Petersburg",
          "state_code": null,
          "latitude": "56.81250000",
          "longitude": "-132.95556000"
        },
        {
          "name": "Petersburg Borough",
          "state_code": null,
          "latitude": "56.76529000",
          "longitude": "-133.19313000"
        },
        {
          "name": "Prudhoe Bay",
          "state_code": null,
          "latitude": "70.25528000",
          "longitude": "-148.33722000"
        },
        {
          "name": "Ridgeway",
          "state_code": null,
          "latitude": "60.53194000",
          "longitude": "-151.08528000"
        },
        {
          "name": "Salcha",
          "state_code": null,
          "latitude": "64.52399000",
          "longitude": "-146.90210000"
        },
        {
          "name": "Sand Point",
          "state_code": null,
          "latitude": "55.33655000",
          "longitude": "-160.49880000"
        },
        {
          "name": "Seward",
          "state_code": null,
          "latitude": "60.10426000",
          "longitude": "-149.44350000"
        },
        {
          "name": "Sitka",
          "state_code": null,
          "latitude": "57.05315000",
          "longitude": "-135.33088000"
        },
        {
          "name": "Sitka City and Borough",
          "state_code": null,
          "latitude": "57.08255000",
          "longitude": "-135.26917000"
        },
        {
          "name": "Skagway Municipality",
          "state_code": null,
          "latitude": "59.46852000",
          "longitude": "-135.30596000"
        },
        {
          "name": "Soldotna",
          "state_code": null,
          "latitude": "60.48778000",
          "longitude": "-151.05833000"
        },
        {
          "name": "Southeast Fairbanks Census Area",
          "state_code": null,
          "latitude": "63.75056000",
          "longitude": "-143.25056000"
        },
        {
          "name": "Sterling",
          "state_code": null,
          "latitude": "60.53722000",
          "longitude": "-150.76472000"
        },
        {
          "name": "Sutton-Alpine",
          "state_code": null,
          "latitude": "61.77789000",
          "longitude": "-148.76450000"
        },
        {
          "name": "Tanaina",
          "state_code": null,
          "latitude": "61.62694000",
          "longitude": "-149.42806000"
        },
        {
          "name": "Tok",
          "state_code": null,
          "latitude": "63.33667000",
          "longitude": "-142.98556000"
        },
        {
          "name": "Unalaska",
          "state_code": null,
          "latitude": "53.87413000",
          "longitude": "-166.53408000"
        },
        {
          "name": "Valdez",
          "state_code": null,
          "latitude": "61.13083000",
          "longitude": "-146.34833000"
        },
        {
          "name": "Valdez-Cordova Census Area",
          "state_code": null,
          "latitude": "61.50056000",
          "longitude": "-144.50056000"
        },
        {
          "name": "Wasilla",
          "state_code": null,
          "latitude": "61.58090000",
          "longitude": "-149.44150000"
        },
        {
          "name": "Willow",
          "state_code": null,
          "latitude": "61.74722000",
          "longitude": "-150.03750000"
        },
        {
          "name": "Wrangell",
          "state_code": null,
          "latitude": "56.47083000",
          "longitude": "-132.37667000"
        },
        {
          "name": "Y",
          "state_code": null,
          "latitude": "62.16129000",
          "longitude": "-149.85075000"
        },
        {
          "name": "Yakutat City and Borough",
          "state_code": null,
          "latitude": "59.66667000",
          "longitude": "-139.13333000"
        },
        {
          "name": "Yukon-Koyukuk Census Area",
          "state_code": null,
          "latitude": "65.70000000",
          "longitude": "-152.71667000"
        }
      ]
    }
}
This JSON file appears to represent information about the United States, specifically focusing on the state of Alaska. Let's break down the structure:

General Information about the United States:

  • "name": "United States"
  • "iso3": "USA"
  • "iso2": "US"
  • "phone_code": "1"
  • "currency": "USD"
  • "currency_name": "United States dollar"
  • "currency_symbol": "$"
  • "latitude": "38.00000000"
  • "longitude": "-97.00000000"
Information about States in Alaska:

The states are listed in an array under the key "states".
Each state has the following properties:
"name": Name of the state (e.g., "Alaska").
"latitude": Latitude of the state.
"longitude": Longitude of the state.
"state_code": Code representing the state (e.g., "AK" for Alaska).
Information about Cities in Alaska States:

Each state has an array of "cities" containing information about various cities within that state.
Each city has the following properties:
"name": Name of the city.
"latitude": Latitude of the city.
"longitude": Longitude of the city.
"state_code": Code representing the state to which the city belongs.

Example:

For the state of "Alaska," there are cities like "Akutan," "Anchorage," "Barrow," and many more. Each city has its own latitude, longitude, and state code.
This structure allows you to organize and retrieve information about the United States, its states, and cities, making it easy to navigate through geographical data.