# 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
- **Stats:** 22 total users, 0 monthly users, 94.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.10 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# 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
