Skip to main content
GET
/
v1
/
instagram
/
fetch_cities
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/instagram/fetch_cities?country_code=US&page=1' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "country_info": {
      "id": "US",
      "name": "United States",
      "slug": "united-states"
    },
    "city_list": [
      {
        "id": "c2753900",
        "name": "Downtown-PennQuarter-Chinatown",
        "slug": "downtown-pennquarter-chinatown-united-states"
      },
      {
        "id": "c2728343",
        "name": "CivicCenter",
        "slug": "civiccenter-united-states"
      },
      {
        "id": "c2420379",
        "name": "LosAngeles",
        "slug": "losangeles-united-states"
      },
      {
        "id": "c2767424",
        "name": "Discovery",
        "slug": "discovery-united-states"
      },
      {
        "id": "c2438177",
        "name": "Chicago",
        "slug": "chicago-united-states"
      },
      {
        "id": "c2728325",
        "name": "MidtownEast",
        "slug": "midtowneast-united-states"
      },
      {
        "id": "c2728328",
        "name": "TheaterDistrict",
        "slug": "theaterdistrict-united-states"
      },
      {
        "id": "c2513785",
        "name": "United",
        "slug": "united-united-states"
      },
      {
        "id": "c2728320",
        "name": "GarmentDistrict",
        "slug": "garmentdistrict-united-states"
      },
      {
        "id": "c2731353",
        "name": "TheStrip",
        "slug": "thestrip-united-states"
      },
      {
        "id": "c2728334",
        "name": "FinancialDistrict",
        "slug": "financialdistrict-united-states"
      },
      {
        "id": "c2791472",
        "name": "LosAngelesCounty",
        "slug": "losangelescounty-united-states"
      },
      {
        "id": "c2527622",
        "name": "Houston",
        "slug": "houston-united-states"
      },
      {
        "id": "c2728134",
        "name": "Koreatown,Manhattan",
        "slug": "koreatownmanhattan-united-states"
      },
      {
        "id": "c2731060",
        "name": "NearNorthSide",
        "slug": "nearnorthside-united-states"
      },
      {
        "id": "c2728404",
        "name": "Harlem",
        "slug": "harlem-united-states"
      },
      {
        "id": "c2490299",
        "name": "NewYork",
        "slug": "newyork-united-states"
      },
      {
        "id": "c2728378",
        "name": "Chelsea",
        "slug": "chelsea-united-states"
      },
      {
        "id": "c2750043",
        "name": "WashingtonMall",
        "slug": "washingtonmall-united-states"
      },
      {
        "id": "c2732907",
        "name": "Hollywood",
        "slug": "hollywood-united-states"
      },
      {
        "id": "c2731968",
        "name": "DowntownLosAngeles",
        "slug": "downtownlosangeles-united-states"
      },
      {
        "id": "c2728335",
        "name": "UpperEastSide",
        "slug": "uppereastside-united-states"
      },
      {
        "id": "c2728409",
        "name": "NoMad",
        "slug": "nomad-united-states"
      },
      {
        "id": "c2731049",
        "name": "TheLoop",
        "slug": "theloop-united-states"
      },
      {
        "id": "c2740811",
        "name": "DowntownAustin",
        "slug": "downtownaustin-united-states"
      },
      {
        "id": "c2732983",
        "name": "Williamsburg",
        "slug": "williamsburg-united-states"
      },
      {
        "id": "c2767920",
        "name": "SouthDowntown",
        "slug": "southdowntown-united-states"
      },
      {
        "id": "c2417987",
        "name": "BeverlyHills",
        "slug": "beverlyhills-united-states"
      },
      {
        "id": "c2733038",
        "name": "DupontCircle",
        "slug": "dupontcircle-united-states"
      },
      {
        "id": "c2732822",
        "name": "FinancialDistrict",
        "slug": "financialdistrict-united-states"
      },
      {
        "id": "c2728345",
        "name": "UpperWestSide",
        "slug": "upperwestside-united-states"
      },
      {
        "id": "c2728405",
        "name": "MurrayHill",
        "slug": "murrayhill-united-states"
      },
      {
        "id": "c2733075",
        "name": "DowntownDenver",
        "slug": "downtowndenver-united-states"
      },
      {
        "id": "c2526493",
        "name": "Dallas",
        "slug": "dallas-united-states"
      },
      {
        "id": "c2774689",
        "name": "DowntownLasVegas",
        "slug": "downtownlasvegas-united-states"
      },
      {
        "id": "c2763505",
        "name": "WilshireCenter-Koreatown",
        "slug": "wilshirecenter-koreatown-united-states"
      },
      {
        "id": "c3003304",
        "name": "GovernmentCenter",
        "slug": "governmentcenter-united-states"
      },
      {
        "id": "c3004281",
        "name": "CentralBusinessDistrict",
        "slug": "centralbusinessdistrict-united-states"
      },
      {
        "id": "c2731130",
        "name": "WestTown",
        "slug": "westtown-united-states"
      },
      {
        "id": "c2728402",
        "name": "SoHo",
        "slug": "soho-united-states"
      },
      {
        "id": "c2486989",
        "name": "Astoria",
        "slug": "astoria-united-states"
      },
      {
        "id": "c2728411",
        "name": "FlatironDistrict",
        "slug": "flatirondistrict-united-states"
      },
      {
        "id": "c2488566",
        "name": "Flushing",
        "slug": "flushing-united-states"
      },
      {
        "id": "c2529068",
        "name": "Palestine",
        "slug": "palestine-united-states"
      },
      {
        "id": "c2728399",
        "name": "WestVillage",
        "slug": "westvillage-united-states"
      },
      {
        "id": "c2728363",
        "name": "HellsKitchen,Manhattan",
        "slug": "hellskitchenmanhattan-united-states"
      },
      {
        "id": "c2733115",
        "name": "CivicCenter",
        "slug": "civiccenter-united-states"
      },
      {
        "id": "c2422042",
        "name": "ShermanOaks",
        "slug": "shermanoaks-united-states"
      },
      {
        "id": "c2734060",
        "name": "DowntownSanAntonio",
        "slug": "downtownsanantonio-united-states"
      },
      {
        "id": "c2727918",
        "name": "Paradise",
        "slug": "paradise-united-states"
      },
      {
        "id": "c2732375",
        "name": "LincolnPark",
        "slug": "lincolnpark-united-states"
      },
      {
        "id": "c2728415",
        "name": "UnionSquare",
        "slug": "unionsquare-united-states"
      },
      {
        "id": "c2734409",
        "name": "AvenueoftheArtsSouth",
        "slug": "avenueoftheartssouth-united-states"
      },
      {
        "id": "c2464828",
        "name": "Boston",
        "slug": "boston-united-states"
      },
      {
        "id": "c2443073",
        "name": "Morocco",
        "slug": "morocco-united-states"
      },
      {
        "id": "c2731115",
        "name": "NearWestSide",
        "slug": "nearwestside-united-states"
      },
      {
        "id": "c2703669",
        "name": "LongIslandCity",
        "slug": "longislandcity-united-states"
      },
      {
        "id": "c2422816",
        "name": "WestHollywood",
        "slug": "westhollywood-united-states"
      },
      {
        "id": "c2542527",
        "name": "Seattle",
        "slug": "seattle-united-states"
      },
      {
        "id": "c2427178",
        "name": "WashingtonD.C.",
        "slug": "washingtondc-united-states"
      },
      {
        "id": "c2413713",
        "name": "Phoenix",
        "slug": "phoenix-united-states"
      },
      {
        "id": "c2733705",
        "name": "CrownHeights",
        "slug": "crownheights-united-states"
      },
      {
        "id": "c2422661",
        "name": "VanNuys",
        "slug": "vannuys-united-states"
      },
      {
        "id": "c2998972",
        "name": "NewYorkCounty",
        "slug": "newyorkcounty-united-states"
      },
      {
        "id": "c2418269",
        "name": "CaliforniaCity",
        "slug": "californiacity-united-states"
      },
      {
        "id": "c2732895",
        "name": "Pinedale",
        "slug": "pinedale-united-states"
      },
      {
        "id": "c2732382",
        "name": "DowntownDetroit",
        "slug": "downtowndetroit-united-states"
      },
      {
        "id": "c2728365",
        "name": "WashingtonHeights,Manhattan",
        "slug": "washingtonheightsmanhattan-united-states"
      },
      {
        "id": "c2732440",
        "name": "EastHollywood",
        "slug": "easthollywood-united-states"
      },
      {
        "id": "c2492610",
        "name": "Woodside",
        "slug": "woodside-united-states"
      },
      {
        "id": "c2418944",
        "name": "Downey",
        "slug": "downey-united-states"
      },
      {
        "id": "c2505639",
        "name": "Portland",
        "slug": "portland-united-states"
      },
      {
        "id": "c2703980",
        "name": "Manhattan",
        "slug": "manhattan-united-states"
      },
      {
        "id": "c2731254",
        "name": "Midwood",
        "slug": "midwood-united-states"
      },
      {
        "id": "c2728327",
        "name": "GreenwichVillage",
        "slug": "greenwichvillage-united-states"
      },
      {
        "id": "c2756885",
        "name": "SouthBeach",
        "slug": "southbeach-united-states"
      },
      {
        "id": "c2421002",
        "name": "Northridge",
        "slug": "northridge-united-states"
      },
      {
        "id": "c2728412",
        "name": "NoHo",
        "slug": "noho-united-states"
      },
      {
        "id": "c2732408",
        "name": "SunsetPark",
        "slug": "sunsetpark-united-states"
      },
      {
        "id": "c2743520",
        "name": "DoralPlaza",
        "slug": "doralplaza-united-states"
      },
      {
        "id": "c2732071",
        "name": "Sawtelle",
        "slug": "sawtelle-united-states"
      },
      {
        "id": "c2732172",
        "name": "DowntownHouston",
        "slug": "downtownhouston-united-states"
      },
      {
        "id": "c2731105",
        "name": "BoroughPark",
        "slug": "boroughpark-united-states"
      },
      {
        "id": "c2731768",
        "name": "Waikiki",
        "slug": "waikiki-united-states"
      },
      {
        "id": "c2764510",
        "name": "WoodlandHills-WarnerCenter",
        "slug": "woodlandhills-warnercenter-united-states"
      },
      {
        "id": "c2421846",
        "name": "SanJose",
        "slug": "sanjose-united-states"
      },
      {
        "id": "c2728344",
        "name": "Tribeca",
        "slug": "tribeca-united-states"
      },
      {
        "id": "c2769818",
        "name": "DowntownSantaMonica",
        "slug": "downtownsantamonica-united-states"
      },
      {
        "id": "c2731957",
        "name": "Gulfton",
        "slug": "gulfton-united-states"
      },
      {
        "id": "c2732198",
        "name": "Greenpoint",
        "slug": "greenpoint-united-states"
      },
      {
        "id": "c2757578",
        "name": "Westchase",
        "slug": "westchase-united-states"
      },
      {
        "id": "c2498913",
        "name": "Columbus",
        "slug": "columbus-united-states"
      },
      {
        "id": "c2419135",
        "name": "Encino",
        "slug": "encino-united-states"
      },
      {
        "id": "c2732837",
        "name": "KearnyMesa",
        "slug": "kearnymesa-united-states"
      },
      {
        "id": "c2772370",
        "name": "DowntownSanFrancisco",
        "slug": "downtownsanfrancisco-united-states"
      },
      {
        "id": "c2527654",
        "name": "Humble",
        "slug": "humble-united-states"
      }
    ],
    "next_page": 2,
    "status": "ok",
    "attempts": "1"
  },
  "requestId": "c4c6d2e8-da04-4c82-9240-ae6edf85e181"
}
πŸͺ™2 creditsper request

Copy for AI

πŸ€– Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

country_code
string
required

Country code, e.g., US, CN, JP

page
integer
default:1

Page number, default is 1

Required range: x >= 1

Response

The response is of type object.