Skip to content
//2GIS Scraper example\\

Pharmacies in St. Petersburg, 10 places

Places with contacts, 3 reviews and 2 photos each.

Updated October 21, 2026

Input

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 termsquery
аптека
LocationlocationQuery
Санкт-Петербург
Places per searchmaxItems
10
Has a websitefilterHasSite
No
Has photosfilterHasPhotos
No
Has pricesfilterHasGoods
No
DeliveryfilterHomeDelivery
No
TakeawayfilterTakeaway
No
Pay by cardfilterPaymentCard
No
Wi-FifilterWifi
No
New placesfilterCreatedRecently
No
Add contactsincludeContacts
Yes
Reviews per placemaxReviewsPerPlace
3
Review orderreviewSortBy
Most trusted
Which reviewsreviewRatings
All
Include reviews without a ratingincludeUnratedReviews
Yes
Include reviewer profileincludeReviewerData
No
Photos and videos per placemaxMediaPerPlace
2
Include photo authorsincludePhotoAuthors
No
Skip places from earlier runsenableGlobalDataset
No
.json
{
  "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
}

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. The advantage lasts forever.

No credit card. No setup calls.