# Social Media Profiles of Local Businesses

**Use case:** 

Find the social media accounts of local businesses: Facebook, Instagram, YouTube, TikTok, X and LinkedIn links taken from each business's own website, alongside its emails, phone, address and rating. This example checks 50 restaurants in London that have a website.

## Input

```json
{
  "searchStringsArray": [
    "restaurant"
  ],
  "locationQuery": "London, UK",
  "maxCrawledPlacesPerSearch": 50,
  "maxCrawledPlaces": 50,
  "language": "en",
  "scrapeContacts": true,
  "scrapeSocialMediaProfiles": {
    "facebooks": true,
    "instagrams": true,
    "youtubes": true,
    "tiktoks": true,
    "twitters": true,
    "linkedins": true
  },
  "scrapePlaceDetailPage": false,
  "maxReviews": 0,
  "reviewsSort": "newest",
  "maxImages": 0,
  "placeMinimumStars": "",
  "skipClosedPlaces": true,
  "website": "withWebsite",
  "geo_split": false,
  "geo_split_max_cells": 100,
  "max_requests_per_minute": 400,
  "detail_retries": 3,
  "max_concurrency": 10,
  "request_delay": 0,
  "cache_provider": "memory",
  "cache_ttl_seconds": 86400
}
```

## Output

```json
{
  "place_id": {
    "label": "Place ID",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "emails": {
    "label": "Emails",
    "format": "array"
  },
  "email_type": {
    "label": "Email type"
  },
  "has_contact_form": {
    "label": "Has contact form"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "review_count": {
    "label": "Reviews",
    "format": "number"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "place_type": {
    "label": "Place type",
    "format": "text"
  },
  "business_status": {
    "label": "Business status",
    "format": "text"
  },
  "data_groups": {
    "label": "Detail groups",
    "format": "array"
  },
  "hours": {
    "label": "Hours"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "google_maps_url": {
    "label": "Maps URL",
    "format": "link"
  },
  "social_links": {
    "label": "Social links"
  },
  "reviews": {
    "label": "Reviews"
  },
  "images": {
    "label": "Images"
  },
  "neighborhood": {
    "label": "Neighborhood"
  },
  "timezone": {
    "label": "Timezone"
  },
  "country_code": {
    "label": "Country code"
  },
  "business_photo": {
    "label": "Business photo"
  },
  "open_status": {
    "label": "Open status"
  },
  "price_level": {
    "label": "Price level"
  },
  "popular_times": {
    "label": "Popular times"
  },
  "scraped_at": {
    "label": "Scraped at"
  },
  "_meta.status": {
    "label": "Outcome",
    "format": "text"
  },
  "_meta.message": {
    "label": "Outcome message",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Maps Business & Contact Scraper](https://apify.com/herus13/google-maps-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/herus13/google-maps-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/herus13/google-maps-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
