DEV Community

Crawler Bros
Crawler Bros

Posted on

Unlock Business Insights from 2GIS with Automated Scraping

Navigating the dynamic business landscape across countries like the UAE, Russia, and Kazakhstan requires comprehensive, up-to-date information. For businesses looking to expand, market researchers seeking local trends, or developers building location-based services, manually gathering data from directories like 2GIS can be an overwhelming task. How can you efficiently collect details on thousands of businesses – from their contact information and operating hours to customer reviews and photos – without spending countless hours on manual data entry?

This is where the Apify 2GIS Places Scraper comes in. This powerful tool automates the extraction of structured business data from 2GIS across 11 country domains, providing a streamlined solution for market analysis, lead generation, and competitive intelligence.

What is 2GIS and Why Scrape It?

2GIS is a leading mapping and business directory platform, immensely popular across Russia, the UAE, Kazakhstan, and several other countries in Eastern Europe and Central Asia. It hosts millions of detailed business listings, including restaurants, hotels, shops, and services, complete with contact information, working hours, and user reviews.

For any professional operating in or targeting these regions, 2GIS is a goldmine of local business data. Scraping 2GIS allows you to:

  • Identify new leads: Pinpoint businesses in specific categories (e.g., "restaurants," "spas," "construction companies") within target cities.
  • Conduct market research: Analyze average ratings, review sentiment, and the prevalence of different business types in a region.
  • Monitor competitors: Track the online presence, customer feedback, and service offerings of rivals.
  • Enhance location intelligence: Gather structured address data, GPS coordinates, and contact details for mapping applications or logistics planning.

The 2GIS Places Scraper simplifies this process, turning unstructured directory information into clean, actionable data.

Solving Real-World Problems with 2GIS Data

Let's explore a practical scenario: Imagine you're a marketing agency specializing in digital advertising for the hospitality sector. Your client wants to launch a campaign targeting high-rated hotels in Dubai, Almaty, and Moscow, specifically those that have a strong online presence (i.e., a website) and are currently open for business. Manually compiling a list of such hotels with their websites, phone numbers, and social media links would be incredibly time-consuming.

The 2GIS Places Scraper can automate this entire process, delivering a ready-to-use dataset for your client's campaign.

How the 2GIS Places Scraper Works

The 2GIS Places Scraper is designed to be flexible and comprehensive, allowing you to define your search parameters with precision. It can:

  • Search by URL or Query: You can provide specific 2GIS search URLs (e.g., https://2gis.ae/dubai/search/hotel) or use a combination of query (e.g., "hotel") and locationQuery (e.g., "Dubai") to specify your target.
  • Extract Extensive Details: For each place, it extracts the name, address, latitude, longitude, rating, reviewCount, categories, and workingHours.
  • Include Critical Contact Information: By setting includeContacts to true, you can fetch phones, website, emails, and socialLinks without additional API calls.
  • Filter and Sort Results: Refine your search using filterHasWebsite (to find businesses with a website, perfect for our marketing agency example), filterOpenNow, or sortBy (e.g., by rating). You can even filter by rubricIds for specific 2GIS categories.
  • Gather Richer Data (with API Key): For deeper insights, you can provide a registered 2GIS API key to includeReviews (with maxReviewsPerPlace) and includePhotos (with maxPhotosPerPlace), turning the directory into a robust source for sentiment analysis and visual content. The built-in demo key provides up to ~50 results per search for free to get you started.

Step-by-Step: Scraping Hotels in Major Cities

Let's walk through how our marketing agency can use the 2GIS Places Scraper to find high-rated hotels with websites in Dubai, Almaty, and Moscow.

  1. Go to Apify Console: Log in to your Apify account and navigate to the 2GIS Places Scraper page.
  2. Input Your Search Criteria:
    • For the locationQuery field, you'd specify your target cities: "Dubai", "Almaty", "Moscow".
    • For the query field, you'd enter: "hotel".
    • Set filterHasWebsite to true to ensure you only get listings with a website.
    • Optionally, you could set sortBy to "rating" to prioritize highly-rated establishments.
    • Since our agency needs contact details, ensure includeContacts is set to true.
  3. Run the Actor: Click the "Start" button to initiate the scraping process.
  4. Review and Download Data: Once the actor completes, you'll receive a structured dataset. Each hotel will be a JSON record containing fields like name, address, rating, reviewCount, website, phones, and socialLinks. You can then download this data in various formats like JSON, CSV, or Excel for easy integration into your client's marketing CRM or spreadsheet.

Example Output for a Single Hotel

Here's what a sample JSON record might look like for one of the hotels, showcasing the type of detailed data you'd receive:

{
"id": "70000001035586092",
"name": "Burj Al Arab Jumeirah",
"city": "Dubai",
"country": "UAE",
"address": "Jumeirah St - Umm Suqeim 3",
"latitude": 25.1415,
"longitude": 55.1852,
"categories": ["Hotel", "Luxury Hotel"],
"rating": 4.8,
"reviewCount": 5432,
"workingHours": [{"day": "Mon", "hours": [{"from": "00:00", "to": "23:59"}]}],
"phones": ["+971 4 301 7777"],
"website": "https://www.jumeirah.com/en/hotels-resorts/dubai/burj-al-arab/",
"socialLinks": {"instagram": "https://instagram.com/burjalarab", "facebook": "https://facebook.com/burjalarab"},
"url": "https://2gis.ae/dubai/firm/burj-al-arab-jumeirah/70000001035586092",
"scrapedAt": "2024-03-15T10:30:00Z"
}

This output provides all the essential information needed to reach out to the hotel, analyze its online presence, and even build targeted ad campaigns.

Beyond Hotels: Other Use Cases

The utility of the 2GIS Places Scraper extends far beyond the hospitality industry:

  • Real Estate Agencies: Scrape property management companies or construction firms in developing areas to identify partners or new listings.
  • Logistics Companies: Gather precise addresses and GPS coordinates for businesses in target cities to optimize delivery routes.
  • Financial Institutions: Analyze the distribution and density of various business types (e.g., cafes, retail stores) to assess market potential for new branches or services.
  • Government & Urban Planners: Collect data on public services, amenities, and their geographic distribution for urban development projects.
  • Developers: Power location-based applications with up-to-date business data from multiple countries.

Getting Started

The 2GIS Places Scraper is a powerful and flexible tool for anyone needing structured business data from the 2GIS directory. With its ability to handle multiple queries, filter results, and extract rich details including contacts, reviews, and photos (with a registered API key), it's an indispensable asset for various data-driven initiatives.

To begin unlocking the vast business intelligence available on 2GIS, head over to the Apify platform and try the 2GIS Places Scraper today. The built-in demo key allows you to test its capabilities with up to 50 results per search, making it easy to see the value for yourself.


Ready to try it yourself? Run *2GIS Places Scraper** on the Apify Store -- no setup required.*

Top comments (0)