Skip to main content

Social::Instagram::Geo - Instagram posts scraper in specified location


Scraper Overview

Social::Instagram::GeoSocial::Instagram::Geo - scrapes posts from Instagram in the specified location. Allows for mass data scraping from user posts. Among the collected data are links, coordinates, phone numbers, geolocation names, etc. The full list of collected data is available in the corresponding section.

The A-Parser functionality allows you to save the settings of the Social::Instagram::Geo scraper for further use (presets), set up a scraping schedule, and much more.

Saving the results is possible in the format and structure you need, thanks to the built-in powerful templating engine Template Toolkit which allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.


The scraper uses data from an authorized account. To use the scraper, it is necessary to specify a value for the cookie option. Similar to the Social::Instagram::Profile scraper Social::Instagram::Profile.

Collected Data

  • Location identifier
  • Geolocation name
  • Phone number
  • Website link
  • Category
  • Coordinates
  • Address
  • City
  • Phone number
  • Zip code
  • Array of posts
    • Post type
    • Post link
    • Text
    • Publication date
    • Number of comments
    • Number of likes
    • Icon link
    • Height and width

Use Cases

  • Collecting posts by geolocation


As queries, it is necessary to specify a link to the geolocation, for example:

Output Results Examples

A-Parser supports flexible formatting of results thanks to the built-in templating engine Template Toolkit, which allows it to output results in any form, as well as in a structured form, for example, CSV or JSON

Default Output

Result format:

$query: $name\n$top.format('$link\n')

Result example: NYC

Result format:


Result example:

Possible Settings

ParameterDefault ValueDescription
cookieIt is necessary to specify the Cookie in advance
x-csrftokenAbility to specify x-csrftoken (if necessary)
x-ig-app-id936619743392459Ability to specify x-ig-app-id (if necessary)
Posts pages count1Number of pages with posts