# Get a local business name, address and phone from its page

**Use case:** 

Pull a business’s contact details from its web page: name, postal address, phone number, coordinates and business type, read from the page’s structured data, plus any map links on the page. Run it on one location page or a list of them and export as JSON, CSV or Excel.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.apple.com/retail/williamsburg/"
    }
  ],
  "followLinks": false,
  "maxDepth": 0,
  "maxRequestsPerCrawl": 100,
  "maxConcurrency": 10,
  "extractMetaTags": true,
  "extractSeoAnalysis": false,
  "extractGeoData": true,
  "computeSeoScore": true,
  "extractRdfa": false,
  "extractHCard": false,
  "proxy": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "link"
  },
  "nap.name": {
    "label": "Name",
    "format": "text"
  },
  "nap.address": {
    "label": "Address",
    "format": "object"
  },
  "nap.phone": {
    "label": "Phone",
    "format": "text"
  },
  "localBusiness.type": {
    "label": "Business type",
    "format": "text"
  },
  "localBusiness.geo": {
    "label": "Coordinates",
    "format": "object"
  },
  "localBusiness.openingHours": {
    "label": "Opening hours",
    "format": "array"
  },
  "localBusiness.priceRange": {
    "label": "Price range",
    "format": "text"
  },
  "geoTags": {
    "label": "Geo Tags",
    "format": "object"
  },
  "mapReferences": {
    "label": "Map References",
    "format": "object"
  },
  "hCards": {
    "label": "hCards",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Schema Markup Scraper & SEO Auditor Actor is ready to run with the inputs already set for "Get a local business name, address and phone from its page". [Sign up or log in](https://console.apify.com/create-task-from-example/6yxRNQvziaUgqbugh) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get a local business name, address and phone from its page" task

The Schema Markup Scraper & SEO Auditor Actor will start running based on the input automatically. You can also change all the input fields, like start urls, follow links, and more, to match your specific use case.

### 3. Receive the "Get a local business name, address and phone from its page" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, name, address, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get a local business name, address and phone from its page" task via API](https://apify.com/autofacts/metadata-scraper.md).

## FAQ

### Where does the data come from?

From what the page itself publishes: its schema.org markup and contact details. If a page does not publish a phone number or address, that field comes back empty.

### Can it search for businesses in a city?

No. It reads only the pages you give it. To find business listings, use a directory or maps scraper first, then pass the page URLs here.

### Can I check many pages at once?

Yes. Add more URLs to the list, or turn on link following to crawl a section of a site. Set a page limit to cap cost. Export the results as JSON, CSV or Excel.

### Does it work on pages built with JavaScript?

It reads the HTML the server sends, so content added only by JavaScript is not seen. Some sites also block automated requests, and those pages can fail.

### How much does it cost?

You pay per URL checked: $0.005 on the Free plan, $0.004 on Starter and less on larger plans. URLs that fail to load are not charged. Apify’s free monthly credit covers about 1,000 URLs.

## About this Actor

This example demonstrates how to use [Schema Markup Scraper & SEO Auditor](https://apify.com/autofacts/metadata-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/autofacts/metadata-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/autofacts/metadata-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`).
