city_idstringrequired
City ID (from fetch_cities API)
https://api.sandbase.ai/v1/api/instagram/v1/locationsReturns a list of Instagram location points for a designated city. Filter results using the city identifier and paginate through records by page number.
[
{
"data": {
"attempts": "16",
"city_info": {
"id": "c2791472",
"name": "LosAngelesCounty",
"slug": "losangelescounty-united-states"
},
"country_info": {
"id": "US",
"name": "United States",
"slug": "united-states"
},
"location_list": [
{
"id": "1639313",
"name": "Crypto.com Arena",
"slug": "cryptocom-arena"
},
{
"id": "237788205",
"name": "The Broad",
"slug": "the-broad"
},
{
"id": "117616",
"name": "Grand Central Market",
"slug": "grand-central-market"
},
{
"id": "383203440",
"name": "Los Angeles County, California",
"slug": "los-angeles-county-california"
},
{
"id": "8443836",
"name": "Peacock Theater",
"slug": "peacock-theater"
},
{
"id": "1774116282901667",
"name": "Little Tokyo Japanese Village",
"slug": "little-tokyo-japanese-village"
},
{
"id": "3267026",
"name": "The Last Bookstore",
"slug": "the-last-bookstore"
},
{
"id": "219689501",
"name": "Los Angeles",
"slug": "los-angeles"
},
{
"id": "3824034",
"name": "Perch",
"slug": "perch"
},
{
"id": "329392",
"name": "L.A. LIVE",
"slug": "la-live"
},
{
"id": "102063831909433",
"name": "DTLA",
"slug": "dtla"
},
{
"id": "31201",
"name": "The Novo DTLA",
"slug": "the-novo-dtla"
},
{
"id": "255309150",
"name": "LA",
"slug": "la"
},
{
"id": "116446671449368",
"name": "Crypto.com Arena",
"slug": "cryptocom-arena"
},
{
"id": "196709",
"name": "Exchange LA",
"slug": "exchange-la"
},
{
"id": "966124160190465",
"name": "InterContinental Los Angeles Downtown",
"slug": "intercontinental-los-angeles-downtown"
},
{
"id": "216733793",
"name": "Pershing Square",
"slug": "pershing-square"
},
{
"id": "6406608",
"name": "The Museum of Contemporary Art",
"slug": "the-museum-of-contemporary-art"
},
{
"id": "927279246",
"name": "Youtube",
"slug": "youtube"
},
{
"id": "218338573",
"name": "Skid Row, Los Angeles",
"slug": "skid-row-los-angeles"
},
{
"id": "1136004",
"name": "JW Marriott Los Angeles L.A. LIVE",
"slug": "jw-marriott-los-angeles-la-live"
},
{
"id": "107919",
"name": "GRAMMY Museum",
"slug": "grammy-museum"
},
{
"id": "213215417",
"name": "The Biltmore Los Angeles",
"slug": "the-biltmore-los-angeles"
},
{
"id": "1028182923",
"name": "71Above",
"slug": "71above"
},
{
"id": "212947776",
"name": "The Westin Bonaventure Hotel & Suites, Los Angeles",
"slug": "the-westin-bonaventure-hotel-suites-los-angeles"
},
{
"id": "631423403713331",
"name": "Downtown Los Angeles",
"slug": "downtown-los-angeles"
},
{
"id": "1196689",
"name": "The Standard, Downtown LA",
"slug": "the-standard-downtown-la"
},
{
"id": "327124995",
"name": "Skyspace Los Angeles",
"slug": "skyspace-los-angeles"
},
{
"id": "103735111521474",
"name": "The Metaverse",
"slug": "the-metaverse"
},
{
"id": "1016225975",
"name": "DTLA",
"slug": "dtla"
},
{
"id": "213966770",
"name": "Los Angeles Downtown",
"slug": "los-angeles-downtown"
},
{
"id": "573073259883468",
"name": "JOEY DTLA",
"slug": "joey-dtla"
},
{
"id": "9764887",
"name": "Quixotic Realty",
"slug": "quixotic-realty"
},
{
"id": "300136",
"name": "La Cita Bar",
"slug": "la-cita-bar"
},
{
"id": "1015234040",
"name": "WORK",
"slug": "work"
},
{
"id": "234392304",
"name": "EightyTwo",
"slug": "eightytwo"
},
{
"id": "385370565312557",
"name": "Bottega Louie Restaurant and Gourmet Market",
"slug": "bottega-louie-restaurant-and-gourmet-market"
},
{
"id": "61989",
"name": "Little Tokyo, Los Angeles",
"slug": "little-tokyo-los-angeles"
},
{
"id": "238267209",
"name": "Rooftop Bar At Perch",
"slug": "rooftop-bar-at-perch"
},
{
"id": "819103764786995",
"name": "Precinct DTLA",
"slug": "precinct-dtla"
},
{
"id": "103104212278941",
"name": "Crypto arena",
"slug": "crypto-arena"
},
{
"id": "174006",
"name": "Los Angeles Public Library",
"slug": "los-angeles-public-library"
},
{
"id": "254762395",
"name": "New Theme",
"slug": "new-theme"
},
{
"id": "377233",
"name": "Bradbury Building",
"slug": "bradbury-building"
},
{
"id": "235863768",
"name": "Little Tokyo Japanese Village",
"slug": "little-tokyo-japanese-village"
},
{
"id": "163476232",
"name": "Eggslut",
"slug": "eggslut"
},
{
"id": "1150604388377321",
"name": "Downtown L.A.",
"slug": "downtown-la"
},
{
"id": "31460",
"name": "The Rooftop at The Standard, Downtown LA",
"slug": "the-rooftop-at-the-standard-downtown-la"
},
{
"id": "10387356",
"name": "Globe Theatre",
"slug": "globe-theatre"
},
{
"id": "1028467791",
"name": "Staples Center",
"slug": "staples-center"
},
{
"id": "1031515432",
"name": "LA-Downtown",
"slug": "la-downtown"
},
{
"id": "425719639",
"name": "Hotel Figueroa",
"slug": "hotel-figueroa"
},
{
"id": "192084931607237",
"name": "The Broad Museum",
"slug": "the-broad-museum"
},
{
"id": "22930",
"name": "Angels Flight Railway",
"slug": "angels-flight-railway"
},
{
"id": "225026277",
"name": "Clifton's Republic",
"slug": "cliftons-republic"
},
{
"id": "128686430640148",
"name": "The Regent",
"slug": "the-regent"
},
{
"id": "251806862",
"name": "Nobu",
"slug": "nobu"
},Select an example to load its inputs and result into the playground.
Query location listings across Instagram by supplying a city_id. Supports pagination via the page parameter.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"city_id": "<city_id>"}'
| Name | Type | Required | Description |
|---|---|---|---|
city_id | string | Yes | City ID (from fetch_cities API) |
page | integer | No | Page number, default 1 |
city_id from the city search endpoint.page, which defaults to 1.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Start building
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/locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"city_id": "c2791472"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
city_idstringrequiredCity ID (from fetch_cities API)
pageintegerPage number, default 1
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"attempts": "16",
"city_info": {
"id": "c2791472",
"name": "LosAngelesCounty",
"slug": "losangelescounty-united-states"
},
"country_info": {
"id": "US",
"name": "United States",
"slug": "united-states"
},
"location_list": [
{
"id": "1639313",
"name": "Crypto.com Arena",
"slug": "cryptocom-arena"
},
{
"id": "237788205",
"name": "The Broad",
"slug": "the-broad"
},
{
"id": "117616",
"name": "Grand Central Market",
"slug": "grand-central-market"
},
{
"id": "383203440",
"name": "Los Angeles County, California",
"slug": "los-angeles-county-california"
},
{
"id": "8443836",
"name": "Peacock Theater",
"slug": "peacock-theater"
},
{
"id": "1774116282901667",
"name": "Little Tokyo Japanese Village",
"slug": "little-tokyo-japanese-village"
},
{
"id": "3267026",
"name": "The Last Bookstore",
"slug": "the-last-bookstore"
},
{
"id": "219689501",
"name": "Los Angeles",
"slug": "los-angeles"
},
{
"id": "3824034",
"name": "Perch",
"slug": "perch"
},
{
"id": "329392",
"name": "L.A. LIVE",
"slug": "la-live"
},
{
"id": "102063831909433",
"name": "DTLA",
"slug": "dtla"
},
{
"id": "31201",
"name": "The Novo DTLA",
"slug": "the-novo-dtla"
},
{
"id": "255309150",
"name": "LA",
"slug": "la"
},
{
"id": "116446671449368",
"name": "Crypto.com Arena",
"slug": "cryptocom-arena"
},
{
"id": "196709",
"name": "Exchange LA",
"slug": "exchange-la"
},
{
"id": "966124160190465",
"name": "InterContinental Los Angeles Downtown",
"slug": "intercontinental-los-angeles-downtown"
},
{
"id": "216733793",
"name": "Pershing Square",
"slug": "pershing-square"
},
{
"id": "6406608",
"name": "The Museum of Contemporary Art",
"slug": "the-museum-of-contemporary-art"
},
{
"id": "927279246",
"name": "Youtube",
"slug": "youtube"
},
{
"id": "218338573",
"name": "Skid Row, Los Angeles",
"slug": "skid-row-los-angeles"
},
{
"id": "1136004",
"name": "JW Marriott Los Angeles L.A. LIVE",
"slug": "jw-marriott-los-angeles-la-live"
},
{
"id": "107919",
"name": "GRAMMY Museum",
"slug": "grammy-museum"
},
{
"id": "213215417",
"name": "The Biltmore Los Angeles",
"slug": "the-biltmore-los-angeles"
},
{
"id": "1028182923",
"name": "71Above",
"slug": "71above"
},
{
"id": "212947776",
"name": "The Westin Bonaventure Hotel & Suites, Los Angeles",
"slug": "the-westin-bonaventure-hotel-suites-los-angeles"
},
{
"id": "631423403713331",
"name": "Downtown Los Angeles",
"slug": "downtown-los-angeles"
},
{
"id": "1196689",
"name": "The Standard, Downtown LA",
"slug": "the-standard-downtown-la"
},
{
"id": "327124995",
"name": "Skyspace Los Angeles",
"slug": "skyspace-los-angeles"
},
{
"id": "103735111521474",
"name": "The Metaverse",
"slug": "the-metaverse"
},
{
"id": "1016225975",
"name": "DTLA",
"slug": "dtla"
},
{
"id": "213966770",
"name": "Los Angeles Downtown",
"slug": "los-angeles-downtown"
},
{
"id": "573073259883468",
"name": "JOEY DTLA",
"slug": "joey-dtla"
},
{
"id": "9764887",
"name": "Quixotic Realty",
"slug": "quixotic-realty"
},
{
"id": "300136",
"name": "La Cita Bar",
"slug": "la-cita-bar"
},
{
"id": "1015234040",
"name": "WORK",
"slug": "work"
},
{
"id": "234392304",
"name": "EightyTwo",
"slug": "eightytwo"
},
{
"id": "385370565312557",
"name": "Bottega Louie Restaurant and Gourmet Market",
"slug": "bottega-louie-restaurant-and-gourmet-market"
},
{
"id": "61989",
"name": "Little Tokyo, Los Angeles",
"slug": "little-tokyo-los-angeles"
},
{
"id": "238267209",
"name": "Rooftop Bar At Perch",
"slug": "rooftop-bar-at-perch"
},
{
"id": "819103764786995",
"name": "Precinct DTLA",
"slug": "precinct-dtla"
},
{
"id": "103104212278941",
"name": "Crypto arena",
"slug": "crypto-arena"
},
{
"id": "174006",
"name": "Los Angeles Public Library",
"slug": "los-angeles-public-library"
},
{
"id": "254762395",
"name": "New Theme",
"slug": "new-theme"
},
{
"id": "377233",
"name": "Bradbury Building",
"slug": "bradbury-building"
},
{
"id": "235863768",
"name": "Little Tokyo Japanese Village",
"slug": "little-tokyo-japanese-village"
},
{
"id": "163476232",
"name": "Eggslut",
"slug": "eggslut"
},
{
"id": "1150604388377321",
"name": "Downtown L.A.",
"slug": "downtown-la"
},
{
"id": "31460",
"name": "The Rooftop at The Standard, Downtown LA",
"slug": "the-rooftop-at-the-standard-downtown-la"
},
{
"id": "10387356",
"name": "Globe Theatre",
"slug": "globe-theatre"
},
{
"id": "1028467791",
"name": "Staples Center",
"slug": "staples-center"
},
{
"id": "1031515432",
"name": "LA-Downtown",
"slug": "la-downtown"
},
{
"id": "425719639",
"name": "Hotel Figueroa",
"slug": "hotel-figueroa"
},
{
"id": "192084931607237",
"name": "The Broad Museum",
"slug": "the-broad-museum"
},
{
"id": "22930",
"name": "Angels Flight Railway",
"slug": "angels-flight-railway"
},
{
"id": "225026277",
"name": "Clifton's Republic",
"slug": "cliftons-republic"
},
{
"id": "128686430640148",
"name": "The Regent",
"slug": "the-regent"
},
{
"id": "251806862",
"name": "Nobu",
"slug": "nobu"
},
{
"id": "640628799747360",
"name": "Fixins Soul Kitchen",
"slug": "fixins-soul-kitchen"
},
{
"id": "108918107526265",
"name": "Mochinut",
"slug": "mochinut"
},
{
"id": "213361099",
"name": "Yard House",
"slug": "yard-house"
},
{
"id": "246392348787604",
"name": "Angel City Brewery",
"slug": "angel-city-brewery"
},
{
"id": "345579",
"name": "Conga Room",
"slug": "conga-room"
},
{
"id": "2204409",
"name": "Seven Grand",
"slug": "seven-grand"
},
{
"id": "4817825",
"name": "FIGat7th",
"slug": "figat7th"
},
{
"id": "245992044009408",
"name": "Bacari Silverlake",
"slug": "bacari-silverlake"
},
{
"id": "230196224157067",
"name": "Spire 73",
"slug": "spire-73"
},
{
"id": "652145",
"name": "Gold's Gym Downtown La",
"slug": "golds-gym-downtown-la"
},
{
"id": "102053372333816",
"name": "Reality Show Aldo Silva",
"slug": "reality-show-aldo-silva"
},
{
"id": "475606634",
"name": "Mrs. Fish",
"slug": "mrs-fish"
},
{
"id": "263522",
"name": "Los Angeles Athletic Club",
"slug": "los-angeles-athletic-club"
},
{
"id": "143029682882910",
"name": "Broken Shaker at Freehand Los Angeles",
"slug": "broken-shaker-at-freehand-los-angeles"
},
{
"id": "513097043",
"name": "Redbird",
"slug": "redbird"
},
{
"id": "217087308",
"name": "Los Angeles Center Studios",
"slug": "los-angeles-center-studios"
},
{
"id": "70781861",
"name": "VIP Suite at Staples Center",
"slug": "vip-suite-at-staples-center"
},
{
"id": "95857",
"name": "The Original Pantry Cafe",
"slug": "the-original-pantry-cafe"
},
{
"id": "563975906",
"name": "Downtown LA",
"slug": "downtown-la"
},
{
"id": "1836243869973106",
"name": "Little Damage",
"slug": "little-damage"
},
{
"id": "946016547",
"name": "The Bellwether",
"slug": "the-bellwether"
},
{
"id": "157591",
"name": "Jewelry District Downtown LA",
"slug": "jewelry-district-downtown-la"
},
{
"id": "1255784171206374",
"name": "Hotel Indigo Los Angeles Downtown",
"slug": "hotel-indigo-los-angeles-downtown"
},
{
"id": "640985660",
"name": "Le Petit Paris - L.A.",
"slug": "le-petit-paris-la"
},
{
"id": "1016970991",
"name": "Infinity Mirrored Room at The Broad",
"slug": "infinity-mirrored-room-at-the-broad"
},
{
"id": "677627",
"name": "The Redwood Bar",
"slug": "the-redwood-bar"
},
{
"id": "463682",
"name": "Takami Sushi & Robata",
"slug": "takami-sushi-robata"
},
{
"id": "591029054407097",
"name": "The Broad Museum At Downtown Los Angeles",
"slug": "the-broad-museum-at-downtown-los-angeles"
},
{
"id": "220347561",
"name": "LA Lakers Game @ Staples Center",
"slug": "la-lakers-game-staples-center"
},
{
"id": "220197834",
"name": "Cecil Hotel (Los Angeles)",
"slug": "cecil-hotel-los-angeles"
},
{
"id": "1013592292035449",
"name": "Freehand Los Angeles",
"slug": "freehand-los-angeles"
},
{
"id": "601830106",
"name": "Fogo de Chão",
"slug": "fogo-de-chao"
},
{
"id": "285819627",
"name": "Las Perlas",
"slug": "las-perlas"
},
{
"id": "419534738",
"name": "Worldwide",
"slug": "worldwide"
},
{
"id": "103594711085162",
"name": "Alamo Drafthouse CinemaLos Angeles DTLA",
"slug": "alamo-drafthouse-cinemalos-angeles-dtla"
},
{
"id": "259008177",
"name": "The Majestic Downtown",
"slug": "the-majestic-downtown"
},
{
"id": "212982816",
"name": "Downtown Los Angeles",
"slug": "downtown-los-angeles"
},
{
"id": "613771553",
"name": "Los Angeles Theatre",
"slug": "los-angeles-theatre"
},
{
"id": "1910580365863214",
"name": "San Fernando Valley",
"slug": "san-fernando-valley"
}
],
"next_page": 2,
"status": "ok"
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Instagram City LocationsThis API Instagram | $0.0015 per call | JSON |
Instagram | $0.0015 per call | JSON |
Instagram | $0.0015 per call | JSON |
Instagram | $0.0015 per call | JSON |
Instagram | $0.0015 per call | JSON |
Instagram | $0.0015 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/instagram/v1/locations 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.
$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.
Required: city_id (string). Optional: page (integer). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous).
No. Instagram City Locations 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.