# Meta Tags Scraper (`rl1987/meta-tags-scraper`) Actor

Web page metadata scraper.

- **URL**: https://apify.com/rl1987/meta-tags-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:** SEO tools, Developer tools, Social media
- **Features:** Limited permissions
- **Stats:** 22 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

### Meta Tags Scraper

HTML pages may contain `<meta>` tags with metadata related to search engine
indexing, page snippets and third party software integration. This metadata
hidden within web pages is relevant for content performance within search
engines and enhances link presentability on social media.

## Input

Multiple input URLs are supported.

```json
{
  "urls": [
    {"url": "https://stackoverflow.com/questions/5015483/test-if-an-attribute-is-present-in-a-tag-in-beautifulsoup"},
    {"url": "https://developers.google.com/search/docs/crawling-indexing/special-tags"}
  ]
}
```

## Output

```json
[{
  "url": "https://stackoverflow.com/questions/5015483/test-if-an-attribute-is-present-in-a-tag-in-beautifulsoup",
  "meta_name": "viewport",
  "content": "width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0"
},
{
  "url": "https://stackoverflow.com/questions/5015483/test-if-an-attribute-is-present-in-a-tag-in-beautifulsoup",
  "meta_name": "twitter:card",
  "content": "summary"
},
{
  "url": "https://stackoverflow.com/questions/5015483/test-if-an-attribute-is-present-in-a-tag-in-beautifulsoup",
  "meta_name": "twitter:domain",
  "content": "stackoverflow.com"
},
{
  "url": "https://stackoverflow.com/questions/5015483/test-if-an-attribute-is-present-in-a-tag-in-beautifulsoup",
  "meta_name": "twitter:title",
  "content": "Test if an attribute is present in a tag in BeautifulSoup"
},
{
  "url": "https://stackoverflow.com/questions/5015483/test-if-an-attribute-is-present-in-a-tag-in-beautifulsoup",
  "meta_name": "twitter:description",
  "content": "I would like to get all the &lt;script&gt; tags in a document and then process each one based on the presence (or absence) of certain attributes.\n\nE.g., for each &lt;script&gt; tag, if the attribut..."
},
{
  "url": "https://developers.google.com/search/docs/crawling-indexing/special-tags",
  "meta_name": "google-signin-client-id",
  "content": "721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"
},
{
  "url": "https://developers.google.com/search/docs/crawling-indexing/special-tags",
  "meta_name": "google-signin-scope",
  "content": "profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award"
},
{
  "url": "https://developers.google.com/search/docs/crawling-indexing/special-tags",
  "meta_name": "theme-color",
  "content": "#fff"
},
{
  "url": "https://developers.google.com/search/docs/crawling-indexing/special-tags",
  "meta_name": "X-UA-Compatible",
  "content": "IE=Edge"
},
{
  "url": "https://developers.google.com/search/docs/crawling-indexing/special-tags",
  "meta_name": "viewport",
  "content": "width=device-width, initial-scale=1"
},
{
  "url": "https://developers.google.com/search/docs/crawling-indexing/special-tags",
  "meta_name": "description",
  "content": "Google supports both page-level meta tags and tag attributes. Explore a list of the special tags that Google Search can support."
},
{
  "url": "https://developers.google.com/search/docs/crawling-indexing/special-tags",
  "meta_name": "twitter:card",
  "content": "summary_large_image"
},
{
  "url": "https://developers.google.com/search/docs/crawling-indexing/special-tags",
  "meta_name": "apple-itunes-app",
  "content": "app-id=1512522198"
}]
```

## n8n integration

Use the [`n8n-nodes-meta-tags-scraper`](https://www.npmjs.com/package/n8n-nodes-meta-tags-scraper) community node ([source](https://github.com/rl1987/n8n-nodes-meta-tags-scraper)) to run this Actor directly from an n8n workflow.

## See Also

- [`meta` tags and attributes that Google supports](https://developers.google.com/search/docs/crawling-indexing/special-tags) - Google developer portal
- [`<meta>`: The metadata element](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta) - Mozilla developer portal
- [The Open Graph Protocol](https://ogp.me/)

### Cyber recon toolkit

Part of the **Cyber recon toolkit** — OSINT, attack-surface recon, and vulnerability-intel data collection for security research:

- [Bugcrowd Scraper](https://apify.com/rl1987/bugcrowd-scraper) — Scrapes public Bugcrowd data: disclosed submissions, program directory, leaderboard.
- [HackerOne Scraper](https://apify.com/rl1987/hackerone-scraper) — Scrapes public HackerOne data: Hacktivity disclosed reports, program directory, researcher leaderboard.
- [Intigriti Scraper](https://apify.com/rl1987/intigriti-scraper) — Scrapes public Intigriti data: bug bounty/VDP program directory, researcher leaderboard and profiles.
- [CVE Scraper](https://apify.com/rl1987/cve-scraper) — CVE.org vulnerability info scraper.
- [TLSX - TLS Data Gathering and Analysis](https://apify.com/rl1987/pd-tlsx) — Fast, configurable TLS grabber for TLS-based data collection and analysis.
- [BGP.HE.NET Recon Scraper](https://apify.com/rl1987/bgphenet-scraper) — Scrapes ASN, prefix, IP, and DNS recon data from bgp.he.net.
- [gau - Get All URLs](https://apify.com/rl1987/gau-wrapper) — Fetch known URLs from Wayback Machine, Common Crawl, AlienVault OTX, and URLScan.
- [Git Email Extractor](https://apify.com/rl1987/git-email-extractor) — Shallow-clones git repos and extracts contributor emails from commit history.
- [Wappalyzer Technology Lookup](https://apify.com/rl1987/wappalyzer-tech-lookup) — Detect the technology stack behind any website using Wappalyzer.
- [Universal Contact Extractor](https://apify.com/rl1987/universal-contact-extractor) — Extract phone numbers, emails and social media URLs from web pages.
- [Web Text Extractor](https://apify.com/rl1987/web-text-extractor) — Extract clean text or Markdown content from web pages.

## Did you find this useful?

⭐ Rate this actor on Apify! Your feedback helps other users find it and helps us keep improving it.

# Actor input Schema

## `urls` (type: `array`):

The list of web page URLs

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.apify.com/"
    }
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        {
            "url": "https://www.apify.com/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/meta-tags-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": [{ "url": "https://www.apify.com/" }] }

# Run the Actor and wait for it to finish
run = client.actor("rl1987/meta-tags-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    {
      "url": "https://www.apify.com/"
    }
  ]
}' |
apify call rl1987/meta-tags-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/meta-tags-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Xoyb1E3oJQI8OsoYg/builds/1g6ClDQFohpLpiTWc/openapi.json
