Website Metadata & Open Graph Scraper: Meta Tags & Canonical (Apify Actor)

Her çalıştırmada 100 adede kadar herkese açık URL’den başlık, açıklama, canonical, robots, Open Graph, Twitter Card ve ham meta etiketleri dahil meta verileri çıkarın. SEO denetimleri, bağlantı önizlemeleri ve yayınlamadan önce içerik kontrolleri için kullanışlıdır. Giriş gerekmez. JSON veya CSV olarak dışa aktarın. Fiyat: 1.000 URL başına 1,80 $, ayrıca her çalıştırma başlangıcı için 0,001 $. Bir Apify Actor olarak çalışır; Apify MCP sunucusu üzerinden MCP istemcileri tarafından çağrılabilir (https://mcp.apify.com/?tools=cliqtomedia/website-metadata-open-graph-scraper).

Barındırılan MCP Sunucusu

npx add-mcp 'https://mcp.apify.com/?tools=cliqtomedia/website-metadata-open-graph-scraper'

Claude Code, Codex, Cursor ve daha fazlasına kurulur

Dokümantasyon

Website Metadata & Open Graph Scraper: Meta Tags & Canonical (cliqtomedia/website-metadata-open-graph-scraper) Actor

Extract title, description, canonical, robots, Open Graph, Twitter Card and raw meta tags from up to 100 public URLs.

Pricing

from $1.26 / 1,000 metadata 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/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 section below.

Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).

README

Read the title, meta description, canonical URL, robots tag, Open Graph tags and Twitter Card tags from public web pages. You give it a list of URLs and get one Dataset row for each URL.

Use it when you need page metadata for SEO checks or link previews without writing code. The smallest run is one public URL: the Actor makes a direct HTTP request and returns the metadata it finds in the server-returned HTML.

Website Metadata & Open Graph Scraper: URLs to metadata

Run it now: open the prefilled input form and read page metadata, no coding

Table of contents

What it does

The Actor fetches only the URLs you provide and reads metadata from the returned HTML. It follows a limited number of HTTP redirects, but it does not find or crawl other pages and it does not run JavaScript.

Each Dataset row can contain:

  • The HTML title and the meta description.
  • The canonical URL and the robots meta value.
  • All og:* Open Graph values and all twitter:* Twitter Card values.
  • Other named or property meta tags in metaTags, with relative URLs resolved.
  • The HTTP status, final URL, content type, timing, number of attempts and a result status.
  • A short error text when a URL is invalid, blocked, missing or failed.

If the same meta key appears more than once, all values are kept in source order. Missing metadata stays null or an empty object.

👉 Try it now: open the input form

Good fit

  • Checking titles, descriptions, canonical URLs and robots tags for a list of pages.
  • Collecting Open Graph and Twitter Card data to see how links will look when shared.
  • Keeping lossless copies of repeated meta values for later comparison.

How it works

  1. The Actor reads the public HTTP(S) URLs from your urls list. Exact duplicates share one network fetch.
  2. It requests each page directly, checks every redirect target, and reads the title, canonical link and meta tags from the HTML.
  3. It saves one Dataset row for each input item, in input order, plus an OUTPUT record and a RUN_SUMMARY record with counters. The run status line tells you how many pages were done.

👉 Try it now: open the input form

Quick start

Input form fields: box 1 shows the prefilled list of two URLs, box 2 shows the request settings

  1. Open the Input tab. The urls list is prefilled with two public pages (box 1 in the picture).

  2. Replace them with your own public URLs, or keep them for a first test.

  3. Keep the default request settings (box 2) for a normal run.

  4. Click Start (the button below the form).

  5. Open the Dataset tab and check resultStatus, title and the metadata columns.

    Dataset table: one row for each URL with result, HTTP status, title and description

Expected result: one row for each input URL. A normal page has resultStatus set to complete and its title and metadata filled in.

👉 Try it now: open the input form

Use cases

