Instagram Cities by Country
https://api.sandbase.ai/v1/api/instagram/v1/citiesReturns a list of Instagram cities and regions for a specified country code. Allows developers to look up location identifiers by passing pagination parameters.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 1 optional
Try the model
Playground
[
{
"data": {
"attempts": "24",
"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": "c2728404",
"name": "Harlem",
"slug": "harlem-united-states"
},
{
"id": "c2731060",
"name": "NearNorthSide",
"slug": "nearnorthside-united-states"
},
{
"id": "c2490299",
"name": "NewYork",
"slug": "newyork-united-states"
},
{
"id": "c2728378",
"name": "Chelsea",
"slug": "chelsea-united-states"
},
{
"id": "c2732907",
"name": "Hollywood",
"slug": "hollywood-united-states"
},
{
"id": "c2750043",
"name": "WashingtonMall",
"slug": "washingtonmall-united-states"
},
{
"id": "c2731968",
"name": "DowntownLosAngeles",
"slug": "downtownlosangeles-united-states"
},
{
"id": "c2728335",
"name": "UpperEastSide",
"slug": "uppereastside-united-states"
},
{
"id": "c2731049",
"name": "TheLoop",
"slug": "theloop-united-states"
},
{
"id": "c2728409",
"name": "NoMad",
"slug": "nomad-united-states"
},
{
"id": "c2740811",
"name": "DowntownAustin",
"slug": "downtownaustin-united-states"
},
{
"id": "c2732983",
"name": "Williamsburg",
"slug": "williamsburg-united-states"
},
{
"id": "c2417987",
"name": "BeverlyHills",
"slug": "beverlyhills-united-states"
},
{
"id": "c2767920",
"name": "SouthDowntown",
"slug": "southdowntown-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": "c2731130",
"name": "WestTown",
"slug": "westtown-united-states"
},
{
"id": "c3003304",
"name": "GovernmentCenter",
"slug": "governmentcenter-united-states"
},
{
"id": "c2486989",
"name": "Astoria",
"slug": "astoria-united-states"
},
{
"id": "c3004281",
"name": "CentralBusinessDistrict",
"slug": "centralbusinessdistrict-united-states"
},
{
"id": "c2728402",
"name": "SoHo",
"slug": "soho-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": "c2732375",
"name": "LincolnPark",
"slug": "lincolnpark-united-states"
},
{
"id": "c2728363",
"name": "HellsKitchen,Manhattan",
"slug": "hellskitchenmanhattan-united-states"
},
{
"id": "c2422042",
"name": "ShermanOaks",
"slug": "shermanoaks-united-states"
},
{
"id": "c2733115",
"name": "CivicCenter",
"slug": "civiccenter-united-states"
},
{
"id": "c2734060",
"name": "DowntownSanAntonio",
"slug": "downtownsanantonio-united-states"
},
{
"id": "c2727918",
"name": "Paradise",
"slug": "paradise-united-states"
},
{
"id": "c2728415",
"name": "UnionSquare",
"slug": "unionsquare-united-states"
},
{
"id": "c2731115",
"name": "NearWestSide",
"slug": "nearwestside-united-states"
},
{
"id": "c2734409",
"name": "AvenueoftheArtsSouth",
"slug": "avenueoftheartssouth-united-states"
},
{
"id": "c2464828",
"name": "Boston",
"slug": "boston-united-states"
},
{
"id": "c2703669",
"name": "LongIslandCity",
"slug": "longislandcity-united-states"
},
{
"id": "c2443073",
"name": "Morocco",
"slug": "morocco-united-states"
},
{
"id": "c2422816",
"name": "WestHollywood",
"slug": "westhollywood-united-states"
},
{
"id": "c2427178",
"name": "WashingtonD.C.",
"slug": "washingtondc-united-states"
},Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- country_code
- string · required
- page
- integer · optional
Access
- Provider
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/instagram/v1/cities
- Authentication
- Bearer API key
API README
Instagram Cities by Country API
Look up cities and regions within a specific country by passing country_code and optional page parameters.
Use cases
- Look up Instagram city identifiers for a target country.
- Populate location filters based on country-level selections.
- Browse regional location directories page by page.
Request
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/cities" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"country_code": "US"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country_code | string | Yes | Country code, e.g. |
page | integer | No | Page number, default 1 |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"city_list": [
{
"id": "c2753900",
"name": "Downtown-PennQuarter-Chinatown"
}
]
}
Notes
- The
country_codeparameter accepts two-letter country codes such as US, CN, or JP. - Use
pagefor pagination, which defaults to 1.
Related APIs
- Instagram Hashtag Posts (V1): Returns public Instagram posts associated with a specific hashtag.
- Instagram Location Details (V1): Returns detailed metadata and profile information for a specified Instagram location using its unique identifier.
- Instagram Location Posts (V1): Returns posts tagged at a designated location.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/instagram/v1/cities" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"page": 1,
"country_code": "US"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Instagram Cities by CountryThis API Instagram | $0.0015 per call | JSON | Jul 31, 2026 |
Instagram | $0.0015 per call | JSON | Jul 31, 2026 |
Instagram | $0.0015 per call | JSON | Jul 31, 2026 |
Instagram | $0.0015 per call | JSON | Jul 31, 2026 |
Instagram | $0.0015 per call | JSON | Jul 31, 2026 |
Instagram | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Instagram Cities by Country API?
Send a POST request to https://api.sandbase.ai/v1/api/instagram/v1/cities with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Instagram Cities by Country API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Instagram Cities by Country API accept?
Required: country_code (string). Optional: page (integer). The Parameters table and the Playground on this page list every field.
What does the Instagram Cities by Country API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Instagram developer account or API key?
No. Instagram Cities by Country runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.
