Platforms · Instagram

Instagram Search Location Scraper API

Searches Instagram locations by keyword. Returns matching places, each with location.pk, a name, and coordinates, plus a display title and subtitle. There is no location.id. location.facebook_places_id is another identifier for the same place.

GET /api/v1/data/instagram/search-location · 5 credits per call · The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Inputs

  • query (required): Search keyword or phrase to find Instagram locations.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • items[].location (object): The location.
  • items[].location.address (string): The street address. Empty when the location has none.
  • items[].location.city (string): The city, or null when the location has none.
  • items[].location.external_source (string): Where the location comes from, such as `facebook_places`.
  • items[].location.facebook_places_id (number): The location's id on Facebook.
  • items[].location.has_viewer_saved (boolean): Whether the viewing account saved the location.
  • items[].location.lat (number): The latitude, in degrees.
  • items[].location.lng (number): The longitude, in degrees.
  • items[].location.name (string): The location name.
  • items[].location.pk (number): The location's id on Instagram.
  • items[].location.short_name (string): A shorter name for the location.
  • items[].subtitle (string): The location's area. Empty when Instagram gives none.
  • items[].title (string): The location name as Instagram titles it.
  • source_data (object): Everything the platform sent for this call, as it came.

Good to know

  • Each call costs 5 credits. A call that finds nothing, or fails, is free.
  • The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Example call

GET /api/v1/data/instagram/search-location?query=Paris

Questions

How much does the Instagram Search Location API cost?

Each call costs 5 credits. A call that finds nothing, or fails, costs nothing.

What do I send?

You must send query. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How fresh is the data?

The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Do I need an Instagram account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related Instagram endpoints

  • Search: Search Instagram accounts, hashtags, and places. 1 credit a call
  • Search Hashtag: Instagram Search hashtag. 1 credit a page
  • Search Mentions: Search Instagram posts that tag or mention an account. 1 credit a page
  • Search Music: Search Instagram music. 5 credits a page
  • Search Popular: Search popular Instagram posts. 1 credit a page
  • Search Profiles: Search Instagram profiles by keyword. 1 credit a page

More Instagram scraper APIs