Buyer jobInput pathOutput entityKey fieldsNext integration
Audit page metadataurls listOne row per URLtitle, description, canonical, robotsExport to CSV or a sheet
Build link-preview dataurls listSocial metadataopenGraph, twitter, finalUrlAPI or Make/Zapier flow
Keep repeated meta valuesurls listLossless arraysopenGraph, twitter, metaTagsCompare two runs outside the Actor

👉 Try it now: open the input form

Input

Input fields

FieldPlain nameTypeRequiredDefault / prefillAllowed valuesEffectExampleRecommendation
urlsURLsarray of stringsYesNo default. Prefill: https://example.com/, https://apify.com/1–100 HTTP(S) URLs, up to 2048 characters eachPages to fetch. Exact duplicates share one fetch but keep one row per input item.["https://example.com/"]Start with a short list, then add more.
maxConcurrencyConcurrent requestsintegerNoDefault 101–20How many URLs are fetched at the same time.10Lower it for slow or rate-limited sites.
requestTimeoutSecsRequest timeoutintegerNoDefault 203–60Maximum time for one HTTP attempt, in seconds.20Raise it only for known slow pages.
maxRetriesRetriesintegerNoDefault 10–3Retries for temporary network errors, HTTP 429 and HTTP 5xx answers.1Keep 1 for normal runs.

An empty urls list, more than 100 items, unknown fields and wrong types are rejected before any page is fetched. The run then ends as succeeded with a plain message and no result charge. The input {} is not valid: the prefill is a small demo, not a default.

A URL can make more than one request: a retry adds one attempt and each redirect adds one request (up to 5 redirects). The timeout applies to each attempt, so retries and redirects can make a URL slower. The platform run timeout can stop a very long list before every item is done.

Input examples

Two pages, low concurrency
{
  "urls": [
    "https://example.com/",
    "https://www.w3.org/"
  ],
  "maxConcurrency": 2,
  "requestTimeoutSecs": 20,
  "maxRetries": 1
}

Expected behavior: the Actor fetches the two pages and saves two rows. Expected output: url, resultStatus, title, canonical, openGraph. Limit note: up to 100 items in one run.

👉 Try it now: open the input form

Output

Output fields

FieldMeaningTypeCan be empty?ExampleSource / notes
urlInput URLstringNohttps://example.com/Credentials inside a rejected URL are redacted.
finalUrlURL after redirectsstring or nullYeshttps://example.com/Null when no connection was made.
okPage was readbooleanNotruetrue for complete or partial results.
statusHTTP status codeinteger or nullYes200Null when no answer arrived.
contentTypeContent-Type headerstring or nullYestext/htmlWhen the server sends it.
responseTimeMsFetch timeinteger or nullYes120Includes redirects and retries.
attemptsHTTP attemptsintegerNo1First try plus retries.
fetchedAtTime of the rowISO stringNo2026-10-05T12:00:00ZUTC.
titlePage titlestring or nullYesExample DomainFirst HTML <title>.
descriptionMeta descriptionstring or nullYesnullFirst description; repeats stay in metaTags.description.
canonicalCanonical URLstring or nullYeshttps://site.com/pageFirst canonical link, made absolute.
robotsRobots meta valuestring or nullYesindex,followRepeats stay in metaTags.robots.
openGraphOpen Graph tagsobjectYes{"image":["https://site.com/a.png","https://site.com/b.png"]}Repeated keys become arrays; URL values are made absolute.
twitterTwitter Card tagsobjectYes{"card":"summary"}Repeated keys become arrays.
metaTagsOther meta tagsobjectYes{"description":["First","Second"]}Repeated keys become arrays.
resultStatusResult of this URLstringNocompletecomplete, partial, not_found or error.
errorTypeError categorystring or nullYesnot_foundFor example invalid_url, blocked_address, not_found, content_too_large.
errorMessageError textstring or nullYesThe page was not found.Safe detail for this item.

Output entities and surfaces

SituationWhereResult shapeUser action
Normal pageDatasetRow with resultStatus completeExport or read the fields.
Page has no such tagsDatasetRow with null or empty objectsCheck the page source for the tag.
Partial resultDatasetRow with resultStatus partialMetadata found before the size limit is kept.
Bad URL or failureDataset and RUN_SUMMARYRow with error or not_found and errorTypeFix the URL or retry later.

