2gis Scraper
Spider read 2gis.com in 1.6 s without a browser and returned 21 lines of clean markdown, including sections like "How to find abuilding, acompany oraplace" and "In2GIS you can find".
How to find a building, a company or a place — 2GIS Helper# How to find abuilding, acompany oraplaceIfyou use 2GIS online version orthe mobile app, tosearch for companies, places and addresses, itissufficient tospecify the desired query inthe search box and click “Search”.### In2GIS you can find:* companies— byname, area ofactivity, website address orphone number, the name ofaproduct orservice, using the address ofthe location* buildings and other places— byaddresses (Marasi Drive Street5), names (Local History Museum, Monument oflove), ortypes ofplaces (playgrounds, parks, toilets)* public transport routes— byroute number orusing the name ofthe stop.Iffor your search query there are matches intwo orthree kinds ofobjects (companies, places, and public transport), 2GIS will open atab with the type inwhich the match with the query will bethe most exact one, and will offer toswitch tothe others.### 2GIS Search can:* understand queries with typos and wrong keyboard layout* find companies onaparticular street, for example, “hotel business bay”* toprocess complex queries, such as“Italian restaurant onjumeirah wifi”* find companies and places with names that have hyphens, apostrophes, and ampersands when inthe search query these symbols are not used, for example, 2GIS will find you the H&M store by“hm” query.How to quickly find a cafe or ATMHow toclear themap ofthecity from thesearch resultsHow to find a building or a company in the Desktop versionHow tofind acompany inside alarge buildingIt was helpfulIt was useless The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on 2gis.com.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://2gis.com");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { Spider } from "@spider-cloud/spider-client";
const spider = new Spider({ apiKey: process.env.SPIDER_API_KEY! });
const result = await spider.scrapeUrl("https://www.2gis.com", {
return_format: "markdown",
});
console.log(result); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What 2gis.com costs to scrape.
The capture above cost $0.000225 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More Directories scrapers.
Spotify Main Page Scraper
Extract structured data from Spotify Main Page with automated CSS selectors.
Roblox Landing Page Scraper
Roblox landing page metadata and cookie banner information.
Mozilla Homepage Data Scraper
A scraper for extracting all useful data from the Mozilla homepage, including site metadata, navigation, and content.
Start scraping 2gis.com.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.