# Web Metadata Extractor — Open Graph, Title & Favicon (`ntriqpro/metascraper-actor`) Actor

Extract structured metadata from any web page URL — title, description, author, publisher, date, image, language, plus Open Graph and Twitter Card tags. Powered by the open-source Metascraper library (MIT). Hundreds of URLs per run, clean JSON/CSV — for link previews and RAG ingestion.

- **URL**: https://apify.com/ntriqpro/metascraper-actor.md
- **Developed by:** [Daniel Carter](https://apify.com/ntriqpro) (community)
- **Categories:** Developer tools, Automation, SEO tools
- **Features:** Limited permissions
- **Stats:** 31 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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

### What does Metascraper Actor do?

**Metascraper Actor** extracts structured metadata from any web page — title, description, author, publisher, date, image, logo, and language — in a single API call. It is powered by the open-source [metascraper](https://github.com/microlinkhq/metascraper) library (MIT license).

Provide a list of URLs and receive clean, structured JSON. No browser required — fast HTTP-based extraction works for most public pages.

#### Free plan vs paid plan

Apify does not pay creators for runs on its free plan, so a free run is a preview:

| | Free plan | Paid plan |
|---|---|---|
| URLs looked up per run | The **first 3** you enter | Up to **100** (`maxItems`) |
| Fields per row | All nine — the same as paid | All nine |
| What you are told | A closing `free-plan-preview` row and status message: how many URLs were looked up and how many in your input were **not fetched** | — |

Paid plans also pay less per result: Bronze $0.0008, Silver $0.0006, Gold $0.0005, Platinum $0.0003, Diamond $0.0002 (list price $0.001). Current prices are on the Pricing tab.

### What you get

| Field | Description |
|---|---|
| `url` | Final URL after redirects |
| `pageTitle` | Page title |
| `pageDescription` | Meta description |
| `author` | Content author |
| `publisher` | Site publisher / brand name |
| `publishedDate` | Publish or modified date |
| `imageUrl` | Featured / Open Graph image |
| `logoUrl` | Site logo |
| `lang` | Page language code |
| `error` | Error message if fetch failed (only present on failure) |

Bulk input, one record per URL, no browser overhead, and results downloadable as JSON, CSV, Excel, or HTML from an Apify Dataset.

### Sample result

Each processed URL produces one JSON record in the dataset.

```json
{
    "url": "https://www.apify.com/",
    "pageTitle": "Apify: Full-Stack Web Scraping and Data Extraction Platform",
    "pageDescription": "Extract structured data from any website at scale.",
    "author": null,
    "publisher": "Apify",
    "publishedDate": null,
    "imageUrl": "https://apify.com/og-image.png",
    "logoUrl": "https://apify.com/favicon.ico",
    "lang": "en"
}
```

| url | pageTitle | publisher | imageUrl | lang |
|---|---|---|---|---|
| https://www.apify.com/ | Apify: Full-Stack Web Scraping and Data Extraction Platform | Apify | https://apify.com/og-image.png | en |

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Why use Metascraper Actor?

- **Content research**: harvest article titles, authors, publish dates, and featured images at scale.
- **SEO auditing**: check Open Graph / Twitter Card metadata across pages.
- **Feed generation**: build structured feeds from arbitrary web pages without RSS.
- **Data enrichment**: enrich link lists with titles, descriptions, and thumbnails.
- **Scheduling**: run on a schedule via Apify Console to monitor metadata changes.

### How to use Metascraper Actor

1. Open the Actor in [Apify Console](https://console.apify.com).
2. In the **Input** tab, enter one or more URLs under **URLs to scrape**.
3. Optionally set **Max items** to limit processing.
4. Click **Start** and wait a few seconds.
5. View results in the **Output** tab or download from the **Dataset** tab.

### Input

| Field | Type | Description |
|---|---|---|
| `urls` | string\[] | List of web page URLs to process (required) |
| `maxItems` | integer | Max URLs to process (0 = no limit, default 10) |
| `proxyConfiguration` | object | Optional Apify proxy settings |

Example input:

```json
{
    "urls": [
        "https://www.apify.com/",
        "https://crawlee.dev/"
    ],
    "maxItems": 5
}
```

Invalid input ends the run as SUCCEEDED with a notice row.

### Pricing / Cost estimation

**Run start fee — from 10 September 2026:** $0.010 is charged once per run, when the run starts — including a run started with no URL, which ends SUCCEEDED with an `invalid-input` notice row and costs only this fee. Existing per-result prices are unchanged.

This Actor uses the **Pay-per-event** model: **$0.001 per result**, and each URL processed produces one result.

| What you run (paid plan, list price) | Cost |
|---|---|
| 10 URLs | **$0.02** ($0.01 start + 10 × $0.001) |
| 100 URLs (one run) | **$0.11** |
| 1,000 URLs (ten runs of 100) | **$1.10** |

A URL that answers — including a site that refuses us with 403, 429 or 500 — is one `result`. A URL where nothing answered at all (DNS failure, timeout) still gets a row with an `error` field and is **not** charged.

**Free plan:** each run looks up the first 3 URLs you enter and ends with a `free-plan-preview` notice row (never charged) that says how many URLs of your input were not fetched. It is a plan limit, not an error: the run finishes SUCCEEDED.

**Maximum charge:** before each URL the Actor checks that one more result fits inside the run's maximum charge. When it does not, the run stops there, keeps every row already delivered and ends SUCCEEDED with a status message saying so.

### Tips

- For pages behind paywalls or heavy JS rendering, consider pairing with a browser-based Actor.
- Use `maxItems` during testing to avoid unnecessary costs.
- Schedule the Actor via Apify Console to track metadata changes over time.

### FAQ, Disclaimers, and Support

**Is it legal?** This Actor fetches publicly accessible web pages using standard HTTP requests, the same way a browser does. It is your responsibility to comply with each website's Terms of Service, robots.txt, and applicable laws (GDPR, CCPA, etc.). The Actor does not bypass authentication or access non-public data.

**Known limitations:** Pages requiring JavaScript execution or login are not supported. For JS-heavy sites, the metadata extraction may be incomplete.

**Issues or feature requests?** Use the **Issues** tab on the Actor page.

***

> **Legal Disclaimer:** This Actor is an unofficial integration of metascraper. Not affiliated with original project.

***

### 🔗 Related Actors by ntriqpro

Build your data pipeline with the ntriqpro Actor suite:

- [**pdf-to-markdown**](https://apify.com/ntriqpro/pdf-to-markdown) — Office to Markdown — RAG-Ready Document Extractor
- [**website-tech-detector**](https://apify.com/ntriqpro/website-tech-detector) — Website Tech Stack Scanner
- [**maigret-actor**](https://apify.com/ntriqpro/maigret-actor) — Maigret OSINT Username Search (5.0★)

### ⭐ Love it? Leave a Review

Your rating helps professionals discover this actor. [Rate it here](https://apify.com/ntriqpro/metascraper-actor/reviews).

# Actor input Schema

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

List of web page URLs to extract metadata from. Free Apify plan: the first 3 URLs are looked up and a closing free-plan-preview row counts the URLs not fetched. Paid plans: up to 100 URLs a run. Billing: one result event per URL that answered; unreachable URLs are not charged.

## `maxItems` (type: `integer`):

Maximum number of URLs to process. Set to 0 for no limit. Free Apify plan: the first 3 URLs are looked up and a closing free-plan-preview row counts the URLs not fetched. Paid plans: up to 100 URLs a run. Billing: one result event per URL that answered; unreachable URLs are not charged.

## `proxyConfiguration` (type: `object`):

Optional proxy settings to avoid blocks during scraping.

## Actor input object example

```json
{
  "urls": [
    "https://www.apify.com/",
    "https://crawlee.dev/",
    "https://github.com/microlinkhq/metascraper"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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": [
        "https://www.apify.com/",
        "https://crawlee.dev/",
        "https://github.com/microlinkhq/metascraper"
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ntriqpro/metascraper-actor").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": [
        "https://www.apify.com/",
        "https://crawlee.dev/",
        "https://github.com/microlinkhq/metascraper",
    ],
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("ntriqpro/metascraper-actor").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": [
    "https://www.apify.com/",
    "https://crawlee.dev/",
    "https://github.com/microlinkhq/metascraper"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call ntriqpro/metascraper-actor --silent --output-dataset

```

## MCP server setup

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

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/AEPd8Tgs4qO7gNuLE/builds/01e3aDP7MUQnq5yVc/openapi.json