The default key-value store also holds OUTPUT (the saved rows plus the final summary) and RUN_SUMMARY (counters: requested, processed, complete, partial, notFound, errors, retries, chargedResults, unprocessed, durationMs, status, chargeLimitReached and stopReason).

Output example

One row from https://example.com/, trimmed to the main fields:

{
  "url": "https://example.com/",
  "finalUrl": "https://example.com/",
  "ok": true,
  "status": 200,
  "title": "Example Domain",
  "description": null,
  "canonical": null,
  "robots": null,
  "openGraph": {},
  "twitter": {},
  "metaTags": {
    "viewport": "width=device-width,initial-scale=1"
  },
  "resultStatus": "complete",
  "errorType": null,
  "errorMessage": null
}

The example is trimmed and shows one row. null and empty objects mean the page does not publish that tag in its server-returned HTML.

👉 Try it now: open the input form

Pricing

Pricing unit

The price is $0.001 per Actor start + a price per complete or partial metadata result. The result price depends on your Apify plan:

PlanPrice per result
Free$0.0018
Bronze$0.00162
Silver$0.00144
Gold and higher$0.00126

Rows with not_found or error are not charged as results. The start fee still applies and is charged per GB of run memory; this Actor uses 512 MB, which is one start event. Apify bills compute, storage and data transfer separately (user-paid platform usage). See Actors in Store for the billing model.

A valid run where every row is an error still costs the start fee plus platform usage. A partial row is charged because it holds usable metadata. A failed or aborted run can still include the start fee, results already saved and platform usage until the stop.

Cost examples

Event charges on the Free plan; other plans use the prices above.

ScenarioInput scopeResult eventsBase chargeMinimum allowed charge
Small1 page1$0.0028At least the start fee plus 1 result.
Normal10 pages10$0.019At least the start fee plus 10 results.
Large100 pages100$0.181At least the start fee plus 100 results.

On the Gold plan the same 100 pages cost $0.127 in event charges. If your maximum charge per run is lower than the start fee plus the number of URLs in the list times the result price, the run refuses to start: it ends with an input error that names the minimum to allow, and it fetches nothing. For 1,000 pages use ten runs of at most 100 URLs.

👉 Try it now: open the input form

Limits

  • Public HTTP(S) pages only. Local, private, link-local and reserved network addresses are blocked.
  • No crawling, sitemap discovery, browser rendering or JavaScript. Metadata added by scripts is not seen.
  • HTML is read as UTF-8. Pages in other encodings can show wrong characters.
  • HTML is capped at 2 MiB per page. A larger page returns partial with the metadata found before the cap.
  • Up to 5 redirects. Every redirect target is checked again before connecting.
  • Up to 100 URLs in one run. The 100-item test used repeated public URLs, so it proves volume, not 100 different sites at once.
  • JSON-LD, favicons, robots.txt files and SEO scores are not part of this Actor. robots means the HTML robots meta tag.
  • Some sites block direct requests or show different metadata to browsers. The Actor reports what it received and does not invent values.

👉 Try it now: open the input form

API, export and integrations

  • API: start a run with the same JSON input through the Run Actor API, then read the Dataset and the key-value store of the run.
  • Export: download the Dataset as JSON, CSV, Excel, XML or HTML with the Dataset export tools.
  • Scheduling: run the same list on a schedule with Apify Schedules. Each run is a fresh snapshot; the Actor does not compare runs. Compare fields such as title, canonical or openGraph outside the Actor.
  • Records: OUTPUT and RUN_SUMMARY in the default key-value store hold the whole run and its counters.

Use with AI agents (MCP)

  • MCP server URL with only this Actor: https://mcp.apify.com?tools=cliqtomedia/website-metadata-open-graph-scraper.
  • Smallest useful input: {"urls": ["https://example.com/", "https://apify.com/"]}.
  • Key output fields: title (page title), description (meta description), canonical (canonical URL), openGraph (Open Graph tags), resultStatus (complete, partial, not_found or error).
  • Typical run: a short list finishes in a few seconds. Cost is the start fee plus the result price for each complete or partial row. Keep to 100 URLs per run and public pages only.

