Pharmacies in St. Petersburg, 10 places
Places with contacts, 3 reviews and 2 photos each.
Updated November 24, 2026
What this example returns
This example returns up to 10 places.
The dataset’s “Places” view shows 11 columns: Photo, Name, Category, Categories, Address, City, Phones, Websites, Rating, Reviews, and 2GIS link. See every output field.
What each setting does
The input this example runs 2GIS Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.
- Search terms
query аптека
What to look for, in any language 2GIS understands, for example Ресторан, барбершоп or dentist. Each term is searched in every location. Leave empty to browse whole categories (see Categories) or to scrape known places (see Organization IDs).
- Location
locationQuery Санкт-Петербург
A city, district, street, metro station or any place name as 2GIS knows it, for example Москва or Алматы. For several cities add the others under Search area.
- Places per search
maxItems 10
How many places to save for each search term and location. 0 means every place 2GIS returns for the search. Each search is paged to the end of the 2GIS list (a test search for Продукты in Moscow returned 8,000 places without stopping).
Default: 20 → this example uses 10
- Has a website
filterHasSite No
Only places that list a real website. A place whose only link is a social profile (Telegram, VK, WhatsApp, Instagram...) does not count.
- Has photos
filterHasPhotos No
Only places with photos.
- Has prices
filterHasGoods No
Only places that publish prices or a menu.
- Delivery
filterHomeDelivery No
Only places that deliver.
- Takeaway
filterTakeaway No
Only places with food to go.
- Pay by card
filterPaymentCard No
Only places that accept cards.
- Wi-Fi
filterWifi No
Only places with Wi-Fi for guests.
- New places
filterCreatedRecently No
Only places recently added to 2GIS.
- Add contacts
includeContacts Yes
Add phones, emails, websites and social links to each place. Charged per place that has contact details.
Default: No → this example uses Yes
- Reviews per place
maxReviewsPerPlace 3
How many reviews to save for each place. 0 skips reviews.
Default: 0 → this example uses 3
- Review order
reviewSortBy Most trusted
trust puts the most trusted reviews first, friends puts the newest first.
- Which reviews
reviewRatings All
All reviews, only positive ones (4 and 5 stars) or only negative ones (1 to 3 stars).
- Include reviews without a rating
includeUnratedReviews Yes
Also collect text-only reviews when Which reviews is All. They follow the rated ones.
- Include reviewer profile
includeReviewerData No
Add the public name, id and review count of each reviewer.
- Photos and videos per place
maxMediaPerPlace 2
How many extra photos and videos to save for each place. 0 skips them.
Default: 0 → this example uses 2
- Include photo authors
includePhotoAuthors No
Add author details to photos and videos when 2GIS provides them.
- Skip places from earlier runs
enableGlobalDataset No
Remember every place saved by runs that use this option and skip it next time, so repeated runs return only new places. Skipped places are not charged.
{
"query": [
"аптека"
],
"locationQuery": "Санкт-Петербург",
"maxItems": 10,
"includeContacts": true,
"maxReviewsPerPlace": 3,
"maxMediaPerPlace": 2,
"organizationIds": [],
"rubricIds": [],
"filterRating": "",
"filterHasSite": false,
"filterHasPhotos": false,
"filterHasGoods": false,
"filterHomeDelivery": false,
"filterTakeaway": false,
"filterPaymentCard": false,
"filterWifi": false,
"filterCreatedRecently": false,
"sortBy": "",
"reviewSortBy": "trust",
"reviewRatings": "all",
"includeUnratedReviews": true,
"includeReviewerData": false,
"includePhotoAuthors": false,
"locationQueries": [],
"cityIds": [],
"districtIds": [],
"subwayIds": [],
"buildingIds": [],
"domain": "",
"language": "",
"enableGlobalDataset": false
}What it costs
You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.
- Placefrom $0.0007652Charged once for each place saved to the dataset.
- Contactsfrom $0.000381Charged once for each saved place that includes contact details (Add contacts).
- Photo or videofrom $0.0001275Charged once for each photo or video saved with a place.
- Reviewfrom $0.0001275Charged once for each review saved with a place.
- Actor startfrom $0.007652Charged once per run.
When to use this example
From the 2GIS Scraper readme:
Known limit
The input and output use plain field names such as query, locationQuery and maxItems.
Why are phones or websites empty?
Contacts are only added when you turn on Add contacts, and only if the business listed them on 2GIS. With Has a website on, every place has a real website; social profiles (Telegram, VK and similar) go to socials and do not count as a website.
Other ways to run 2GIS Scraper
- Coffee shops in Dubai, 10 placesEnglish results from the 2GIS UAE site.
- Coffee shops in Almaty, 10 placesPlaces from the 2GIS Kazakhstan site.
- Top-rated cafes in Moscow with a website, 10 placesOnly perfectly rated places that list a website.
About 2GIS Scraper
Scrape 2GIS places by search term and location, or by link: phones, emails, websites, social links, address, coordinates, hours, rating, categories, reviews and photos.
- Price:
- From $0.765 / 1,000 results
- Developer:
- Corner Ledger
- Categories:
- Lead generation, Travel
Related actors
Latest articles
GuidesWeb Scraper Chrome Extensions: 4 Good Ones, and When to Use a Cloud Scraper
The best web scraper Chrome extensions in 2026 (Web Scraper, Instant Data Scraper, Data Miner and Evomi Web Data), what each is good at, where every extension stops, and how a cloud scraper takes over for schedules, thousands of pages and API access.
Read the article
AI agents12 Best MCP Servers in 2026: Web Data, Code, Docs and Browsers
The best MCP servers in 2026, grouped by job: web data, documentation, code, browsers, errors, databases and the official reference servers. Each with its hosted URL or install command, how it signs in, and the caveats its own README states.
Read the article
Guidesn8n Puppeteer Node: Puppeteer and Playwright in n8n Without Self-Hosting Chrome
The n8n Puppeteer node needs Chromium inside your n8n container and installs only on self-hosted n8n. How it and the Playwright nodes install, where they break, and how to run the same browser scrape on Scrape.ly from n8n instead, with a real tested run.
Read the article
The internet is full of data.
Start owning yours.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.