👉 Try it now: open the input form

Troubleshooting

Rows have resultStatus set to error

Symptom: the row has ok: false and an errorType. Likely reason: invalid_url means the URL format is not supported; blocked_address means the address is not public. Check: open the URL in a browser and read errorMessage. Action: fix the URL. Temporary network errors, HTTP 429 and HTTP 5xx answers are already retried up to maxRetries.

Rows have resultStatus set to partial

Symptom: the title is present but some tags are missing. Likely reason: the page is larger than 2 MiB (content_too_large), so reading stopped early. Check: compare the page source with the row. Action: use the metadata that was found, or check the tags on the full page yourself.

No Open Graph or Twitter fields

Symptom: openGraph or twitter is empty. Likely reason: the page does not publish these tags in server-returned HTML. Tags added by JavaScript are not read. Check: view the page source (not the inspector) in your browser. Action: if the tags are not in the source, this Actor cannot see them.

The run ends with an input message

Symptom: the run is succeeded but has no rows and the status line starts with "Input error". Likely reason: the urls list is empty or longer than 100, a field is unknown, or your maximum charge per run is too low. Check: read the status line and the RUN_SUMMARY record. Action: fix the input and start again.

👉 Try it now: open the input form

FAQ

Does it crawl the website?

No. It fetches only the URLs in urls and follows a limited number of redirects.

Does it render JavaScript?

No. It reads the HTML the server returns to a direct request.

Are repeated meta tags kept?

Yes. When a key appears more than once, openGraph, twitter and metaTags keep all values as an array in source order.

Why can a field be null?

The page may not publish that tag, or the size limit may have stopped reading. Check resultStatus and errorType before using empty fields.

Does every URL work?

No. The page must be public and answer a direct request. Sites can block requests, redirect or need a browser to show their metadata.

What does a run with no useful results cost?

The start fee and platform usage. No result event is charged when every row is not_found or error.

👉 Try it now: open the input form

Related Actors

👉 Try it now: open the input form

Support

For a bug, question or feature request, open the Actor's Issues tab in Apify. Include the run ID, one non-sensitive example URL, resultStatus and errorType. Never send tokens, cookies, private URLs or account data.

⭐ Found it useful? Rate this Actor. Something wrong? Report a problem — we fix reported problems.

Run it now: open the prefilled input form and read page metadata, no coding

Changelog

This Actor's version history is a separate document: https://apify.com/cliqtomedia/website-metadata-open-graph-scraper/changelog.md

Actor input Schema

urls (type: array):

Add 1–100 public HTTP(S) page URLs. Exact duplicates share one network fetch but still return one row per input item.

maxConcurrency (type: integer):

Maximum number of URLs fetched at the same time.

requestTimeoutSecs (type: integer):

Maximum time for one HTTP attempt, in seconds.

maxRetries (type: integer):

Retries for temporary network errors, HTTP 429 and HTTP 5xx responses.

Actor input object example

{
  "urls": [
    "https://example.com/",
    "https://apify.com/"
  ],
  "maxConcurrency": 10,
  "requestTimeoutSecs": 20,
  "maxRetries": 1
}

Actor output Schema

dataset (type: string):

No description

output (type: string):

No description

runSummary (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

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://example.com/",
        "https://apify.com/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cliqtomedia/website-metadata-open-graph-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

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://example.com/",
        "https://apify.com/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("cliqtomedia/website-metadata-open-graph-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

echo '{
  "urls": [
    "https://example.com/",
    "https://apify.com/"
  ]
}' |
apify call cliqtomedia/website-metadata-open-graph-scraper --silent --output-dataset

MCP server setup

{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cliqtomedia/website-metadata-open-graph-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/DS2vhlbqL1S4edqLB/builds/T6mh2hpIAtWd1F2h5/openapi.json